drm/amd/display: MST DSC check for older devices
authorAgustin Gutierrez <agustin.gutierrez@amd.com>
Thu, 25 Apr 2024 14:37:36 +0000 (10:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 May 2024 19:50:00 +0000 (15:50 -0400)
commitcf37a5318dd68aa0eb909e210aebd219bc0ff64a
tree7cd66c9cb942eab1e32e65cfa4a0cda4a358c41c
parentb436f1cbed9c59d89ce63bd3b81b0e603c29d466
drm/amd/display: MST DSC check for older devices

[Why]
Some older MST hubs do not report DPCD registers according to
specification.

[How]
This change re-applies commit c53655545141 ("drm/amd/display: dsc mst
re-compute pbn for changes on hub").
With an additional check for these older MST devices.

Reviewed-by: Swapnil Patel <swapnil.patel@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