Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B89DBC6FD1D for ; Fri, 17 Mar 2023 20:43:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbjCQUnu (ORCPT ); Fri, 17 Mar 2023 16:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjCQUnr (ORCPT ); Fri, 17 Mar 2023 16:43:47 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7506CAF10 for ; Fri, 17 Mar 2023 13:43:46 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id w133so4735487oib.1 for ; Fri, 17 Mar 2023 13:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679085826; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=V+vnPzUKBbbp60sLbriuJoTVLeT2qpgVyidWWMBruqI=; b=MNWjsFR5l3Myb0V6T7z+EMsW6VY+/GDJusrh1CSBUfI1a/bXIpEP+PwEKuElPZoYNd F43hbSBTJ4rts6PmdSv8ShCcPhTU1y1uF/lYNG8h/nhh9a/Lm8bWBzLAICI8Jq0uRmDL fJGa22EKRlPmdqie0uytdmfdoFeIH395zTlEJ+H9baSuGsg+6mpUvsQpwtIsHyo5+cq4 MKYotVFJJ9nGPC+W5FDtbChzaKexp57r3OSx8VyYuO80fWJ/56pJH2yPo3vH1siPMPjW XmU6tu0VHGHUiEQAcNzAmyIArhcmtFlikvxbbxWgBn6wvLrKl+FDnHk9LcigjMYwXrA6 ZaHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679085826; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V+vnPzUKBbbp60sLbriuJoTVLeT2qpgVyidWWMBruqI=; b=lcl5so5oyJ3K2GeqJ7PM0EPlsQpZmc2y7eW6xzWzLnlvmeQU8XmPkUvotK+OZvAowR WqB4oD8VnKo+GvD+p7nmrhfJ7G8f0XTwbyzGwnH9yzugZbJHPFD2clIOjNXgNH6RvTGT q7E3QCRDcFo/+uyksUKCpwbKXl2n1r45YVnKDV/ce2W/oG3urYpsYlxyiTDqUjf/u8A9 EHMKnqWaFc/FFPO4xsDAX4uGRpxd+y4Kzqa+W1LJPwkWYnkbJm7PUqsYDGkNb0vKqIHo fGTxhhc3zXFEYFfSk3QcHD24iac0EEeOfcC0Y2Vq1dnpWHiaAPGCr3tpcoRholZlBieb owAw== X-Gm-Message-State: AO0yUKUH67RvGLz/+KSTpZMQCMyS9bscfXegv4CHaQqPmEZuqF8f2pHx 5V9K2yVRAH/vIhS1BBq4IDJOQWODEAaxgkRNF1w= X-Google-Smtp-Source: AK7set96NAWjRM0dhZTl6MtY0ZKvhPyLq1625CW71CwetE0UHMapHje95A11BQcCq9iqkqaWObban1sWl2S61Lm6D08= X-Received: by 2002:a05:6808:2d6:b0:386:e28c:7ee2 with SMTP id a22-20020a05680802d600b00386e28c7ee2mr277403oid.3.1679085825849; Fri, 17 Mar 2023 13:43:45 -0700 (PDT) MIME-Version: 1.0 References: <20230317081718.2650744-1-lee@kernel.org> <20230317081718.2650744-36-lee@kernel.org> In-Reply-To: <20230317081718.2650744-36-lee@kernel.org> From: Alex Deucher Date: Fri, 17 Mar 2023 16:43:34 -0400 Message-ID: Subject: Re: [PATCH 35/37] drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings To: Lee Jones Cc: dri-devel@lists.freedesktop.org, Leo Li , David Airlie , Mauro Rossi , "Pan, Xinhui" , Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Daniel Vetter , Alex Deucher , Harry Wentland , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Fri, Mar 17, 2023 at 4:23=E2=80=AFAM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:21: = note: in expansion of macro =E2=80=98mmCRTC1_DCFE_MEM_LIGHT_SLEEP_CNTL=E2= =80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:9: note= : in expansion of macro =E2=80=98SRI=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:17: = note: in expansion of macro =E2=80=98XFM_COMMON_REG_LIST_DCE60=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:188:17: = note: in expansion of macro =E2=80=98transform_regs=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:722:43: w= arning: initialized field overwritten [-Woverride-init] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:21: = note: in expansion of macro =E2=80=98mmCRTC2_DCFE_MEM_LIGHT_SLEEP_CNTL=E2= =80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:9: note= : in expansion of macro =E2=80=98SRI=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:17: = note: in expansion of macro =E2=80=98XFM_COMMON_REG_LIST_DCE60=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:189:17: = note: in expansion of macro =E2=80=98transform_regs=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:722:43: n= ote: (near initialization for =E2=80=98xfm_regs[2].DCFE_MEM_LIGHT_SLEEP_CN > > [100 lines snipped for brevity] > > Fixes: ceb3cf476a441 ("drm/amd/display/dc/dce60/Makefile: Ignore -Woverri= de-init warning") > Cc: Harry Wentland > Cc: Leo Li > Cc: Rodrigo Siqueira > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: "Pan, Xinhui" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Mauro Rossi > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones > --- > drivers/gpu/drm/amd/display/dc/dce60/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce60/Makefile b/drivers/gpu/= drm/amd/display/dc/dce60/Makefile > index dda596fa1cd76..fee331accc0e7 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce60/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dce60/Makefile > @@ -23,7 +23,7 @@ > # Makefile for the 'controller' sub-component of DAL. > # It provides the control and status of HW CRTC block. > > -CFLAGS_AMDDALPATH)/dc/dce60/dce60_resource.o =3D $(call cc-disable-warni= ng, override-init) > +CFLAGS_$(AMDDALPATH)/dc/dce60/dce60_resource.o =3D $(call cc-disable-war= ning, override-init) > > DCE60 =3D dce60_timing_generator.o dce60_hw_sequencer.o \ > dce60_resource.o > -- > 2.40.0.rc1.284.g88254d51c5-goog >