]> www.infradead.org Git - users/hch/misc.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 18:02:03 +0000 (13:02 -0500)
commit85230ee36d88e7a09fb062d43203035659dd10a5
treeffadbff14f4068b8e981d7561b815f410552316e
parent8d1a13816e59254bd3b18f5ae0895230922bd120
drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update

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