On Thu, 05 Nov 2026, Ville Syrjala <[email protected]> wrote:
> From: Ville Syrjälä <[email protected]>
>
> intel_uncore_{read,write}() are no longer needed by the
> display code. Remove them.
>
> Signed-off-by: Ville Syrjälä <[email protected]>

Yay.

Reviewed-by: Jani Nikula <[email protected]>


> ---
>  .../drm/xe/compat-i915-headers/intel_uncore.h    | 16 ----------------
>  1 file changed, 16 deletions(-)
>
> 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 2f198e2e2fec..238addc1e5fc 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
> @@ -23,14 +23,6 @@ static inline struct xe_mmio 
> *__compat_uncore_to_mmio(struct intel_uncore *uncor
>       return xe_root_tile_mmio(xe);
>  }
>  
> -static inline u32 intel_uncore_read(struct intel_uncore *uncore,
> -                                 i915_reg_t i915_reg)
> -{
> -     struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg));
> -
> -     return xe_mmio_read32(__compat_uncore_to_mmio(uncore), reg);
> -}
> -
>  static inline u8 intel_uncore_read8(struct intel_uncore *uncore,
>                                   i915_reg_t i915_reg)
>  {
> @@ -55,14 +47,6 @@ static inline u16 intel_uncore_read16(struct intel_uncore 
> *uncore,
>       return xe_mmio_read16(__compat_uncore_to_mmio(uncore), reg);
>  }
>  
> -static inline void intel_uncore_write(struct intel_uncore *uncore,
> -                                   i915_reg_t i915_reg, u32 val)
> -{
> -     struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg));
> -
> -     xe_mmio_write32(__compat_uncore_to_mmio(uncore), reg, val);
> -}
> -
>  static inline u32 intel_uncore_read_fw(struct intel_uncore *uncore,
>                                      i915_reg_t i915_reg)
>  {

-- 
Jani Nikula, Intel

Reply via email to