drm/i915: Remove dead scaler register defines
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Apr 2023 13:50:14 +0000 (16:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 4 May 2023 13:00:29 +0000 (16:00 +0300)
We have some duplicated scaler register defines that are
never used. Remove them.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230426135019.7603-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h

index faf8ea6..c050b9b 100644 (file)
 #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
  */