drm/amd/display: Check for DSC support instead of ASIC revision
authorEryk Brol <eryk.brol@amd.com>
Tue, 9 Feb 2021 22:09:52 +0000 (17:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2021 23:05:34 +0000 (18:05 -0500)
commit349a19b2f1b01e713268c7de9944ad669ccdf369
treeaea0b0142ed411a662706ebac44f786c1f512cff
parente664609e43bc2d25f1a2b170a5d59e2a8541a0a2
drm/amd/display: Check for DSC support instead of ASIC revision

[why]
This check for ASIC revision is no longer useful and causes
lightup issues after a topology change in MST DSC scenario.
In this case, DSC configs should be recalculated for the new
topology. This check prevented that from happening on certain
ASICs that do, in fact, support DSC.

[how]
Change the ASIC revision to instead check if DSC is supported.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c