summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-04-08 17:16:24 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-04-17 15:41:12 -0400
commit51358444d18d8b9905d7eb1a30686aa5610b2b5f (patch)
treeb361150c74cfbdf6523d096fdcc1fc408b5d3de3 /include/linux/timerqueue.h
parent1eb90c7403c4afae1d791a2671f4873fd8d44c34 (diff)
drm/amdgpu/userq: dont lock root bo with userq_mutex held
Do not hold reservation lock for root bo if userq_mutex is already held in the call flow this cause a lock issue with ttm_bo_delayed_delete. Its better to lock the vm->root.bo first and then go ahead with userq_mutex so userq_mutex threads dont get stuck until the reservation lock is held. In this case it helps in the function amdgpu_userq_buffer_vas_mapped for each queue during restore_all. 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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions