diff options
| author | Gabe Teeger <[email protected]> | 2023-08-14 20:06:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-30 19:36:38 +0000 |
| commit | d12f00c91fdfe3e50747f9e7e229fd8ede16b632 (patch) | |
| tree | a6ef53ae7e09ba37a3526f606804d87260bea017 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amd/display: add pipe topology update log (diff) | |
| download | kernel-d12f00c91fdfe3e50747f9e7e229fd8ede16b632.tar.gz kernel-d12f00c91fdfe3e50747f9e7e229fd8ede16b632.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
