drm/amdgpu: make sure that BOs have a backing store
authorChristian König <christian.koenig@amd.com>
Mon, 5 Jun 2023 09:11:22 +0000 (11:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:06:59 +0000 (11:06 -0400)
commitca0b954a4315ca2228001c439ae1062561c81989
tree2f069fe5caf8acddfee2a7f95a1b0ea005bcfdbf
parente2ad8e2df432498b1cee2af04df605723f4d75e6
drm/amdgpu: make sure that BOs have a backing store

It's perfectly possible that the BO is about to be destroyed and doesn't
have a backing store associated with it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Guchun Chen <guchun.chen@amd.com>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c