diff options
| author | 2026-03-20 17:29:01 +0530 | |
|---|---|---|
| committer | 2026-03-23 14:17:31 -0400 | |
| commit | 8f402ddd4f2321485fff7384c003124681a08146 (patch) | |
| tree | 9335ee20c4ac93f6acc4685342a75a6decc24be1 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/amd/pm: Add custom fclk setting support (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 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
