drm: Remove unnecessary junk from drm_crtc.h
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Jun 2022 20:03:14 +0000 (23:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 30 Jun 2022 19:07:29 +0000 (22:07 +0300)
drm_crtc.h is including several entirely unnecessary headers,
and also contains unused forward declarations. Remove it all.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220613200317.11305-6-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
include/drm/drm_crtc.h

index c404b6e..1cbd956 100644 (file)
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/fb.h>
-#include <linux/hdmi.h>
 #include <linux/media-bus-format.h>
-#include <uapi/drm/drm_mode.h>
-#include <uapi/drm/drm_fourcc.h>
 #include <drm/drm_modeset_lock.h>
-#include <drm/drm_rect.h>
 #include <drm/drm_mode_object.h>
 #include <drm/drm_modes.h>
 #include <drm/drm_device.h>
-#include <drm/drm_property.h>
 #include <drm/drm_plane.h>
-#include <drm/drm_color_mgmt.h>
 #include <drm/drm_debugfs_crc.h>
 #include <drm/drm_mode_config.h>
 
@@ -49,11 +43,9 @@ struct drm_device;
 struct drm_framebuffer;
 struct drm_mode_set;
 struct drm_file;
-struct drm_clip_rect;
 struct drm_printer;
 struct drm_self_refresh_data;
 struct device_node;
-struct dma_fence;
 struct edid;
 
 static inline int64_t U642I64(uint64_t val)