Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3367763ybb; Tue, 31 Mar 2020 03:56:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvG/H4+TqDvjEWTPMdR+GBuGfvxyw4zeKj8TEck4c1zlkGyJ77TPZjbK81szhrrG0U31lek X-Received: by 2002:a05:6830:4025:: with SMTP id i5mr13095224ots.203.1585652201578; Tue, 31 Mar 2020 03:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585652201; cv=none; d=google.com; s=arc-20160816; b=RLV3r9hUGvZLcUfbL0ANZMcOebiYlYXVU004p7wwQXoQhTFBE1guCDGixc3BVwrZXT gN2JQXoP7CafqmNRUzITUgBfG8FAJMizAqukDS78SJHxmEJdkECO4W2QG6c7qwpyloSz 3fzk/ea0rP/Cys3gF51SL0oFXVjRMq6utZ2J8+5WBcGnlErMCeRAU0p+ib7efEwI1Ec9 eTLdD16ppezmNLvc9mfKqJJoWzB0KeBFf5AHj6TDTJS750DPTJq7E6DAmQF6+9nKRs9R yk+Ck+3qb6Z0x9haAJKPWZA6+mcrta3kn4we9BUwolfqNWbiKlXCDkAYicq+X9L95dMN DBAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=lJ28otLGH/TA0UFRVyaAv3N2y3mbjSrHeAW7r1D9pqQ=; b=iINc5lGx+IVOdXUtd9seDuMujd7QpDjkSGHl+nHShdCDLiq6CRupv1Koi6iJfKU/JI wfhI9AoEO0TMlkFpFM2bFDsgTH0MhpBYWToyDjJD3ZYaETEntTeOJQ1Xfd0hVCIaWQib TuoEbDRLAbndyScTPV8DAzxexvvOjGvpwVjhLfDTD4MBmWG3a/ASoNvTwiEvjbnp5mks pTG1Txw4ZCv5V8jy4TXT7kclku787sxsKGJcpmihDio+wbCTX5sTZ5i0SVp1Sr6MhaMS h4sdKABSVsWIlwU2ON/CXlZYjDKx6GfrrDEI8059jsM6qTXc+MnPAqwfJgvmO0/4DjNf iGzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ox/XyHOD"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si6659621oib.260.2020.03.31.03.56.29; Tue, 31 Mar 2020 03:56:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ox/XyHOD"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730604AbgCaKzK (ORCPT + 99 others); Tue, 31 Mar 2020 06:55:10 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:45466 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730439AbgCaKzK (ORCPT ); Tue, 31 Mar 2020 06:55:10 -0400 Received: by mail-ed1-f67.google.com with SMTP id u59so24497925edc.12 for ; Tue, 31 Mar 2020 03:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=lJ28otLGH/TA0UFRVyaAv3N2y3mbjSrHeAW7r1D9pqQ=; b=Ox/XyHODyaHFq5RQDXZmKlVHeUdUPDwHjUDHi8esLUsIw0rB3+3zGmrRd+Qy3P5G3L jryZy/jSRFidXNn4mnsqe/vAHuyNCdEpxIsrC0arPlsPOipvVXXsX5RDcCtJP9yoMZwx NIHLfam1/tknlph34PC3oWR+QUw5YxQoeTFHV5tJDwwJ2zgcVbiCD8S5FZq86S7cFsy/ smiQMpxjVoXVxEJoGCcYQ/4w7zSTv8fSVhFQ8M0ae5gulBU8aHNOwbIzlJUKjZYJ0kMy zU5jVpZm3AStfZAYAzzJwOwgv4wBNuLbE5cyEpKvkgeWg7HyUeFLzZDz6Qzo+MRN7eo3 5SQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=lJ28otLGH/TA0UFRVyaAv3N2y3mbjSrHeAW7r1D9pqQ=; b=r/6/4V7hSI4AQGUd8h4op0Tesuq9TuecVl6EssCmnkzZ42x9IS8KQ/rt7ZJUoFGOyP e3npE8RP5jqM3DhQq0IXPi3ZyZGBbbvQXkmRvwSEGuCqz64E7g6HY8QCq8IqS0AO147o 3H8c30FQiPyOI9g28TcF+ZdYJbvLTrsWe16A6LNvplNw4HhckiXBxu5fXwfKxl8cfDoM 4xmEmrRow/ebQS3luZ/YKbIW/pHANRvr8pV0tckO0N0Zwh+P3/bSuzbd5QfWr4f92IMh rawewPDWSS2jlMrPiRPh5yzHwnMmBB6Zwk08kkEsIu0SjektEE1aE0U5fDIIEBQmvGD1 FiNg== X-Gm-Message-State: ANhLgQ2Y6/QMhovv1thSp+YPVaQksLdHIMYhyEbnWuxJCLLi7vCDGscW gmyrwgU23T0PV3wMm3G9P6T4Ax47/c+FYA== X-Received: by 2002:a50:ec08:: with SMTP id g8mr15100184edr.321.1585652108744; Tue, 31 Mar 2020 03:55:08 -0700 (PDT) Received: from smtp.gmail.com ([2001:818:e238:a000:51c6:2c09:a768:9c37]) by smtp.gmail.com with ESMTPSA id pj22sm2144956ejb.79.2020.03.31.03.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 03:55:08 -0700 (PDT) Date: Tue, 31 Mar 2020 07:55:00 -0300 From: Melissa Wen To: Harry Wentland , Leo Li , Alex Deucher , Christian Konig , David Zhou , David Airlie , Daniel Vetter , Rodrigo Siqueira , Rodrigo.Siqueira@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] drm/amd/display: more code cleanup in the dc_link file Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches address many code style issues on dc_link for readability and cleaning up warnings. Change suggested by checkpatch.pl. Some issues remain and need some minor code refactoring for proper handling. Melissa Wen (4): drm/amd/display: cleanup codestyle type BLOCK_COMMENT_STYLE on dc_link drm/amd/display: codestyle cleanup on dc_link file until detect_dp func drm/amd/display: code cleanup on dc_link from is_same_edid to get_ddc_line drm/amd/display: code cleanup of dc_link file on func dc_link_construct drivers/gpu/drm/amd/display/dc/core/dc_link.c | 358 +++++++++--------- 1 file changed, 176 insertions(+), 182 deletions(-) -- 2.25.1