]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm: drop drmP.h include from drm_plane.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Sep 2018 13:57:07 +0000 (15:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 9 Sep 2018 12:19:17 +0000 (14:19 +0200)
Just a bit of missing includes and pre declarations.

v2: Compiles now, with drm/drm_util.h extracted.

v3: Rebase

v3: Fix up commit message (Sam Ravnborg)

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180905135711.28370-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_plane.c
include/drm/drm_color_mgmt.h
include/drm/drm_plane.h
include/drm/drm_property.h

index b61322763394af2f3dd29f8a49e48a5dc85bf9d1..ff5e0d521c2135ecf45c77508cd6a318d85ee520 100644 (file)
  * and are not exported to drivers.
  */
 
+enum drm_mode_status;
+enum drm_connector_force;
+
+struct drm_display_mode;
+struct work_struct;
+struct drm_connector;
+struct drm_bridge;
+struct edid;
 
 /* drm_crtc.c */
 int drm_mode_crtc_set_obj_prop(struct drm_mode_object *obj,
index 6153cbda239fe6e6d6506503946c4119d77b7c46..36bf3fe9ad2187cfaafe24bdd421bf245839d846 100644 (file)
  * OF THIS SOFTWARE.
  */
 
-#include <drm/drmP.h>
+#include <linux/slab.h>
+#include <linux/uaccess.h>
+
 #include <drm/drm_plane.h>
+#include <drm/drm_drv.h>
+#include <drm/drm_print.h>
+#include <drm/drm_framebuffer.h>
+#include <drm/drm_file.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_fourcc.h>
+#include <drm/drm_vblank.h>
 
 #include "drm_crtc_internal.h"
 
index 44f04233e3db6527c10097b5212c5d52408037b6..90ef9996d9a4ab2896f34b1e87ad72e6cc44749c 100644 (file)
@@ -24,6 +24,7 @@
 #define __DRM_COLOR_MGMT_H__
 
 #include <linux/ctype.h>
+#include <drm/drm_property.h>
 
 struct drm_crtc;
 struct drm_plane;
index 6760e49d8c855c1dec5acb749b0618b35815409b..0a0834bef8bd2c0f8f54fac4511cd2fc46451dd9 100644 (file)
@@ -27,6 +27,8 @@
 #include <linux/ctype.h>
 #include <drm/drm_mode_object.h>
 #include <drm/drm_color_mgmt.h>
+#include <drm/drm_rect.h>
+#include <drm/drm_modeset_lock.h>
 #include <drm/drm_util.h>
 
 struct drm_crtc;
index c030f6ccab99cf469e603e55e550eeb8bc11f2f2..5b9efff35d6d2cfedff6a157e896f2a548eb934f 100644 (file)
@@ -27,6 +27,8 @@
 #include <linux/ctype.h>
 #include <drm/drm_mode_object.h>
 
+#include <uapi/drm/drm_mode.h>
+
 /**
  * struct drm_property_enum - symbolic values for enumerations
  * @value: numeric property value for this enum entry