Commit d2f0b53b authored by Leo (Hanghong) Ma's avatar Leo (Hanghong) Ma Committed by Alex Deucher

drm/amd/display: Fix MST reboot/poweroff sequence


drm_dp_mst_topology_mgr_suspend() is added into the new reboot
sequence, which disables the UP request at the beginning.
Therefore sideband messages are blocked.


Finish MST sideband message transaction before UP request is
Signed-off-by: default avatarLeo (Hanghong) Ma <[email protected]>
Reviewed-by: default avatarRoman Li <[email protected]>
Acked-by: default avatarLeo Li <[email protected]>
Signed-off-by: default avatarAlex Deucher <[email protected]>
Cc: [email protected]
parent 9db97d8a
...@@ -786,12 +786,13 @@ static int dm_suspend(void *handle) ...@@ -786,12 +786,13 @@ static int dm_suspend(void *handle)
struct amdgpu_display_manager *dm = &adev->dm; struct amdgpu_display_manager *dm = &adev->dm;
int ret = 0; int ret = 0;
adev->dm.cached_state = drm_atomic_helper_suspend(adev->ddev);
s3_handle_mst(adev->ddev, true); s3_handle_mst(adev->ddev, true);
amdgpu_dm_irq_suspend(adev); amdgpu_dm_irq_suspend(adev);
adev->dm.cached_state = drm_atomic_helper_suspend(adev->ddev);
dc_set_power_state(dm->dc, DC_ACPI_CM_POWER_STATE_D3); dc_set_power_state(dm->dc, DC_ACPI_CM_POWER_STATE_D3);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment