]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
authorMichel Dänzer <mdaenzer@redhat.com>
Tue, 17 Dec 2024 17:22:56 +0000 (18:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:02:10 +0000 (14:02 +0100)
commit004da42b8e5768d194716b5050e4a2bc21381d48
tree5edd3dac2288e961ecc8bcfd5aff4536550e10c8
parent3818802ddc3d2f8462698b78d7a6702415f2f394
drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update

commit 85230ee36d88e7a09fb062d43203035659dd10a5 upstream.

Third time's the charm, I hope?

Fixes: d3116756a710 ("drm/ttm: rename bo->mem and make it a pointer")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3837
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 695c2c745e5dff201b75da8a1d237ce403600d04)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c