OSDN Git Service

drm/amd/display: use max_dsc_bpp in amdgpu_dm
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Mon, 24 Oct 2022 18:53:24 +0000 (14:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:09 +0000 (15:12 -0400)
commit6e5abe94c6eb9b281398e39819217e8fdd1c336f
treec0919cfcfb94b3cd48540158a4a9f1ed57228e9b
parentaa193f7eff8ff753577351140b8af13b76cdc7c2
drm/amd/display: use max_dsc_bpp in amdgpu_dm

Since, the quirk is handled in the DRM core now, we can use that value
instead of the internal value.

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