Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp432076pxb; Thu, 14 Jan 2021 09:17:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtE33rb5FVLfM1sNlrUpkz2ue0YtVPVgBBaFouSaO0sOZ0ci3HMQ2ZoPxvF9sXhk/P1Nm8 X-Received: by 2002:a17:906:3a0d:: with SMTP id z13mr5786310eje.2.1610644626815; Thu, 14 Jan 2021 09:17:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610644626; cv=none; d=google.com; s=arc-20160816; b=VQxHiBtIyFDTSiblGsIJMkiQhEmp+G4yTnZdX8I4DY8rwJELB3Ex3vsvmdGr5F4F2N 0db9WCRhDB2RGJusbLmF+kEThzH1xJjCXDhTp7xYDIEgdH9LQcyttDC6sxq4vNN0XaC6 j5Fg/la2XXqtEVWyynRDXXOaAuFIsPVxgMc5mvF4VKUgXDsnlw4yjVz++klK2x3JU8tq zSUREjLTOrcj2ERZ+zeIAe40zzihSzI0wmkuD0Z8XQFeWid+/f1eWW2VnRi/yN+Ss7JK F6ekmT7RG0dJp4X+5QFMVlb1IsnzqzHXDOX0hhZj8LGHHCZP6khuZB1ESAgz7i5GSHjX Z9og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=guVHfTm9U1BbJ/83nhR/rlmHAnSxZweOGvB2OkpNdfs=; b=eCl/P6uLegaya3nQ1uA9/W0QYGk9jwTA+UfSTxeEEkaCMuhS7AQ2+ixxFTuIVvNxrU 175gMGQwbODfJRCFwb0zDzZg60oc+28l1gnw4dfSm91fBRU94C/hX94x3MpCWoH1gPcg 881hQ2tRwUJffR2iqPGh4WhMFxfYd3LUTwHLrZtscpUCKoRoM53ObS9P6mhBs6sUcD7D 0WXW74rcXO7SehLTmpSD2imE6Na8O1iDtwHIt5Sw85KZ7oTnuhJoxo/jvk+FUmBlDbXi n5GiaGKl8bo3+4Yv9VN4Cq06mKD4v0IZo0cLjde/rTWPjxkeWihHApNeHSmg7u8GGa89 wD/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Oxmghgyg; 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 c22si2366802ejd.523.2021.01.14.09.16.35; Thu, 14 Jan 2021 09:17:06 -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=Oxmghgyg; 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 S1728268AbhANRON (ORCPT + 99 others); Thu, 14 Jan 2021 12:14:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727963AbhANRON (ORCPT ); Thu, 14 Jan 2021 12:14:13 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8E15C061574 for ; Thu, 14 Jan 2021 09:13:32 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id c18so54889oto.3 for ; Thu, 14 Jan 2021 09:13:32 -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:content-transfer-encoding; bh=guVHfTm9U1BbJ/83nhR/rlmHAnSxZweOGvB2OkpNdfs=; b=OxmghgygzAMr8wxjWCJJEee0C8Jwm0T6+yMkuV1eCH1EkbAM0dIo0r4/gp8m/0k2xE 7Qa5+YM9PxFqnTQM7DukVnemh64JZIICF9Ax6eaPt1gtD76gF3Ib1H2use7+JiHExB/L u0AySb517onG/CnSK9WORZSNJO0Ubj0ShnFH82rMcfTRG26T18hlR4ugqEFUsOUDAluV qgt/cwK7NTIDDXkXy45zHj2sh292EkuBq9J00Oqne1ywZqtA1C7dbTKNkY6NsHH9Lhlb 8N9lPc/s3KAaHoUjmZcj/IxYIUO+Sp73gM5KhbzER49XbdREhaKccsSSvyxTfN9CDIFa M3sg== 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:content-transfer-encoding; bh=guVHfTm9U1BbJ/83nhR/rlmHAnSxZweOGvB2OkpNdfs=; b=OfGRs1ooxrJMifz4XJDKadNqnoagNke15kn8zYiybu5wwH680b/DC60t+LJcDAlmRH SzGvIDLQdhPX9WOtK4+rrWwLjBqP8c9nADYyRbt6pWrnkup291oratK8+U/nN/iJSU6w alG0xPRVz5ymUH7xw0ln3UGTI1EgdrmsoH7/pFZ6j0vsP08EwiG81CJUte7F5YrQ02Em kFAPwTzRTzEtSIwc/eloc/govgiw+ItAuUsh77/Goc1ViTpTcZ/ZaxzB1aZX55axRJ+n fdoeGRpecU9O8r+ng9j+wYXnxJo21lwWvgs8MA3OG+hs+yHa0NX16uzeLb2mDRNqOyFT Y5OA== X-Gm-Message-State: AOAM531ZHIxSf7Xk/usr6SORiPLKKDTj94fDBwwZqa3owfJT+iKz/2rS o51IsKSTXcOMspr9hrWb/q2sp4eZWPee8QKknA8= X-Received: by 2002:a05:6830:1b7b:: with SMTP id d27mr5468841ote.132.1610644412225; Thu, 14 Jan 2021 09:13:32 -0800 (PST) MIME-Version: 1.0 References: <20210113080752.1003793-1-lee.jones@linaro.org> <20210113080752.1003793-14-lee.jones@linaro.org> In-Reply-To: <20210113080752.1003793-14-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 14 Jan 2021 12:13:21 -0500 Message-ID: Subject: Re: [PATCH 13/30] drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning To: Lee Jones Cc: Leo Li , Mauro Rossi , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?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 On Wed, Jan 13, 2021 at 3:08 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce= 60_resource.c:28: > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: w= arning: initialized field overwritten [-Woverride-init] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: = note: in expansion of macro =E2=80=98mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL=E2= =80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note= : in expansion of macro =E2=80=98SRI=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: n= ote: 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:185:3: n= ote: 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:568:43: n= ote: (near initialization for =E2=80=98xfm_regs[0].DCFE_MEM_LIGHT_SLEEP_CNT= L=E2=80=99) > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: = note: in expansion of macro =E2=80=98mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL=E2= =80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note= : in expansion of macro =E2=80=98SRI=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: n= ote: 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:185:3: n= ote: 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:645:43: w= arning: initialized field overwritten [-Woverride-init] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: = 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:2: note= : in expansion of macro =E2=80=98SRI=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: n= ote: in expansion of macro =E2=80=98XFM_COMMON_REG_LIST_DCE60=E2=80=99 > > NB: Snipped lots for the sake of brevity > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > 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 Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dce60/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce60/Makefile b/drivers/gpu/= drm/amd/display/dc/dce60/Makefile > index 7036c3bd0f871..dda596fa1cd76 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce60/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dce60/Makefile > @@ -23,6 +23,8 @@ > # 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) > + > DCE60 =3D dce60_timing_generator.o dce60_hw_sequencer.o \ > dce60_resource.o > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel