diff mbox series

[09/10] drm/xe/display: reduce includes in compat i915_drv.h

Message ID ada73d5e3565b1cc284405386a16cc74d79bbb05.1717004739.git.jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915 and drm/xe display and compat cleanups | expand

Commit Message

Jani Nikula May 29, 2024, 5:48 p.m. UTC
Remove some unnecessary includes, and replace xe_device.h with the
sufficient xe_device_types.h.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Rodrigo Vivi May 31, 2024, 12:09 p.m. UTC | #1
On Wed, May 29, 2024 at 08:48:13PM +0300, Jani Nikula wrote:
> Remove some unnecessary includes, and replace xe_device.h with the
> sufficient xe_device_types.h.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

> 
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>  drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> 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 fb37da4850c5..2feedddf1e40 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 <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)
>  {
> -- 
> 2.39.2
>
diff mbox series

Patch

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 fb37da4850c5..2feedddf1e40 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 <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)
 {