]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ec6f9a51e67b3dd03063629222e6832e97104e0
treec3ff7b02089a7a317766eadeabf1d91cb8d1085a
parentc0a1fb15a5776d948cc60a1f800069ac3a89797b
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