diff options
author | Qingqing Zhuo <[email protected]> | 2020-06-18 13:46:18 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-07-01 01:59:24 -0400 |
commit | 8c823e4ff67c78659ab403d63d071103416f49eb (patch) | |
tree | d913407723977d44fb27844252df88730920922a | |
parent | 450da2ef41d6551bf5bc2fd50c00ec3bcfe1047a (diff) |
drm/amd/display: fix compilation error on allmodconfig
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 <[email protected]>
CC: Lewis Huang <[email protected]>
CC: Aric Cyr <[email protected]>
CC: Alexander Deucher <[email protected]>
CC: Harry Wentland <[email protected]>
CC: Nicholas Kazlauskas <[email protected]>
CC: Bhawanpreet Lakha <[email protected]>
CC: Stephen Rothwell <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/color/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/color/Makefile b/drivers/gpu/drm/amd/display/modules/color/Makefile index 3ee7f27ff93b..e66c19a840c2 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 ************) |