drm/xe/display: reduce includes in compat i915_drv.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 May 2024 17:48:13 +0000 (20:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2024 13:00:21 +0000 (16:00 +0300)
Remove some unnecessary includes, and replace xe_device.h with the
sufficient xe_device_types.h.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ada73d5e3565b1cc284405386a16cc74d79bbb05.1717004739.git.jani.nikula@intel.com
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h

index c9554eeaf468a553e29da0183796a7ae643d9f04..a5dbdaf283b21034c60a6ad803f6e12d818ed509 100644 (file)
 
 #include <drm/drm_drv.h>
 
-#include "soc/intel_pch.h"
-#include "xe_device.h"
-#include "i915_reg_defs.h"
 #include "i915_utils.h"
 #include "intel_runtime_pm.h"
+#include "xe_device_types.h"
 
 static inline struct drm_i915_private *to_i915(const struct drm_device *dev)
 {