]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: fix warnings when CONFIG_DRM_AMD_DC_DCN is not set
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2020 15:02:26 +0000 (11:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:34:33 +0000 (15:34 -0500)
commitb2e73f08837d0430e18481da08afa59309f26882
treeb2a9bf48b6058c8ba3a3b47e516c85c5165f8502
parent4781c15034fc980fb3954039f27b4d6b4d1990b6
drm/amdgpu/display: fix warnings when CONFIG_DRM_AMD_DC_DCN is not set

Properly protect the relevant code with CONFIG_DRM_AMD_DC_DCN.

Fixes: c4075c7ad6c9 ("drm/amd/display: Fix the display corruption issue on Navi10")
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c