Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2508507pxb; Mon, 11 Jan 2021 11:25:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzG4wfVEbg/BS8wh/RJf+KAbr+eGQ1W4jDyrolJ/Ua6LlkneIdcofKns+qe6j6QgGlV/A9L X-Received: by 2002:a17:906:74d9:: with SMTP id z25mr658572ejl.217.1610393115766; Mon, 11 Jan 2021 11:25:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610393115; cv=none; d=google.com; s=arc-20160816; b=k3g+IWJtsWYy3EloIGQLvw2iiqMNkmZM81KaVT0DEEqIGG1Md/9awjdcZh5Qq3/Vqv 6nPyulPhMkTIROFJBjhuWEHU4eoP0uHoZClkANjKen9NYWrRQly7KbX+7+XKafXiJ6NI +AONo5Cc0S5QxjKOn2qMG2C3lG8oANc4GXBSUVnG0s5cPJsdOQog1ltAc1Ukri3mZkeU B38ntjub/J8zcoCTLK+aOPaIkhvYs8aL95qSgIMFZI9zMvBIgSlyat5UNMrSX7/M4jN8 xALtz+9Qkns96imc6StLhnFJYBlwMpwRi2dRA5Sz+wrLri4ELYGXw8ltyG5DCc8O98+6 RlHA== 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=MwXCd4JlIEnX1jwiKrIwLEF3yNPJI5fsZD+MBCO9rh4=; b=XRJMGMObaqi/cNBVcX3mCBz/CUri14Ho5nwxXLYBiwb835GNRIlw+pNWOfY/pEpxpG J38wuLeC0RffebPYb2aHZGWjj9a9TEIlDJ5KS403qnKtCmOMgIJOWF55UNWYywHX0ZvG GWiM4jktG+X+WxmlXIXvrycUW4VYc1RUmvT+Rl3YDjLcZRNfrsUmRlVICnRnmgxp/zYU rq+Yt3Sow4bYaur0PNwDHlHmA/OvaqAUTaFyPmDkaWw1qKX4laWAWH4XUaiDDFriLRLQ CWELNJx+FM+/mBhq7DbqG0V7H/aAZ54bWAU3sb6NMIefpcaiU5pD/Ek98oRL5Jsikr/F 0LUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xCThQF9j; 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 ah12si128850ejc.483.2021.01.11.11.24.52; Mon, 11 Jan 2021 11:25:15 -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=xCThQF9j; 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 S2404090AbhAKTWx (ORCPT + 99 others); Mon, 11 Jan 2021 14:22:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390963AbhAKTVK (ORCPT ); Mon, 11 Jan 2021 14:21:10 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26094C061786 for ; Mon, 11 Jan 2021 11:20:13 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id n16so482078wmc.0 for ; Mon, 11 Jan 2021 11:20:13 -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=MwXCd4JlIEnX1jwiKrIwLEF3yNPJI5fsZD+MBCO9rh4=; b=xCThQF9j9WJV2twMCSrOJ/K6+x4kw2m8p+kRolat3HFsk9IIsKU92V2z37tcreRYN5 cq+OspisPoMn+ye9MyIsh5pHmO/2p6FJoYB9Vp1DSQNUV3QeuvOw+R1F0AEHhVbnnCL4 KodqWMX1zwYtnLkzJ4ZMJ9nVs28AzNo4OivNgf78N/c5eaadRMAJZvB+bctEqz9uM+Ub ohIkissSXegqi1Ea+k45F3jPTrz441OhD2QPveyFOBFKEaQe1h/bXzpC1DxGjSClMHh/ eB8RRuy/ylghzZzZxHsQj2gI4O4aJEuQLADve9/1zaX2T2UZVyVXkmUQeNMUOiM9M1EP jU3w== 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=MwXCd4JlIEnX1jwiKrIwLEF3yNPJI5fsZD+MBCO9rh4=; b=cd/dDjUX9SetK2TgvujYHpmoLf4TaQ3EW8m6P1kVxA0i8DANNhhlAh6E6XhRhxAlYc F3LmOsaHBkQ2yfK0Y6XfpYdSlA4VWprQtsOCbAsEJGN+dZO/K3q+HKUj/Gd6klybYLla KEkmX7BYSOgqOAbcyIS3Myo9i3Me9sSRFn+x9tKtdX7Z1xYWpPgcaSadJma4Wdk5lyWq rbnHZZTqQmtyzgsPZoYPJen+euOBUjC7hI4646DCsWoUc61euZO690AwAKZz1FdIw/JQ Dg6K6hbJQp/A5pw1yhA5mqwSlg+MQO9Kg0Cv+RW4S6xRS30Qz6r+1wqtiVk/K2YfDInW ovhw== X-Gm-Message-State: AOAM530qwjrrWrSH3EISdBksn4HMGcz/qC70cmSmeUy2AX4Q4DyiD9ql spKAOFPDXkNPyTU94z4wSDCggQ== X-Received: by 2002:a1c:b4c4:: with SMTP id d187mr297453wmf.38.1610392811841; Mon, 11 Jan 2021 11:20:11 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:11 -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 32/40] drm/amd/display/dc/dce110/Makefile: Ignore -Woverride-init warning Date: Mon, 11 Jan 2021 19:19:18 +0000 Message-Id: <20210111191926.3688443-33-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111191926.3688443-1-lee.jones@linaro.org> References: <20210111191926.3688443-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/dce110/dce110_resource.c:66: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:5936:51: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16: note: in expansion of macro ‘DIG_FE_CNTL__DIG_STEREOSYNC_SELECT__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:306:2: note: in expansion of macro ‘SE_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3: note: in expansion of macro ‘SE_COMMON_MASK_SH_LIST_DCE110’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:5936:51: note: (near initialization for ‘se_shift.DIG_STEREOSYNC_SELECT’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16: note: in expansion of macro ‘DIG_FE_CNTL__DIG_STEREOSYNC_SELECT__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:306:2: note: in expansion of macro ‘SE_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3: note: in expansion of macro ‘SE_COMMON_MASK_SH_LIST_DCE110’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:5938:52: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16: note: in expansion of macro ‘DIG_FE_CNTL__DIG_STEREOSYNC_GATE_EN__SHIFT’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:307:2: note: in expansion of macro ‘SE_SF’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3: note: in expansion of macro ‘SE_COMMON_MASK_SH_LIST_DCE110’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:5938:52: note: (near initialization for ‘se_shift.DIG_STEREOSYNC_GATE_EN’) NB: Snipped for 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/dce110/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce110/Makefile b/drivers/gpu/drm/amd/display/dc/dce110/Makefile index d564c0eb8b045..84ab48df0c261 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce110/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/dce110/dce110_resource.o = $(call cc-disable-warning, override-init) + DCE110 = dce110_timing_generator.o \ dce110_compressor.o dce110_hw_sequencer.o dce110_resource.o \ dce110_opp_regamma_v.o dce110_opp_csc_v.o dce110_timing_generator_v.o \ -- 2.25.1