summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_prime.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-10 09:17:50 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-14 08:16:18 +0100
commitf4c34b1e2a37d5676180901fa6ff188bcb6371f8 (patch)
treed5a0cb7f9ecbed5681e301365a73ab6057ae2989 /drivers/gpu/drm/qxl/qxl_prime.c
parentdrm/rockchip: add missing of_node_put (diff)
downloadlinux-f4c34b1e2a37d5676180901fa6ff188bcb6371f8.tar.xz
linux-f4c34b1e2a37d5676180901fa6ff188bcb6371f8.zip
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
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_prime.c')
-rw-r--r--drivers/gpu/drm/qxl/qxl_prime.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
index a55dece118b2..df65d3c1a7b8 100644
--- a/drivers/gpu/drm/qxl/qxl_prime.c
+++ b/drivers/gpu/drm/qxl/qxl_prime.c
@@ -38,20 +38,6 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
WARN_ONCE(1, "not implemented");
}
-struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
-{
- WARN_ONCE(1, "not implemented");
- return ERR_PTR(-ENOSYS);
-}
-
-struct drm_gem_object *qxl_gem_prime_import_sg_table(
- struct drm_device *dev, struct dma_buf_attachment *attach,
- struct sg_table *table)
-{
- WARN_ONCE(1, "not implemented");
- return ERR_PTR(-ENOSYS);
-}
-
void *qxl_gem_prime_vmap(struct drm_gem_object *obj)
{
WARN_ONCE(1, "not implemented");