From: Jani Nikula Date: Wed, 29 May 2024 17:48:13 +0000 (+0300) Subject: drm/xe/display: reduce includes in compat i915_drv.h X-Git-Tag: v6.11-rc1~141^2~20^2~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ddb4f80990407c3262bde7867d288967b8da6b8;p=thirdparty%2Fkernel%2Flinux.git drm/xe/display: reduce includes in compat i915_drv.h Remove some unnecessary includes, and replace xe_device.h with the sufficient xe_device_types.h. Reviewed-by: Rodrigo Vivi Acked-by: Rodrigo Vivi Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/ada73d5e3565b1cc284405386a16cc74d79bbb05.1717004739.git.jani.nikula@intel.com --- diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h index c9554eeaf468a..a5dbdaf283b21 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -12,11 +12,9 @@ #include -#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) {