]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdea04f7360dd3df46be541588641d03ce46ad391
treeaea0b0142ed411a662706ebac44f786c1f512cff
parentdfd4a6c8875ea39b125913b7b4f412b573c641c5
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