summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>2024-10-30 10:56:57 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-04-08 16:48:17 -0400
commitd8675102ba322a4ccd0dd8bc5adf799246314ddf (patch)
treee5e4493ce46e0c8139c03e5e5eac7997c33585a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentfbea3d3174f4215ca1c867a1c035c1fa5ad01015 (diff)
drm/amdgpu: add vm root BO lock before accessing the vm
Add a vm root BO lock before accessing the userqueue VM. v1:(Christian) - Keep the VM locked until you are done with the mapping. - Grab a temporary BO reference, drop the VM lock and acquire the BO. When you are done with everything just drop the BO lock and then the temporary BO reference. Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions