Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp173687pxb; Wed, 13 Jan 2021 00:12:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQT8AiV+bb94d00NHMqPaq0NYOFGloT4ldkkrWBm+Abbkws5gjJpjDSboHcv3YKGNHDdnq X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr700084ejb.360.1610525541128; Wed, 13 Jan 2021 00:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525541; cv=none; d=google.com; s=arc-20160816; b=K3Jrya13wS7z9CrD5JjthNq4kJO+2Wy1ggPEx3JiEz2efAXburFTY+M4S8neHsolKg 0srlg+pdx6b8L5fElJN9gO7NkTVIUmM3MCXOXDdIAmI1WugtCPZgx1SW/svPABX0baTA nI0fFm/3hCW48zhK6m9yBdSUflnw5WFw5hO8BFKgTkqS2NWwuEsDbfrby73hGYgMhVxZ k2puxack2LW0BaiX6wH3W008DVYPKDFWEB7if43MHPqIJAH3O57kF0c1+2fyk4ggp5hP mmwkivuFG4Cjxy/CwBzkWPRtdC5SIjgISrPuTi5BBbbw+fp0ZF9LJUmNkIyw3XsB7I1W VIDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GxvdNrF1R3ytfMPmOtkgE2Af/C+vkAzGpGIm/SfWWGY=; b=cPPwj5rm4cMqoxrF2UmfGQlp2dL0m0AmeWguUjf656qnQUWx4ljEJ6/+hXKAt3hoiQ w+9UQ4dG4Ioa02LFNwbPVhrjAkjJmz8FhaRk1cX/W2C8Gktq26cDEUJLO9D/Ro/3rYFS GHiHdYG5C5kQB/BYZQfqzULaon3qXRZSKE/3evSAbBaVQOJ1f6zwxPXTyXZHjWhOBvR8 1hEpx0c+fECg/gFZV3vd9pirPboX7qvQeA+pkuDBx95mHzGZ/0jWw0MUgNJ4uTx9A3ys kH60BL6kpze5Y4nb+CaxR7ROUnxUbjBRfv8w3ejqa+ZA/vFAKmZfS5k5qygYE5w5lykA iFcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="aM/IyLaQ"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si518130ejs.257.2021.01.13.00.11.58; Wed, 13 Jan 2021 00:12:21 -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=@linaro.org header.s=google header.b="aM/IyLaQ"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727111AbhAMIJs (ORCPT + 99 others); Wed, 13 Jan 2021 03:09:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726238AbhAMIJr (ORCPT ); Wed, 13 Jan 2021 03:09:47 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12A1C0617B9 for ; Wed, 13 Jan 2021 00:08:14 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id a6so692898wmc.2 for ; Wed, 13 Jan 2021 00:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GxvdNrF1R3ytfMPmOtkgE2Af/C+vkAzGpGIm/SfWWGY=; b=aM/IyLaQDgZMmI9S/Vft91mXvPtknL7mM075lNY84v6jesMbWuuSZ6ra4spDo4Abh9 BG7gD8ulNfeh7oDnJONekJD0JKJ/pA5AAfcWA1b0cYkDeFS++d7JlsRrX4zyipcVql51 AW2BZrl/DU3T0Q0ymCyFSA59pVimVhosCLnqkg7vj9ws6Z/1teE4JLUCCn8m65iz+JIg DE//VEp5ySmb4ydjd9f2W/i0FCymeGPPSI0hx1JXBR/5HEHUwt+suVJkBm6AL8Zi/mxl e7AOEOL4RsxRRT4pNkECQqoL4LLJGIXe0hMMu+dppVXUZK2NaEowd40E3HTW7kTGuT3p x4Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GxvdNrF1R3ytfMPmOtkgE2Af/C+vkAzGpGIm/SfWWGY=; b=iAHdtaugr2W7IorGMVNvBfar5e4lDXPOX3MG8b8Ce58wo/6v8qIuKoLfnywE3NAEOp f43Ie0xhVvgJxV+mjWZVBgl6lyWZ9gBL2cGP2+q+DS9x8XIzbURZR5YMQ+z5l2VFqCXg /R2HgQx6D3v/loifKhZG+4jJ5n5RcGuDzWAKrEBWi8Cf4PjGoitEAiBia4Mma4PEb1yw 7+TsvmRg0EoVk4dXjwh/1KziGmgAjmYhuRjBrXjVet/0wAyCJ3NFpPJGhUkWfnQxAccL cqXmq5lO3pMnzG4WaamWeXd+gd+CR/60wE524XIOFPxSSyroc1NEfIakpFoAumhMXte+ NYDg== X-Gm-Message-State: AOAM530hWzxaVoFpoQos0Zzg0AzULH2csjUlZjP26Y1jziUk/FW1MfMB W0rx7ud5U3Ds9efTCn16tBIc9Q== X-Received: by 2002:a1c:7217:: with SMTP id n23mr907233wmc.167.1610525293758; Wed, 13 Jan 2021 00:08:13 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 14/30] drm/amd/display/dc/dce80/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:36 +0000 Message-Id: <20210113080752.1003793-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:29: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:305:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9546:58: note: (near initialization for ‘aux_shift.AUX_SW_AUTOINCREMENT_DISABLE’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:305:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_8_0_sh_mask.h:9545:56: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:213:16: note: in expansion of macro ‘AUX_SW_DATA__AUX_SW_AUTOINCREMENT_DISABLE_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.h:102:2: note: in expansion of macro ‘AUX_SF’ NB: Snipped lots for the sake of brevity Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce80/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce80/Makefile b/drivers/gpu/drm/amd/display/dc/dce80/Makefile index 666fcb2bdbba0..0a9d1a350d8bd 100644 --- a/drivers/gpu/drm/amd/display/dc/dce80/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce80/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/dce80/dce80_resource.o = $(call cc-disable-warning, override-init) + DCE80 = dce80_timing_generator.o dce80_hw_sequencer.o \ dce80_resource.o -- 2.25.1