diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-05-29 19:48:11 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-06-06 15:00:09 +0200 |
commit | b67be58fafb21b6b75f792674ce8f9f5635694d1 (patch) | |
tree | 5fff64216f44148f9aef80c6f4a8751c2bb5ee0e /drivers/gpu/drm/xe | |
parent | drm/i915/display: include xe_bo.h, gem_object_types etc. where needed (diff) | |
download | linux-b67be58fafb21b6b75f792674ce8f9f5635694d1.tar.xz linux-b67be58fafb21b6b75f792674ce8f9f5635694d1.zip |
drm/xe/display: move compat uncore stubs to the correct file
Move things that belong to intel_uncore.h to the correct place.
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/3f3903c7c5e34aefac0f6d06e433710bc782c97e.1717004739.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe')
-rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h | 5 |
2 files changed, 5 insertions, 5 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 1da5e67cda29..0e9e833f945c 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -154,11 +154,6 @@ static inline void intel_runtime_pm_put(struct xe_runtime_pm *pm, intel_wakeref_ #define assert_rpm_wakelock_held(x) do { } while (0) #define assert_rpm_raw_wakeref_held(x) do { } while (0) -#define intel_uncore_forcewake_get(x, y) do { } while (0) -#define intel_uncore_forcewake_put(x, y) do { } while (0) - -#define intel_uncore_arm_unclaimed_mmio_detection(x) do { } while (0) - #define I915_PRIORITY_DISPLAY 0 struct i915_sched_attr { int priority; diff --git a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h index ef79793caa72..083c4da2ea41 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h @@ -172,4 +172,9 @@ static inline void __iomem *intel_uncore_regs(struct intel_uncore *uncore) #define raw_reg_write(base, reg, value) \ writel(value, base + i915_mmio_reg_offset(reg)) +#define intel_uncore_forcewake_get(x, y) do { } while (0) +#define intel_uncore_forcewake_put(x, y) do { } while (0) + +#define intel_uncore_arm_unclaimed_mmio_detection(x) do { } while (0) + #endif /* __INTEL_UNCORE_H__ */ |