diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-01-13 01:25:03 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-12 22:05:59 +0300 |
commit | 0f06dc101972d598d1c6bb356436c3dbf1e4b646 (patch) | |
tree | 5c7188145bc70047a8732ea9c2e12831cd660a64 /drivers/gpu/drm/xe/xe_pcode.c | |
parent | dd08ebf6c3525a7ea2186e636df064ea47281987 (diff) | |
download | linux-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_pcode.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_pcode.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_pcode.c b/drivers/gpu/drm/xe/xe_pcode.c index 236159c8a6c0..313ccd70d1a9 100644 --- a/drivers/gpu/drm/xe/xe_pcode.c +++ b/drivers/gpu/drm/xe/xe_pcode.c @@ -11,6 +11,13 @@ #include <linux/errno.h> +#include <linux/delay.h> +/* + * FIXME: This header has been deemed evil and we need to kill it. Temporarily + * including so we can use 'wait_for'. + */ +#include "i915_utils.h" + /** * DOC: PCODE * |