summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_prime.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-08 17:12:35 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-03-09 18:18:02 +0300
commitc6bb9baa03b1ed413ebd449d9d7f9389fda1f309 (patch)
tree7c2eb7f78e9fb73a4ff6e7d9dea2fa67aec65c7f /drivers/gpu/drm/drm_prime.c
parentaabbcab6db535a3342876cdaa5c941d569e72589 (diff)
downloadlinux-c6bb9baa03b1ed413ebd449d9d7f9389fda1f309.tar.xz
drm: Extract drm_prime.h
Plus a little bit more documentation. v2: Untangle the missing forward decls to make drm_prime|gem.h free-standing. Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-3-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_prime.c')
-rw-r--r--drivers/gpu/drm/drm_prime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c
index 866b294e7c61..9fb65b736a90 100644
--- a/drivers/gpu/drm/drm_prime.c
+++ b/drivers/gpu/drm/drm_prime.c
@@ -29,8 +29,9 @@
#include <linux/export.h>
#include <linux/dma-buf.h>
#include <linux/rbtree.h>
-#include <drm/drmP.h>
+#include <drm/drm_prime.h>
#include <drm/drm_gem.h>
+#include <drm/drmP.h>
#include "drm_internal.h"