drm/amdgpu/display: fix the build when CONFIG_DRM_AMD_DC_DCN is not set
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Nov 2019 01:51:14 +0000 (20:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:44 +0000 (15:29 -0500)
commitdefeb878c46e950991d93c678203d2dc980957c0
treea107fce362a4e59253be3fd18bc1243201d0fb31
parentb86a1aa36a92bcfbc062c5e99c1d084f27f25bab
drm/amdgpu/display: fix the build when CONFIG_DRM_AMD_DC_DCN is not set

Need to protect some DSC functions.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c