Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp172794pxb; Wed, 13 Jan 2021 00:10:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYzlnpFl3n2Nuc0ItxouhHZL3GJuYw4OnBCfEe8Hh8Dn6DpvnuSsR39QKpUQ6DoYdxoZPT X-Received: by 2002:a17:906:1393:: with SMTP id f19mr670291ejc.431.1610525435052; Wed, 13 Jan 2021 00:10:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525435; cv=none; d=google.com; s=arc-20160816; b=p7OEOVMztLEntW11Hq78dA77DMVArqhQUth3J51hG1VkByoMSxSQVqnoyc0uUF4AkF zR4zbCIjCVgtABsQvSR/if38o3EOIxDn7zSuDMjgK1OLplVpmtQChBFK69FzrB7bLt0E qsO/DYf8c/xP7OGPi+vtn4FgluGdQVgX9H+wIfFvn1ktddNl8D0StaldLAJLqLK+PeMb sux/VFTP5Cy7rwt2/9b7EyQlXgcsUt6Mo3Hn8jrrMp+UxZ5vEN8XkXUJYTxeMWJz6ODM w8tPAY7EMaxvckLHILoVyhcXzaszdUJjLq4heFG6JfADaIGqUajF83uYZQGwUrniMjeX VEFw== 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=TuIgFykBDNAyCTS3nlQLhUgyjjMaofDJMrakOYVbGJ4=; b=aXI2ofKhJEPXxkQy5Ki8S5PLhHWcfV1JV+GF32BbjZEPq7+78zwbfg6muNdKloyTs+ XQ7g3mO+EZXxUi2ApeBwBiFJyLrVorYGLpQq9U0y66FkXGrXsSfYUyPikw9R512uitOY /m8g+TO8/JW6qtPaynZsDsMTCbKq21oJjzgXxuALvFPfi9LR9pShD/Uj3TT1s70etEEy koOMS8GGyzfBknx2J1NCtMTI3KgiVnau2weSGg3aLFiAtQESicC8/fk5wSJV2Y6AEyWr 1j6d/0i40rqZJprdxsgNT1beQX7lBxkpDrxVkML1n9XEmQSMCrkXhUUxTVFcNxG3l/J6 X8pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OPbeiTnz; 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 u22si562924ejc.544.2021.01.13.00.10.11; Wed, 13 Jan 2021 00:10:35 -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=OPbeiTnz; 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 S1726935AbhAMIJY (ORCPT + 99 others); Wed, 13 Jan 2021 03:09:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726882AbhAMIJW (ORCPT ); Wed, 13 Jan 2021 03:09:22 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF708C0617B1 for ; Wed, 13 Jan 2021 00:08:13 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id w5so1043336wrm.11 for ; Wed, 13 Jan 2021 00:08: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=TuIgFykBDNAyCTS3nlQLhUgyjjMaofDJMrakOYVbGJ4=; b=OPbeiTnztfD+0HsOGRAz/algFIdjza0Mha4+zjTi+go+mtYX28fmkqErpS7SPSYwOY 0BlCN8/kvWgv/s7Oza70HVI8XBi8b/gbWFuWbUanSz5AtgNsgcH8k6vQJ779zWLtcoOd xouoN/uj/J5mWVVynsDWHxvX+k+He0q0DCvdU8LSGF3ubQE20BV+piQw19OFFgAE1IW8 6ayHGDpbV9BT1Zfs/n8NYbVeVCSDOjiVB0bHnSH9nMio0PQMKv1yNhlR2re0fHyvvKy4 mqOThv9t2wscoM+aKNDPvmAB1QY0hSgUH/aVX7OK+br/m/D9WjooGUjAbEnNPv4lJnx5 uDzg== 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=TuIgFykBDNAyCTS3nlQLhUgyjjMaofDJMrakOYVbGJ4=; b=iisTd/MHLH+eHJUsaRpBN1aqz/vTUWgM854p5bBt16Ds6FGaB9O7S8T+fVaGp7bW7A qEMTAhW5Ks+CscCNA+TJK16k4Q9+feMdTLXLPx/7owKiB1t/pOH5J3bzZ7RfTClxwD27 lo3sSU/lByT6V8Hpn2kca4rdaHxYDx7pIaQDogROCvhOsBmRQQ6eGecel+R9yoMetkef u2J/u/8tO5GGCkd8iCLDGs+bNVZgnb4CFvmLa/Mm9oQfCOWmhSDB/Ad0UPy39CD2/x6I rdH6GpgnsaSEcBcMSKTxLhMq6cSz4V0EJscSrgWDE33splyw/VYc/E09zlw4HzBzFqHu jv6w== X-Gm-Message-State: AOAM531N70pGvvOLEQ81HTg6BL1lCXW0HKiAiN+6QLwH9SjsIo5hOzZ2 fj7H7xcXO5CP4BHmWfo4NU62xw== X-Received: by 2002:adf:8184:: with SMTP id 4mr1226871wra.63.1610525292458; Wed, 13 Jan 2021 00:08:12 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08: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 , Mauro Rossi , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 13/30] drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning Date: Wed, 13 Jan 2021 08:07:35 +0000 Message-Id: <20210113080752.1003793-14-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/dce60/dce60_resource.c:28: drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: note: in expansion of macro ‘mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note: in expansion of macro ‘SRI’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:185:3: note: in expansion of macro ‘transform_regs’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:568:43: note: (near initialization for ‘xfm_regs[0].DCFE_MEM_LIGHT_SLEEP_CNTL’) drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: note: in expansion of macro ‘mmCRTC0_DCFE_MEM_LIGHT_SLEEP_CNTL’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note: in expansion of macro ‘SRI’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:185:3: note: in expansion of macro ‘transform_regs’ drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:645:43: warning: initialized field overwritten [-Woverride-init] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:155:14: note: in expansion of macro ‘mmCRTC1_DCFE_MEM_LIGHT_SLEEP_CNTL’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:2: note: in expansion of macro ‘SRI’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:181:3: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’ 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: Mauro Rossi Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce60/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/Makefile b/drivers/gpu/drm/amd/display/dc/dce60/Makefile index 7036c3bd0f871..dda596fa1cd76 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dce60/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/dce60/dce60_resource.o = $(call cc-disable-warning, override-init) + DCE60 = dce60_timing_generator.o dce60_hw_sequencer.o \ dce60_resource.o -- 2.25.1