]> git.hungrycats.org Git - linux/commit
drm/amdgpu/userq: create_mqd does not need userq_mutex
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 9 Apr 2026 07:29:33 +0000 (12:59 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:41:12 +0000 (15:41 -0400)
commit469e6fea0949216d150c7b999d95ad0e0203ce27
treeff083326ef12a33620bd815f9a76417a6536a32d
parent51358444d18d8b9905d7eb1a30686aa5610b2b5f
drm/amdgpu/userq: create_mqd does not need userq_mutex

Reshuffle the code to run create_mqd outside the mutex.
code here is mostly setting up software structure init
before actually registering the userqueue in the xa and
to the driver.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c