linux_dsm_epyc7002/drivers/gpu/drm/virtio
Gerd Hoffmann 5edbb56082 drm/virtio: fix ring free check
If the virtio device supports indirect ring descriptors we need only one
ring entry for the whole command.  Take that into account when checking
whenever the virtqueue has enough free entries for our command.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200207064653.14403-1-kraxel@redhat.com
2020-02-07 09:33:55 +01:00
..
Kconfig drm/virtio: switch from ttm to gem shmem helpers 2019-09-04 06:54:11 +02:00
Makefile drm/virtio: switch from ttm to gem shmem helpers 2019-09-04 06:54:11 +02:00
virtgpu_debugfs.c drm/virtio: fix ring free check 2020-02-07 09:33:55 +01:00
virtgpu_display.c drm/virtio: fix vblank handling 2020-02-05 11:47:47 +01:00
virtgpu_drv.c drm/virtgpu: fix double unregistration 2019-11-12 19:13:18 +01:00
virtgpu_drv.h drm/virtio: fix ring free check 2020-02-07 09:33:55 +01:00
virtgpu_fence.c drm/virtio: move to_virtio_fence inside virtgpu_fence 2019-12-19 07:13:46 +01:00
virtgpu_gem.c drm/virtio: simplify getting fake offset 2019-12-19 07:13:45 +01:00
virtgpu_ioctl.c drm/virtio: fix byteorder handling in virtio_gpu_cmd_transfer_{from, to}_host_3d functions 2019-11-20 09:22:26 +01:00
virtgpu_kms.c drm/virtio: fix ring free check 2020-02-07 09:33:55 +01:00
virtgpu_object.c drm/shmem: switch shmem helper to &drm_gem_object_funcs.mmap 2019-10-17 13:59:16 +02:00
virtgpu_plane.c drm/virtio: use damage info for display updates. 2019-12-16 12:39:50 +01:00
virtgpu_prime.c drm/virtio: switch from ttm to gem shmem helpers 2019-09-04 06:54:11 +02:00
virtgpu_trace_points.c drm/virtio: add trace events for commands 2019-05-06 10:52:58 +02:00
virtgpu_trace.h drm/virtio: add trace events for commands 2019-05-06 10:52:58 +02:00
virtgpu_vq.c drm/virtio: fix ring free check 2020-02-07 09:33:55 +01:00