aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-01-08 14:29:39 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-01-09 16:54:08 -0500
commit785cabaae94e23954d0cb93aad1ac1214606be7d (patch)
tree8334753c2bc6f2e274ebce1c44b6a9d405c760a2
parent84056e9b45f7a1a1284f33343551ae21bc3c2cc1 (diff)
drm: remove drmP.h from drm_gem_cma_helper.h
With all dependencies fixed we can now remove drmP.h from drm_gem_cma_helper.h. It is replaced by the include files required, or forward declarations as appropritate. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Noralf Trønnes <noralf@tronnes.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190108192939.15255-13-sam@ravnborg.org
-rw-r--r--include/drm/drm_gem_cma_helper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_gem_cma_helper.h b/include/drm/drm_gem_cma_helper.h
index 07c504940ba1..947ac95eb24a 100644
--- a/include/drm/drm_gem_cma_helper.h
+++ b/include/drm/drm_gem_cma_helper.h
@@ -2,9 +2,12 @@
2#ifndef __DRM_GEM_CMA_HELPER_H__ 2#ifndef __DRM_GEM_CMA_HELPER_H__
3#define __DRM_GEM_CMA_HELPER_H__ 3#define __DRM_GEM_CMA_HELPER_H__
4 4
5#include <drm/drmP.h> 5#include <drm/drm_file.h>
6#include <drm/drm_ioctl.h>
6#include <drm/drm_gem.h> 7#include <drm/drm_gem.h>
7 8
9struct drm_mode_create_dumb;
10
8/** 11/**
9 * struct drm_gem_cma_object - GEM object backed by CMA memory allocations 12 * struct drm_gem_cma_object - GEM object backed by CMA memory allocations
10 * @base: base GEM object 13 * @base: base GEM object