drm: remove drmP.h from drm_gem_cma_helper.h
Subsystems (2)
PATCH v2 14/14 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 <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Sean Paul <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
--- include/drm/drm_gem_cma_helper.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
include/drm/drm_gem_cma_helper.h +4 -1
@@ -2,9 +2,12 @@#ifndef __DRM_GEM_CMA_HELPER_H__#define __DRM_GEM_CMA_HELPER_H__ -#include <drm/drmP.h> +#include <drm/drm_file.h> +#include <drm/drm_ioctl.h> #include <drm/drm_gem.h> +struct drm_mode_create_dumb ; +/** * struct drm_gem_cma_object - GEM object backed by CMA memory allocations * @base: base GEM object
Signature · 1 line
2.12.0
Den 30.12.2018 18.48, skrev Sam Ravnborg:
Quoted 5 lines
With all dependencies fixed we can now remove
drmP.hfromdrm_gem_cma_helper.h.
It is replaced by the include files required,
or forward declarations as appropritate.
Quoted 7 lines
Signed-off-by Sam Ravnborg <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Sean Paul <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>---
Acked-by Noralf Trønnes <[email protected]>
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel