linux/drivers/gpu/drm/amd
YueHaibing da26ded3b2 drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT
If CONFIG_DRM_AMD_DC_DSC_SUPPORT is not set, build fails:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c: In function dcn20_hw_sequencer_construct:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:2099:28:
 error: dcn20_dsc_pg_control undeclared (first use in this function); did you mean dcn20_dpp_pg_control?
  dc->hwss.dsc_pg_control = dcn20_dsc_pg_control;
                            ^~~~~~~~~~~~~~~~~~~~
                            dcn20_dpp_pg_control

Use CONFIG_DRM_AMD_DC_DSC_SUPPORT to guard this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 8a31820b12 ("drm/amd/display: Make init_hw and init_pipes generic for seamless boot")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-27 08:16:19 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: add dummy read for some GCVM status registers 2019-08-27 08:15:32 -05:00
amdkfd amd/amdkfd: add Arcturus vf DID support 2019-08-23 11:30:52 -05:00
display drm/amdgpu/display: fix build error without CONFIG_DRM_AMD_DC_DSC_SUPPORT 2019-08-27 08:16:19 -05:00
include drm/amdgpu/display: add flag for multi-display mclk switching 2019-08-23 11:33:00 -05:00
powerplay drm/amd/powerplay: Fix an off by one in navi10_get_smu_msg_index() 2019-08-27 08:16:08 -05:00