]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Fix DSC-re-computing
authorAgustin Gutierrez <agustin.gutierrez@amd.com>
Fri, 19 Apr 2024 17:53:52 +0000 (13:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 May 2024 19:48:19 +0000 (15:48 -0400)
commit3f0b5af17575c95457538335750c630014d1fa6a
tree7875b5e645afd485b60357017e0895d4a38715d5
parent284f141f5ce5f416c336e1539eb3a6d74c51fe6e
drm/amd/display: Fix DSC-re-computing

[Why]
This fixes a bug introduced by commit c53655545141 ("drm/amd/display: dsc
mst re-compute pbn for changes on hub").
The change caused light-up issues with a second display that required
DSC on some MST docks.

[How]
Use Virtual DPCD for DSC caps in MST case.

[Limitations]
This change only affects MST DSC devices that follow specifications
additional changes are required to check for old MST DSC devices such as
ones which do not check for Virtual DPCD registers.

Reviewed-by: Swapnil Patel <swapnil.patel@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Agustin Gutierrez <agustin.gutierrez@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_mst_types.c