summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-05-29 20:48:13 +0300
committerJani Nikula <jani.nikula@intel.com>2024-06-06 16:00:21 +0300
commit3ddb4f80990407c3262bde7867d288967b8da6b8 (patch)
tree2a2dfdea14b02b4eac7525dc8aad386c5a5877e2
parentd242f39dd10164d3d82e1922277c16c1f3704687 (diff)
downloadlinux-3ddb4f80990407c3262bde7867d288967b8da6b8.tar.gz
linux-3ddb4f80990407c3262bde7867d288967b8da6b8.tar.bz2
linux-3ddb4f80990407c3262bde7867d288967b8da6b8.zip
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 <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
-rw-r--r--drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h4
1 files changed, 1 insertions, 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 c9554eeaf468..a5dbdaf283b2 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)
{