]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: drop prime import/export callbacks
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Jan 2019 08:17:50 +0000 (09:17 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Jan 2019 07:16:18 +0000 (08:16 +0100)
commitc0a1fb15a5776d948cc60a1f800069ac3a89797b
treed5a0cb7f9ecbed5681e301365a73ab6057ae2989
parent25dc330ed6d4da9db6003f19425a39dd7db949a1
drm/qxl: 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: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190110081750.11358-1-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_drv.c
drivers/gpu/drm/qxl/qxl_prime.c