aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorGabe Teeger <[email protected]>2023-08-14 20:06:18 +0000
committerAlex Deucher <[email protected]>2023-08-31 22:08:19 +0000
commit5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02 (patch)
tree00583706e1f5c44b6060b0c685d2aaf0dadc312e /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/amd/display: update blank state on ODM changes (diff)
downloadkernel-5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02.tar.gz
kernel-5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02.zip
drm/amd/display: Remove wait while locked
[Why] We wait for mpc idle while in a locked state, leading to potential deadlock. [What] Move the wait_for_idle call to outside of HW lock. This and a call to wait_drr_doublebuffer_pending_clear are moved added to a new static helper function called wait_for_outstanding_hw_updates, to make the interface clearer. Cc: [email protected] Fixes: 8f0d304d21b3 ("drm/amd/display: Do not commit pipe when updating DRR") Reviewed-by: Jun Lei <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Gabe Teeger <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions