[PATCH 05/10] drm/i915/display: include intel_step.h where needed
Jani Nikula
jani.nikula at intel.com
Wed May 29 17:48:09 UTC 2024
Include what you use. With this, we can drop the include along with
xe_step.h from xe compat i915_drv.h.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/display/intel_dmc.c | 1 +
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dmc.c b/drivers/gpu/drm/i915/display/intel_dmc.c
index b5ebb0f5b269..852c11aa3205 100644
--- a/drivers/gpu/drm/i915/display/intel_dmc.c
+++ b/drivers/gpu/drm/i915/display/intel_dmc.c
@@ -31,6 +31,7 @@
#include "intel_de.h"
#include "intel_dmc.h"
#include "intel_dmc_regs.h"
+#include "intel_step.h"
/**
* DOC: DMC Firmware Support
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 e5966f07a924..3e930ce25c90 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -18,10 +18,8 @@
#include "xe_device.h"
#include "xe_bo.h"
#include "xe_pm.h"
-#include "xe_step.h"
#include "i915_reg_defs.h"
#include "i915_utils.h"
-#include "intel_step.h"
#include "intel_runtime_pm.h"
#include <linux/pm_runtime.h>
--
2.39.2
More information about the Intel-gfx
mailing list