Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2084865pxb; Mon, 8 Mar 2021 13:49:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWftram/+dhaXj+Hz4oBjO5vZwkiMxiFZxTfmN1W1nJQeEnLA1PX3L8QYS0ma1QH45omlC X-Received: by 2002:a17:907:1b12:: with SMTP id mp18mr17332736ejc.128.1615240171451; Mon, 08 Mar 2021 13:49:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615240171; cv=none; d=google.com; s=arc-20160816; b=qeyxp5NR8b8kroZ2mcHUSjwczBx39msCsxLI9F+HD966wnXl0lgl+fEmGyINbY366H R8VuybEpvdiMDRI2cKS83GOTT1O+EPR6TV2+HthtBCOGIQ+jNDH4ZwWqF7rma5D80OyD tvn+6JPgv/UEYBlmq+Wq7R7O058al41z+Yu3qQwJ/hvuVnvPLGMvMH6xABM5OcBLXNrC qO7vdchdsxMmQ/R5CX8G7H0GRyQxCxDxlXw4cfpKYrTPMpPwq427ROZjB8vjsO/U/ZQv DzMX8/aFlwSREs98SlUiQNe6mg5bs3TIlybBRnbBQdiok8Gw78hh5i7roRDz0/jEcOxl Kpbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=98cBjcjhuYHRPD7k85MY8DSxP3E150dqHIpXKr7a8vo=; b=xZT1tEa1jiVtKmZ5ZlWxFX7hyZdfEUnQM+4cGteDpFZxx0POjDhOj79MF7afIeW1hx xbeTe3LkWkSzODV6yiHRtUs8oQqCox2+EcOVVWwrFDn/gxyvGLqsAi+M8aIqZolyq0za 5mAtnzags6U4K0q7iIbyZiafHNVjHP/DgyQbn5XGhnovuok5iNaxMTtTEgBycxnlXhe/ 7ghn+0rwpYtwwX1Cx1CdBKsPUgEKRKMwk031+AnMw3vgD7WHAA16Az1YjInx+w4WKkck 6d4XWlo4xBkMlq2zYy94P8c0lQwrq8QAFfn2sHtbHWJvMQBqiPnMK9Zv7JytLwiwKw1E jpFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HTNVHer2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bx8si8403522edb.517.2021.03.08.13.49.09; Mon, 08 Mar 2021 13:49:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HTNVHer2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229821AbhCHVqG (ORCPT + 99 others); Mon, 8 Mar 2021 16:46:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbhCHVpo (ORCPT ); Mon, 8 Mar 2021 16:45:44 -0500 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDB14C06174A for ; Mon, 8 Mar 2021 13:45:44 -0800 (PST) Received: by mail-oo1-xc2b.google.com with SMTP id l5so2549810ooj.7 for ; Mon, 08 Mar 2021 13:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=98cBjcjhuYHRPD7k85MY8DSxP3E150dqHIpXKr7a8vo=; b=HTNVHer2R1dsIR8ja17XwqWKWkEQRomuKKAFZBtej5KqVJPPaJjh28B5dI+v3ASXR2 Aiv4Df+7C9OYzaNZHFfEV7OyVLMD/GCAKrX2XgeBkZR8XhdUlLMUBp1m+JAxlex/3Iqn oVw1bJsQ9Yz92eDMa0jL0yO5FGrSR+AKD8XtJ8dZs8q4lm0v+/hWFc0ppMpgXCSsvwaF Q7SjKCYgtt+P+wLA8P1GpH9pVEL8H9ghqHDUuZG23dE2RdsbT155L/w/tS2dS71I8N47 poEQCJUjZPp6EtDjiCw9e1lfpinSouLeV//1U6NZBIfOsY8SU3W9o0tZchFSv9wzX21M spDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=98cBjcjhuYHRPD7k85MY8DSxP3E150dqHIpXKr7a8vo=; b=TKesf2pE2HjUUz9Tyew+p7lDwavsgoFq3evkFnSqOwIxz+rh95BRIiUGQx1awnt8/C vyb0Xfbl/cCx2UCgtOyjF9XMfUuIfFPfUzPaEkyvRIrXVNvFPHPSkNwN4RIT+mRdAFXE gVwPW6XAkcyIq5LoQWaIHVNWGdwQlKb68oGhDvTpKragt20EXpbggEEMdW87UFhDkAZt jY5HUcmwUjZ9UBDJmmPmMUgx1m22lqM8/KoSkWp2d3+5emN1fQhNbpM7xibOhbqoATwm WKcndTxN2dOIfKz/LdxFL4o+DN5fPiE7dZs9oevXY+Znrrkn7UHK7JSWzHP5zAQaPQY3 NXqw== X-Gm-Message-State: AOAM5301B4zaXx1nBZ9QnFrVEl7SXh6EO344ChzrKtfDXUEaUdVZ2y7G z3rhCdbXRiUoFb2mhNkBQ4qjItCF1fonH9ar0S0= X-Received: by 2002:a4a:d155:: with SMTP id o21mr19817235oor.72.1615239944232; Mon, 08 Mar 2021 13:45:44 -0800 (PST) MIME-Version: 1.0 References: <20210306110525.216316-1-zhang.yunkai@zte.com.cn> In-Reply-To: <20210306110525.216316-1-zhang.yunkai@zte.com.cn> From: Alex Deucher Date: Mon, 8 Mar 2021 16:45:33 -0500 Message-ID: Subject: Re: [PATCH] drm/amd/display: remove duplicate include in dcn21 and gpio To: menglong8.dong@gmail.com Cc: "Leo (Sunpeng) Li" , isabel.zhang@amd.com, Sung Lee , Dmytro Laktyushkin , Dave Airlie , "Cheng, Tony" , "Siqueira, Rodrigo" , amd-gfx list , LKML , Zhang Yunkai , Aurabindo Pillai , Maling list - DRI developers , Wyatt Wood , "Deucher, Alexander" , Krunoslav Kovac , Christian Koenig , Anthony Koo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Sat, Mar 6, 2021 at 6:05 AM wrote: > > From: Zhang Yunkai > > 'dce110_resource.h' included in 'dcn21_resource.c' is duplicated. > 'hw_gpio.h' included in 'hw_factory_dce110.c' is duplicated. > > Signed-off-by: Zhang Yunkai > --- > drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 1 - > .../gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c | 4 ---- > 2 files changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c > index 072f8c880924..8a6a965751e8 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c > @@ -61,7 +61,6 @@ > #include "dcn21/dcn21_dccg.h" > #include "dcn21_hubbub.h" > #include "dcn10/dcn10_resource.h" > -#include "dce110/dce110_resource.h" > #include "dce/dce_panel_cntl.h" > > #include "dcn20/dcn20_dwb.h" > diff --git a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c > index 66e4841f41e4..ca335ea60412 100644 > --- a/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c > +++ b/drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c > @@ -48,10 +48,6 @@ > #define REGI(reg_name, block, id)\ > mm ## block ## id ## _ ## reg_name > > -#include "../hw_gpio.h" > -#include "../hw_ddc.h" > -#include "../hw_hpd.h" > - > #include "reg_helper.h" > #include "../hpd_regs.h" > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel