Re: [PATCH v2] drm/amd/display: fix DSC related non-x86/PPC64 compilation issue

From: Sudip Mukherjee
Date: Thu Aug 11 2022 - 14:11:58 EST


On Thu, Aug 11, 2022 at 7:00 PM Hamza Mahfooz <hamza.mahfooz@xxxxxxx> wrote:
>
> Need to protect DSC code with CONFIG_DRM_AMD_DC_DCN.
> Fixes the following build errors on arm64:
> ERROR: modpost: "dc_dsc_get_policy_for_timing" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
> ERROR: modpost: "dc_dsc_compute_bandwidth_range" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
>
> Fixes: 0087990a9f57 ("drm/amd/display: consider DSC pass-through during mode validation")
> Reported-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@xxxxxxx>

Thanks, fixes the build failure for me,
Tested-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>


--
Regards
Sudip