Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp173306pxb; Wed, 13 Jan 2021 00:11:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJx053LOzu0sfwFngf4y4mF1gELBvYGT+NnFITkwu3bwL8MOaJFF6ISm8QW3XqDibwkyPSm8 X-Received: by 2002:a17:907:d8d:: with SMTP id go13mr708185ejc.520.1610525498133; Wed, 13 Jan 2021 00:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525498; cv=none; d=google.com; s=arc-20160816; b=y+vAC4zlHPxIvQcsa7nmAuRYZpgr80EW2jHRawkAx3w4WooAndfsZuMfn7WjgINZjP u7FmxzGIdJzjNZGnWZl+5S3cbzhv71H+gsJ+hmysD2JTr646NGNYlv6AyyzYDok9CxMt hBVRnrcEZlq2XmYnmm4ow78cGdF4LADSWZUPmacUDpYt3BT0xO9KCmMk9qHtf1WBiu7y kOGbNN2YLqmntwFR6NcV/uUyZV52s+5JYneDqnjRX034LBPPZhr48qdf9lNUSgWOFlGP uF/6X7OvPIBsToheZIsD167aqPLHm3TJFn5RJcKTzgPppIE/mpjTTLCW0V3J8PvUqk4S 7Y3A== 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=upsPNw/tEbA/WXl0QtiBmIh69kJTZiyD6g31r7koW20=; b=D20IuPbGuhwpjD5axMpGdWKZL3h6qEC7oPxxEWjxgKub9Sfr6lYR7xfMdiRez6EZh9 jjvDr8ylSs7wLPjFbXrKYaBFibreIQNb+VISqfty0/akfjN6D6OAmYF67pS9POvCzWLz p2z+f595gxvwMQsSzM0SZ2pzdPGR0kZDRJoyy3a/yOHi/b/CP5lU2OEejWH1kdA9FJOd 6HHC344bCLoVCqP5h/sc6u0m+XjUdDTIm5k9f3W2t4K+3eyaECsz9pvsC4Ja+5M2gCUw X9DG80FRmA+acbbjIJSOrArwsyp2C3OOTurMxXP1C3lmg7T3BNNDWAtRlvF7vBIiqqf1 nh6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=chUfkryc; 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 bd14si622024edb.478.2021.01.13.00.11.14; Wed, 13 Jan 2021 00:11:38 -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=chUfkryc; 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 S1726960AbhAMIJZ (ORCPT + 99 others); Wed, 13 Jan 2021 03:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbhAMIJW (ORCPT ); Wed, 13 Jan 2021 03:09:22 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47017C0617AB for ; Wed, 13 Jan 2021 00:08:11 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id 3so710982wmg.4 for ; Wed, 13 Jan 2021 00:08:11 -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=upsPNw/tEbA/WXl0QtiBmIh69kJTZiyD6g31r7koW20=; b=chUfkrycKg5MIRF9H9qdA6JCg9Bpnh3Nf3wLevITHavXTmsdYBUZOPs9bfiTizkdSk 0OLxGVTT9FC7RBTXPBcpyYdqbU2HNc/VPT1v/JlNog0IH55G/nTtfwfUTsF5zar+QFZm npR0p2Nednhpi6YDfOU66d9OcWpL4dJ+bHT3UVW2U8gIKUsHTP/Qp7BzfbqTcVRiOewI b3gcVybTv6EjUSSvq7vzIg2249S0avETtwtS9oVo326vf5EgzXaqrTc0H0s8uT+JDzia MQK50s1UwwYe4CBFNuu7jHfjwtiihoKelCWVvTBy3NRrghJmvgZYgrPpbx5oPBJ+5lT0 a0mQ== 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=upsPNw/tEbA/WXl0QtiBmIh69kJTZiyD6g31r7koW20=; b=SVM4puH/80aKXAucs3yMtIvrivJ16LjkUI5kktmIdiUIEIQd39bAQcRWIibgWGOdlT yE50FTm9chYQuuz7WRkqD7JMz8p7jbCLSVnF8HH4bffnsuoSsQe97L+BQMNxZRGow0Di EZ2gXwuqeup3RJ6Ahi5VwHm2958n/NzJ9YU2nqKt9RN3qWUrEvC/PZySyZUbs9iYIxSr lZ3MRfLAQGzX8bt/XbJBTbvl8RD6jkOGgS1NlzBXDhBUjJO6oiL4zIDqMbygAJEq8Ron BugitloLcH/dmNItDXQ5gysxiOiXhibgLnXLEJLZG8CAp+FIVvf8ARafqZ3/Jy56CSXd +Ulw== X-Gm-Message-State: AOAM53247urIJGRApoM5YZI0SYLVzZgrraKS94NhQCrJ5/IQR4Lw3TRN sF5LXafk10O7LA9bL0uLLob5GQ== X-Received: by 2002:a7b:c19a:: with SMTP id y26mr932035wmi.20.1610525290060; Wed, 13 Jan 2021 00:08:10 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:09 -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 11/30] drm/amd/display/dc/dce100/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:33 +0000 Message-Id: <20210113080752.1003793-12-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/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084:45: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5084:45: note: (near initialization for ‘mi_shifts.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5083:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_10_0_sh_mask.h:5083:43: note: (near initialization for ‘mi_masks.GRPH_NUM_BANKS’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:155:28: note: in expansion of macro ‘GRPH_CONTROL__GRPH_NUM_BANKS_MASK’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:170:2: note: in expansion of macro ‘SFB’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.h:291:2: note: in expansion of macro ‘MI_GFX8_TILE_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ 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/dce100/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce100/Makefile b/drivers/gpu/drm/amd/display/dc/dce100/Makefile index a822d4e2a1693..ff20c47f559e3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce100/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce100/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/dce100/dce100_resource.o = $(call cc-disable-warning, override-init) + DCE100 = dce100_resource.o dce100_hw_sequencer.o AMD_DAL_DCE100 = $(addprefix $(AMDDALPATH)/dc/dce100/,$(DCE100)) -- 2.25.1