drm/virtio: implement prime mmap
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Feb 2019 14:44:39 +0000 (15:44 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 Feb 2019 08:09:01 +0000 (09:09 +0100)
commitc837da88c3359fc2c5a8cccde7a78d44e6e61290
tree9515ae8fa41efcf0c4ef7c24f2872a0210367b58
parent372c9329e5aa896683999301d9cb10ef14da92af
drm/virtio: implement prime mmap

Sync gem vm_node.start with ttm vm_node.start,
then we can just call drm_gem_prime_mmap().

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-2-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_prime.c