drm/virtio: drop prime import/export callbacks
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Jan 2019 11:15:45 +0000 (12:15 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Jan 2019 07:16:19 +0000 (08:16 +0100)
commitb318e3ff7ca065d6b107e424c85a63d7a6798a69
treec3ff7b02089a7a317766eadeabf1d91cb8d1085a
parentf4c34b1e2a37d5676180901fa6ff188bcb6371f8
drm/virtio: drop prime import/export callbacks

Also set prime_handle_to_fd and prime_fd_to_handle to NULL,
so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to
userspace.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190110111545.26768-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.c
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_prime.c