]> 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)
commitcdf9e53857b9dfd8b910635f5cf94fee2105edbf
treec3ff7b02089a7a317766eadeabf1d91cb8d1085a
parent7661ac26220b3c2cb7f3d1c135703331e4dcb1b2
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