drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DSC_SUPPORT=n
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Oct 2019 16:12:24 +0000 (12:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:30:46 +0000 (16:30 -0400)
commit6cbeaa8231edbba4b3d8702af976deb44419b082
tree8076f87c6e8a53237c17cd639071168d7eb00871
parentdd80ad9ba5fbfc672f45aea71c26b04c7b658e7a
drm/amdgpu/display: fix build when CONFIG_DRM_AMD_DC_DSC_SUPPORT=n

Add proper config check.

Reviewed-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c