[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200901151003.942710728@linuxfoundation.org>
Date: Tue, 1 Sep 2020 17:08:43 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Qingqing Zhuo <qingqing.zhuo@....com>,
Lewis Huang <Lewis.Huang@....com>, Aric Cyr <Aric.Cyr@....com>,
Alexander Deucher <Alexander.Deucher@....com>,
Harry Wentland <hwentlan@....com>,
Nicholas Kazlauskas <Nicholas.Kazlauskas@....com>,
Bhawanpreet Lakha <Bhawanpreet.Lakha@....com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Alex Deucher <alexander.deucher@....com>,
Sasha Levin <sashal@...nel.org>
Subject: [PATCH 5.8 067/255] drm/amd/display: fix compilation error on allmodconfig
From: Qingqing Zhuo <qingqing.zhuo@....com>
[ Upstream commit 8c823e4ff67c78659ab403d63d071103416f49eb ]
when compiled with allmodconfig option, there are error
messages as below:
ERROR: modpost:
"mod_color_is_table_init"
[drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost:
"mod_color_get_table"
[drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: modpost:
"mod_color_set_table_init_state"
[drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
To fix the issue, this commits removes
CONFIG_DRM_AMD_DC_DCN guard in color/makefile.
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@....com>
CC: Lewis Huang <Lewis.Huang@....com>
CC: Aric Cyr <Aric.Cyr@....com>
CC: Alexander Deucher <Alexander.Deucher@....com>
CC: Harry Wentland <hwentlan@....com>
CC: Nicholas Kazlauskas <Nicholas.Kazlauskas@....com>
CC: Bhawanpreet Lakha <Bhawanpreet.Lakha@....com>
CC: Stephen Rothwell <sfr@...b.auug.org.au>
Acked-by: Alex Deucher <alexander.deucher@....com>
Signed-off-by: Alex Deucher <alexander.deucher@....com>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
drivers/gpu/drm/amd/display/modules/color/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/color/Makefile b/drivers/gpu/drm/amd/display/modules/color/Makefile
index 3ee7f27ff93b9..e66c19a840c29 100644
--- a/drivers/gpu/drm/amd/display/modules/color/Makefile
+++ b/drivers/gpu/drm/amd/display/modules/color/Makefile
@@ -23,11 +23,7 @@
# Makefile for the color sub-module of DAL.
#
-MOD_COLOR = color_gamma.o
-
-ifdef CONFIG_DRM_AMD_DC_DCN
-MOD_COLOR += color_table.o
-endif
+MOD_COLOR = color_gamma.o color_table.o
AMD_DAL_MOD_COLOR = $(addprefix $(AMDDALPATH)/modules/color/,$(MOD_COLOR))
#$(info ************ DAL COLOR MODULE MAKEFILE ************)
--
2.25.1
Powered by blists - more mailing lists