linux-stable/drivers/gpu/drm/virtio
Gerd Hoffmann 98f41dc3b3 drm/virtio: implement prime export
Just run drm_prime_pages_to_sg() on the ttm pages list to get an
sg_table for export.  The pages list is created at object initialization
time, so there should be no need to handle an unpopulated page list.
Add a sanity check nevertheless.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190227144441.6755-4-kraxel@redhat.com
2019-02-28 09:09:02 +01:00
..
Kconfig
Makefile drm/virtio: Drop deprecated load/unload initialization 2019-01-09 09:38:49 +01:00
virtgpu_debugfs.c
virtgpu_display.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
virtgpu_drv.c drm/virtio: implement prime export 2019-02-28 09:09:02 +01:00
virtgpu_drv.h drm/virtio: implement prime export 2019-02-28 09:09:02 +01:00
virtgpu_fb.c drm/virtio: switch to generic fbdev emulation 2018-12-14 09:40:27 +01:00
virtgpu_fence.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_gem.c drm/virtio: fix resource id handling 2018-10-29 22:50:55 +01:00
virtgpu_ioctl.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_kms.c drm/virtio: Drop deprecated load/unload initialization 2019-01-09 09:38:49 +01:00
virtgpu_object.c drm/virtio: do NOT reuse resource ids 2019-02-11 14:44:10 +10:00
virtgpu_plane.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_prime.c drm/virtio: implement prime export 2019-02-28 09:09:02 +01:00
virtgpu_ttm.c Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-11-19 11:07:52 +10:00
virtgpu_vq.c drm/virtio: log error responses 2019-01-08 11:59:59 +01:00