linux_dsm_epyc7002/drivers/gpu/drm/virtio
Gerd Hoffmann 9fe6bda982 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 <kraxel@redhat.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200908070723.6394-4-kraxel@redhat.com
2020-09-15 13:30:53 +02:00
..
Kconfig drm: virtio: fix kconfig dependency warning 2020-08-31 08:55:02 +02:00
Makefile
virtgpu_debugfs.c drm/virtio: report uuid in debugfs 2020-09-09 08:54:26 +02:00
virtgpu_display.c drm/virtio: use drmm_mode_config_init 2020-09-15 09:42:28 +02:00
virtgpu_drv.c drm/virtio: Support virtgpu exported resources 2020-08-18 10:01:54 +02:00
virtgpu_drv.h drm/virtio: use drmm_mode_config_init 2020-09-15 09:42:28 +02:00
virtgpu_fence.c
virtgpu_gem.c drm/virtio: Use struct_size() helper in kmalloc() 2020-08-17 13:08:43 +02:00
virtgpu_ioctl.c drm-misc-fixes for v5.9-rc1: 2020-08-19 13:54:42 +10:00
virtgpu_kms.c drm/virtio: use drmm_mode_config_init 2020-09-15 09:42:28 +02:00
virtgpu_object.c drm-misc-next for 5.10: 2020-08-28 12:38:06 +10:00
virtgpu_plane.c drm/virtio: drop virtio_gpu_output->enabled 2020-09-04 13:11:32 +02:00
virtgpu_prime.c drm/virtio: Support virtgpu exported resources 2020-08-18 10:01:54 +02:00
virtgpu_trace_points.c
virtgpu_trace.h
virtgpu_vq.c drm/virtio: add virtio_gpu_cmd_unref_resource error handling 2020-09-15 13:30:53 +02:00