]> Git Repo - linux.git/commit
drm/amd/display: Defer handling mst up request in resume
authorWayne Lin <[email protected]>
Mon, 15 Apr 2024 06:04:00 +0000 (14:04 +0800)
committerAlex Deucher <[email protected]>
Tue, 30 Apr 2024 13:53:25 +0000 (09:53 -0400)
commit202dc359addab29451d3d18243c3d957da5392c8
tree3bb70c62daca23c7b8e6b5e5ad7e7219ba60e2b5
parentae308e93db35e8e7652d3ff1696adfc240bc1749
drm/amd/display: Defer handling mst up request in resume

[Why]
Like commit ec5fa9fcdeca ("drm/amd/display: Adjust the MST resume flow"), we
want to avoid handling mst topology changes before restoring the old state.
If we enable DP_UP_REQ_EN before calling drm_atomic_helper_resume(), have
changce to handle CSN event first and fire hotplug event before restoring the
cached state.

[How]
Disable mst branch sending up request event before we restoring the cached state.
DP_UP_REQ_EN will be set later when we call drm_dp_mst_topology_mgr_resume().

Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Hersen Wu <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
This page took 0.058242 seconds and 4 git commands to generate.