]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: userq_va_mapped should remain true once done
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 13 May 2026 07:59:35 +0000 (13:29 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 15:45:42 +0000 (11:45 -0400)
commit5c02889ea22575c3bcfdf212e65fac316cbc6c6a
tree47e201869a7dbe345793de082643b4e39236e78f
parentcc768f4dd0bb9083c813683eeec44fc23921f771
drm/amdgpu: userq_va_mapped should remain true once done

Multiple queues needs these bo_va objects belonging to
the same uq_mgr. So once they are mapped lets not unmap
them as at any point of time any of the queues might be
using it.

Also userq_va_mapped should be a boolean than atomic.

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