Commit 3f9f631f authored by Agustin Gutierrez's avatar Agustin Gutierrez Committed by Greg Kroah-Hartman
Browse files

drm/amd/display: Fix DSC-re-computing



[ Upstream commit b9b5a82c ]

[Why]
This fixes a bug introduced by commit c5365554 ("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: default avatarSwapnil Patel <swapnil.patel@amd.com>
Reviewed-by: default avatarHersen Wu <hersenxs.wu@amd.com>
Acked-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Signed-off-by: default avatarAgustin Gutierrez <agustin.gutierrez@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 4641169a ("drm/amd/display: Fix incorrect DSC recompute trigger")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a30cd70a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment