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

Sudip Mukherjee sudipm.mukherjee at gmail.com
Thu Aug 11 18:11:15 UTC 2022


On Thu, Aug 11, 2022 at 7:00 PM Hamza Mahfooz <hamza.mahfooz at amd.com> 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 at linaro.org>
> Signed-off-by: Hamza Mahfooz <hamza.mahfooz at amd.com>

Thanks, fixes the build failure for me,
Tested-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>


-- 
Regards
Sudip


More information about the dri-devel mailing list