]> 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>
Thu, 9 Jan 2025 12:28:36 +0000 (13:28 +0100)
commitc72057c4865c5c7b21bd54e46f9fbbf01643843a
tree1df7a1a42313ac1728e0b896523f847a9fe95c40
parentdccf5138ad56682d81e65398f192b7efc70560fe
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