From patchwork Wed Jan 13 08:07:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362043 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296802jap; Wed, 13 Jan 2021 00:08:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqfpdWMZk2DjJdwlu4TQ1pOyLQg1Q+lNQB1NcWynTh8UbZSdmGPs0ksedGufPnKBG5G6z6 X-Received: by 2002:a17:902:9f86:b029:de:2919:a6ac with SMTP id g6-20020a1709029f86b02900de2919a6acmr1165580plq.41.1610525301609; Wed, 13 Jan 2021 00:08:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525301; cv=none; d=google.com; s=arc-20160816; b=g+8k4AqqaRiglwlVx/R2t5IICbuPIxtzIH1NojJLEpwJByhtYGwxnsbs9saXUPujtI XT5XyW2QHaECRS3yqVBZQbtuzF0kTEgKFRmboSpVXYsLRlfAaruK0uk1hFh6t4aF/xAL wSIZdvJ6ROkG58ZwkB3dfNQ7uskbFKTAzolGCkiZoFPrGFKMDmFG3tFyD82SvnLipOvz Ua+Q8Ey3j3sr5TRWuxkVGkh3kUmiEoUqQFqDNIsJKNCUTJfbKLKzcliLH4RPaDSoBd4F tvi6Rl4xMTSrXsFs5qGB7Qlia7xdxJVyqjr7b0KVGFXBgEwkSEcMU94PdjvK3ZwLpWNq VIvA== 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=H+EElFiBYWfivUcXOhW2V97I+ooRID+nhwK3afBBvN4=; b=ubqk2yvoZCNJiorxSFL9G3FJBf86wD08BFuOZuPVQZspkETOS5MQYCTup2ywDYLxWC I1UUEwPnGZgSfs4LcO2Zsl3jhEFX5rjjWMy8O2whZWTRCF+ooumUekezYjnImpNMfJoy RJx3cYO+DD0qRAx5VIWBWUdD6WP7Z8CVght15W13umlgx44JnXLU6KLNI9ktXrR9yeN4 GvCIhOhxiCZfm5bMbIQrxGr98PXXPVVrwEl8hI94p4FCqmkCGH9Jty4Dr0SWIw8jjiB9 QBU1Jh7tRtiFzB9IEAuEvVXYgW3p0ru+EEy+mHsEeNvThamtwzgD4WPdtfzSStARVUwg 5hoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=chUfkryc; 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 r3si1496968pjj.129.2021.01.13.00.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:21 -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=chUfkryc; 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 8DEFF89FDE; Wed, 13 Jan 2021 08:08:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 571E389FDE for ; Wed, 13 Jan 2021 08:08:11 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id k10so688232wmi.3 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=ebcSekgW9J/+M0ubSjqnF9qm6z37EQidr7bxSJE2O7g7UyKS53Tdpe4YjlkfVgcAsZ KP3WYcDJcg5zD036bJpOk6jTWx7lhrafQ5RRGyM9LFAj9m5riy1Rarhi/BPh2tRyOk0O PEjTTrqm46rGJXyFqumI//f9sL6hPN+rw5kTJrIdWy7XzE8rjwMftyNbimZYDhFNvQWO 9U5rlD4LjpOHjgLUowTOyFTD/TLDRT09t8T9R/9pJiShIRyz/Am4IjK6gwGnUqGt+wtp JScDqzosmLX4hcU5m+Tr01IBecl0Lywney9N7Rsg8IfR5M5ke+N4QjSJD5EmhDhhZDre 5s+g== X-Gm-Message-State: AOAM5320sHZn7F9rYv0O39QsG1eDHAMyK4LownmMBWWAz/i8FfPmeSnk Akbm5/kRKYqkSVqpwidSiuqVUQ== 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 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 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/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))