diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-05-19 15:12:42 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 10:32:09 -0400 |
| commit | 384dbef269d101e5b671fc7b942c56734cd1d186 (patch) | |
| tree | 43690e3af9371e097eb979050daa6421596bb45e /include/linux | |
| parent | e54a822b61e8dfea5587567dbf035ad41e6a09ef (diff) | |
drm/amdgpu/userq: Fix the mutex_init cleanup for fence_drv_lock
mutex fence_drv_lock is destroyed in amdgpu_userq_fence_driver_free
also in one of the jump condition mutex_destroy is also called leading
to double mutex_destroy.
So rearranging the code so amdgpu_userq_fence_driver_free takes care
of the clean up along with mutex_destroy.
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
