summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xen/xen_drm_front_gem.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-30 08:18:51 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-07-15 18:11:30 +0200
commit2ea2269e296a0c15387b40362410c1569e77502c (patch)
tree3e515e0fa845a32246ded47073f9a33812caf24e /drivers/gpu/drm/xen/xen_drm_front_gem.h
parentc3bbb48e0c548badb71d8339d95974febb33991d (diff)
downloadlinux-2ea2269e296a0c15387b40362410c1569e77502c.tar.gz
linux-2ea2269e296a0c15387b40362410c1569e77502c.tar.bz2
linux-2ea2269e296a0c15387b40362410c1569e77502c.zip
drm/xen: drop use of drmP.h
The drmP.h header is deprecated. Drop all uses. Added includes/forwards to the header files and then fixed fallout in the .c files. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Acked-by: Emil Velikov <emil.velikov@collabora.com> Cc: xen-devel@lists.xenproject.org Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-3-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/xen/xen_drm_front_gem.h')
-rw-r--r--drivers/gpu/drm/xen/xen_drm_front_gem.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xen/xen_drm_front_gem.h b/drivers/gpu/drm/xen/xen_drm_front_gem.h
index d5ab734fdafe..a39675fa31b2 100644
--- a/drivers/gpu/drm/xen/xen_drm_front_gem.h
+++ b/drivers/gpu/drm/xen/xen_drm_front_gem.h
@@ -11,7 +11,12 @@
#ifndef __XEN_DRM_FRONT_GEM_H
#define __XEN_DRM_FRONT_GEM_H
-#include <drm/drmP.h>
+struct dma_buf_attachment;
+struct drm_device;
+struct drm_gem_object;
+struct file;
+struct sg_table;
+struct vm_area_struct;
struct drm_gem_object *xen_drm_front_gem_create(struct drm_device *dev,
size_t size);