]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: grab a BO reference in vm_lock_done_list.
authorChristian König <christian.koenig@amd.com>
Fri, 31 Oct 2025 08:21:36 +0000 (09:21 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:53:21 +0000 (11:53 -0500)
commitc72d41a8f3090c2ecc12afdde1bcf9ed726157ce
tree2d3e77912e8c5602c1cf0d6905701903564d1963
parent7cf422ed3386460ee13a3219f8192896f9759d77
drm/amdgpu: grab a BO reference in vm_lock_done_list.

Otherwise it is possible that between dropping the status lock and
locking the BO that the BO is freed up.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c