aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
diff options
context:
space:
mode:
authorGerd Hoffmann <[email protected]>2020-09-08 07:07:23 +0000
committerGerd Hoffmann <[email protected]>2020-09-15 11:30:53 +0000
commit9fe6bda9823ea90c22ad47436293413d5fd58991 (patch)
treefaaad6b17998278e6d43c6ad55acb1643eacf1bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
parentdrm/virtio: return virtio_gpu_queue errors (diff)
downloadkernel-9fe6bda9823ea90c22ad47436293413d5fd58991.tar.gz
kernel-9fe6bda9823ea90c22ad47436293413d5fd58991.zip
drm/virtio: add virtio_gpu_cmd_unref_resource error handling
Usually we wait for the host to complete the unref request, then cleanup the guest-side state of the object in the completion callback. When submitting the unref command failed the completion callback will not be called though, so cleanup right away. Fixes a WARN on stale mm entries on driver shutdown. Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions