drm/i915: remove ICP_PP_CONTROL
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 8 Mar 2019 23:23:21 +0000 (15:23 -0800)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Feb 2020 16:54:30 +0000 (18:54 +0200)
This register was placed in the middle of the PP_STATUS definition
instead of together with the PP_CONTROL where it should. Since it's not
used and there are no current plans to use it, just remove the
definition.

v2: remove the define rather than moving it.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190308232321.30168-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_reg.h

index f45b5e8..b273814 100644 (file)
@@ -4860,16 +4860,6 @@ enum {
 #define _PP_STATUS                     0x61200
 #define PP_STATUS(pps_idx)             _MMIO_PPS(pps_idx, _PP_STATUS)
 #define   PP_ON                                REG_BIT(31)
-
-#define _PP_CONTROL_1                  0xc7204
-#define _PP_CONTROL_2                  0xc7304
-#define ICP_PP_CONTROL(x)              _MMIO(((x) == 1) ? _PP_CONTROL_1 : \
-                                             _PP_CONTROL_2)
-#define  POWER_CYCLE_DELAY_MASK                REG_GENMASK(8, 4)
-#define  VDD_OVERRIDE_FORCE            REG_BIT(3)
-#define  BACKLIGHT_ENABLE              REG_BIT(2)
-#define  PWR_DOWN_ON_RESET             REG_BIT(1)
-#define  PWR_STATE_TARGET              REG_BIT(0)
 /*
  * Indicates that all dependencies of the panel are on:
  *