diff options
| author | Christian König <christian.koenig@amd.com> | 2026-04-20 16:08:35 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-11 17:47:11 -0400 |
| commit | 0071e01c61aa73f22edd5252f0a3e2c2eff744d6 (patch) | |
| tree | 3d16edeb186cf6efb929db9c657c02b93078a649 /tools/perf/scripts/python/flamegraph.py | |
| parent | d0053441ad7eaf7920b71e2263097ece53c5af34 (diff) | |
| download | linux-0071e01c61aa73f22edd5252f0a3e2c2eff744d6.tar.gz linux-0071e01c61aa73f22edd5252f0a3e2c2eff744d6.zip | |
drm/amdgpu: fix userq hang detection and reset
Fix lock inversions pointed out by Prike and Sunil. The hang detection
timeout *CAN'T* grab locks under which we wait for fences, especially
not the userq_mutex lock.
Then instead of this completely broken handling with the
hang_detect_fence just cancel the work when fences are processed and
re-start if necessary.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1b62077f045ac6ffde7c97005c6659569ac5c1ec)
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
