diff options
author | Gabe Teeger <[email protected]> | 2023-08-14 16:06:18 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-08-31 18:08:19 -0400 |
commit | 5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02 (patch) | |
tree | 00583706e1f5c44b6060b0c685d2aaf0dadc312e /net/unix/sysctl_net_unix.c | |
parent | 1482650bc7ef01ebb24ec2c3a2e4d50e45da4d8c (diff) |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions