aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorGeorge Shen <[email protected]>2025-04-24 14:02:59 +0000
committerAlex Deucher <[email protected]>2025-05-13 13:30:28 +0000
commit1561782686ccc36af844d55d31b44c938dd412dc (patch)
tree7d4213e4778573120f95be5f1f1d4027e9cf728a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amd/display: Defer BW-optimization-blocked DRR adjustments (diff)
downloadkernel-1561782686ccc36af844d55d31b44c938dd412dc.tar.gz
kernel-1561782686ccc36af844d55d31b44c938dd412dc.zip
drm/amd/display: fix link_set_dpms_off multi-display MST corner case
[Why & How] When MST config is unplugged/replugged too quickly, it can potentially result in a scenario where previous DC state has not been reset before the HPD link detection sequence begins. In this case, driver will disable the streams/link prior to re-enabling the link for link training. There is a bug in the current logic that does not account for the fact that current_state can be released and cleared prior to swapping to a new state (resulting in the pipe_ctx stream pointers to be cleared) in between disabling streams. To resolve this, cache the original streams prior to committing any stream updates. Reviewed-by: Wenjing Liu <[email protected]> Signed-off-by: George Shen <[email protected]> Signed-off-by: Ray Wu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions