OSDN Git Service

drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Fri, 10 Dec 2021 08:39:27 +0000 (09:39 +0100)
committerChristian König <christian.koenig@amd.com>
Fri, 17 Dec 2021 10:26:40 +0000 (11:26 +0100)
commitfc74881c28d314b10efac016ef49df4ff40b8b97
treec4b8798dd31055a853380159b22f7734c44f66f5
parentfea3fdf975dd9f3e5248afaab8fe023db313f005
drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify

bo->tbo.resource can now be NULL.

Signed-off-by: Christian König <christian.koenig@amd.com>
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1811
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211210083927.1754-1-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c