diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-03-20 17:29:01 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-23 14:17:31 -0400 |
| commit | 8f402ddd4f2321485fff7384c003124681a08146 (patch) | |
| tree | 9335ee20c4ac93f6acc4685342a75a6decc24be1 /tools/perf/scripts/python/bin | |
| parent | 5da89a8afca14a266e82d2c99e0bd5ae6db23611 (diff) | |
drm/amdgpu/userq: cleanup amdgpu_userq_get/put where not needed
amdgpu_userq_put/get are not needed in case we already holding
the userq_mutex and reference is valid already from queue create
time or from signal ioctl. These additional get/put could be a
potential reason for deadlock in case the ref count reaches zero
and destroy is called which again try to take the userq_mutex.
Due to the above change we avoid deadlock between suspend/restore
calling destroy queues trying to take userq_mutex again.
Cc: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
