diff options
| author | Gerd Hoffmann <[email protected]> | 2020-09-08 07:07:23 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2020-09-15 11:30:53 +0000 |
| commit | 9fe6bda9823ea90c22ad47436293413d5fd58991 (patch) | |
| tree | faaad6b17998278e6d43c6ad55acb1643eacf1bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
| parent | drm/virtio: return virtio_gpu_queue errors (diff) | |
| download | kernel-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
