[Intel-gfx] [PATCH 10/15] drm/i915: Remove dead scaler register defines
Jani Nikula
jani.nikula at linux.intel.com
Wed Apr 19 15:35:55 UTC 2023
On Tue, 18 Apr 2023, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> We have some duplicated scaler register defines that are
> never used. Remove them.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
> ---
> drivers/gpu/drm/i915/i915_reg.h | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 75e1f30adda1..919d999a2345 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -4041,18 +4041,6 @@
> #define PF_VSCALE(pipe) _MMIO_PIPE(pipe, _PFA_VSCALE, _PFB_VSCALE)
> #define PF_HSCALE(pipe) _MMIO_PIPE(pipe, _PFA_HSCALE, _PFB_HSCALE)
>
> -#define _PSA_CTL 0x68180
> -#define _PSB_CTL 0x68980
> -#define PS_ENABLE (1 << 31)
> -#define _PSA_WIN_SZ 0x68174
> -#define _PSB_WIN_SZ 0x68974
> -#define _PSA_WIN_POS 0x68170
> -#define _PSB_WIN_POS 0x68970
> -
> -#define PS_CTL(pipe) _MMIO_PIPE(pipe, _PSA_CTL, _PSB_CTL)
> -#define PS_WIN_SZ(pipe) _MMIO_PIPE(pipe, _PSA_WIN_SZ, _PSB_WIN_SZ)
> -#define PS_WIN_POS(pipe) _MMIO_PIPE(pipe, _PSA_WIN_POS, _PSB_WIN_POS)
> -
> /*
> * Skylake scalers
> */
--
Jani Nikula, Intel Open Source Graphics Center
More information about the Intel-gfx
mailing list