summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_gt_mcr.c
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2023-01-13 01:25:03 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-12 22:05:59 +0300
commit0f06dc101972d598d1c6bb356436c3dbf1e4b646 (patch)
tree5c7188145bc70047a8732ea9c2e12831cd660a64 /drivers/gpu/drm/xe/xe_gt_mcr.c
parentdd08ebf6c3525a7ea2186e636df064ea47281987 (diff)
downloadlinux-0f06dc101972d598d1c6bb356436c3dbf1e4b646.tar.xz
drm/xe: Implement a local xe_mmio_wait32
Then, move the i915_utils.h include to its user. The overall goal is to kill all the usages of the i915_utils stuff. Yes, wait_for also depends on <linux/delay.h>, so they go together to where it is needed. It will be likely needed anyway directly for udelay or usleep_range. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt_mcr.c')
-rw-r--r--drivers/gpu/drm/xe/xe_gt_mcr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c
index b69c0d6c6b2f..8add5ec9a307 100644
--- a/drivers/gpu/drm/xe/xe_gt_mcr.c
+++ b/drivers/gpu/drm/xe/xe_gt_mcr.c
@@ -11,6 +11,13 @@
#include "gt/intel_gt_regs.h"
+#include <linux/delay.h>
+/*
+ * FIXME: This header has been deemed evil and we need to kill it. Temporar
+ * including so we can use 'wait_for'.
+ */
+#include "i915_utils.h"
+
/**
* DOC: GT Multicast/Replicated (MCR) Register Support
*