Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: prepare for drmP.h removal from drm_modeset_helper.h

The use of drmP.h is discouraged and removal of it from
drm_modeset_helper.h caused drm/ to fail to build.

This patch introduce the necessary fixes to prepare for the
drmP.h removal from drm_modeset_helper.h.

Build tested on x86, arm, alpha, ia64 allmodconfig/allyesconfig.

Signed-off-by: Sam Ravnborg <sam@ravnborg.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/20190126122527.11647-5-sam@ravnborg.org

authored by

Sam Ravnborg and committed by
Daniel Vetter
d713e330 7d0b0ada

+3
+1
drivers/gpu/drm/drm_damage_helper.c
··· 32 32 33 33 #include <drm/drm_atomic.h> 34 34 #include <drm/drm_damage_helper.h> 35 + #include <drm/drm_device.h> 35 36 36 37 /** 37 38 * DOC: overview
+2
drivers/gpu/drm/drm_modeset_helper.c
··· 22 22 23 23 #include <drm/drm_atomic_helper.h> 24 24 #include <drm/drm_fb_helper.h> 25 + #include <drm/drm_fourcc.h> 25 26 #include <drm/drm_modeset_helper.h> 26 27 #include <drm/drm_plane_helper.h> 28 + #include <drm/drm_print.h> 27 29 #include <drm/drm_probe_helper.h> 28 30 29 31 /**