drm/arc: do not reply on drmP.h from drm_gem_cma_helper.h
Subsystems (2)
PATCH v2 11/14 drm/arc: do not reply on drmP.h from drm_gem_cma_helper.h
drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and
as a step towards this it will no longer be included in the headers files in include/drm/
To prepare arc/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h
--- drivers/gpu/drm/arc/arcpgu_crtc.c | 2 ++ drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++++++ 2 files changed, 8 insertions(+)
drivers/gpu/drm/arc/arcpgu_crtc.c +2 -0
@@ -16,8 +16,10 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_device.h> #include <drm/drm_fb_cma_helper.h> #include <drm/drm_gem_cma_helper.h> +#include <drm/drm_vblank.h> #include <drm/drm_plane_helper.h> #include <linux/clk.h> #include <linux/platform_data/simplefb.h>
drivers/gpu/drm/arc/arcpgu_drv.c +6 -0
@@ -16,12 +16,18 @@#include <linux/clk.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_device.h> +#include <drm/drm_debugfs.h> +#include <drm/drm_drv.h> #include <drm/drm_fb_cma_helper.h> #include <drm/drm_fb_helper.h> #include <drm/drm_gem_cma_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_atomic_helper.h> +#include <linux/dma-mapping.h> +#include <linux/module.h> #include <linux/of_reserved_mem.h> +#include <linux/platform_device.h> #include "arcpgu.h" #include "arcpgu_regs.h"
Signature · 6 lines
2.12.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Den 30.12.2018 18.48, skrev Sam Ravnborg:
Quoted 6 lines
drmP.hwas the only header file in the past and a lot of files rely on thatdrmP.hdefines everything. The goal is to one day to deletedrmP.hand
as a step towards this it will no longer be included in the headers files ininclude/drm/
Quoted 8 lines
To prepare arc/ for this add dependencies that othwewise was pulled in by
drmP.hfromdrm_gem_cma_helper.hSigned-off-by Sam Ravnborg <[email protected]>Cc Alexey Brodkin <[email protected]>Cc Daniel Vetter <[email protected]>Cc David Airlie <[email protected]>---
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel