From patchwork Wed Jan 13 08:07:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362046 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296858jap; Wed, 13 Jan 2021 00:08:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe4fl69aSw/ZYAojslpP/BE+pIHEM/4aUISTar3ucO0uxiBEJ/slx6XSFh6W8lzHwnRDWV X-Received: by 2002:a62:384b:0:b029:19d:a5c6:d76 with SMTP id f72-20020a62384b0000b029019da5c60d76mr1044939pfa.16.1610525306807; Wed, 13 Jan 2021 00:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525306; cv=none; d=google.com; s=arc-20160816; b=QSPHTCx/0V4APsZiNeErGK7Vzty+aeftBnwQXjtOD7XerqZDSCxXH1HpK6IMW+ImIK QNlRFBYAd1PhOwEDJry8L57eJlfDQ5mDb0fwSzdKOdpQMjBc2aVsrW936w6D9dBdlEUR UNq2qI+BnfEpRDAj+BT4GRQdk3YZvh1TWlS8NkxoumFae/nCXCvFR5b1PvpGTNbeIIVG xmfL3FKdBC43657lu7TcTCkzbyruysxua541L6mfhFS3t9VdzncDUuIng6RaX7cdNvXs dRkmpmae6MqE/6mgfa2PkrPQRWVoIinIA7rgTpF//1iVYVHnnVmxx9N++Kvk3VcJ2ByO rlqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=77X8jQHb1Zpr4GEgvOMLMz40RQvPJM8QsjCXsZdJhlM=; b=FFTYY6aVSuD1GxUwIFidU5rsUIK0X2mWGegPYOycbo8gMUNzQV9rsnKzneWj4pevh1 7xmZvLtKlKKzxXiNgIiFn+yhPYDwpeD58jzMqUcIs+YHBaKnvit8Jl4ABk3H2qKXRqBS YmnULKY54Xq6ZHk4x5Sqeo/2QeC/t4xClHZ/7/WZk5MVocHJg94cbQ6QyLtos4Oisw2b x5X/O8q4dO7Ak4n/tWoCwOzDIdjSsBdOYHrNXG30uQ+PkUn3USRboUNPJ2wW35cpM4mp cZ7n5h3EKw9Uqb3t73dXCC4Okd/Ci7FwtIZxETkIUb7Bf84X61MayYM0pdgys1kkepZK MH1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aM/IyLaQ"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l11si1704161pjn.167.2021.01.13.00.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="aM/IyLaQ"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B5636E04B; Wed, 13 Jan 2021 08:08:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04C886E04B for ; Wed, 13 Jan 2021 08:08:15 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id i63so687669wma.4 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=KnpOgTqbFJxZvq3Ngg5IZvxIV0Yaw19+eKlPa5JGR0ND4oK+NxBcUNmAV8UqXluiG5 BoDRIdnPYVm5kJ2qPDe4uB3t60DKXndoprTeeA6H2hExNP1JMn51u3A91Yr/njmMoWAp 3FhkmFFLvwT0KhqHZaYGCT6/COOyFFehgdTwQE9AfZWLeWzF87ScTtWPRN+Ft6QGtC+B ZFcyPiB5WNk6oBDCdevG01HRMqWhuivGUYbDy2Pi7lasR/ChAFLk7/EVDe71Cgb1kiNp TAIf7JkguiMTOJ7MstsrbMODsLWEcgltD+sQ0XMUZa/NVdQCjH35dFCCTUVA8qKnHn1n G4Nw== X-Gm-Message-State: AOAM532uuvhJx9yr19WyoNHuAWOupHSzJzL7A7T5HLnoNk/2DKOiqJlS dfBsf5Em8XXaRKnjvp1QtL5m3w== 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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