diff options
author | Gabe Teeger <gabe.teeger@amd.com> | 2023-08-14 23:06:18 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-01 01:08:19 +0300 |
commit | 5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02 (patch) | |
tree | 00583706e1f5c44b6060b0c685d2aaf0dadc312e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1482650bc7ef01ebb24ec2c3a2e4d50e45da4d8c (diff) | |
download | linux-5a3ccb1400339268c5e3dc1fa044a7f6c7f59a02.tar.xz |
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: stable@vger.kernel.org
Fixes: 8f0d304d21b3 ("drm/amd/display: Do not commit pipe when updating DRR")
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions