diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
| -rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 47baf2fe8f71..0a7d60509ca7 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
| @@ -4570,6 +4570,7 @@ enum { | |||
| 4570 | * of the infoframe structure specified by CEA-861. */ | 4570 | * of the infoframe structure specified by CEA-861. */ |
| 4571 | #define VIDEO_DIP_DATA_SIZE 32 | 4571 | #define VIDEO_DIP_DATA_SIZE 32 |
| 4572 | #define VIDEO_DIP_VSC_DATA_SIZE 36 | 4572 | #define VIDEO_DIP_VSC_DATA_SIZE 36 |
| 4573 | #define VIDEO_DIP_PPS_DATA_SIZE 132 | ||
| 4573 | #define VIDEO_DIP_CTL _MMIO(0x61170) | 4574 | #define VIDEO_DIP_CTL _MMIO(0x61170) |
| 4574 | /* Pre HSW: */ | 4575 | /* Pre HSW: */ |
| 4575 | #define VIDEO_DIP_ENABLE (1 << 31) | 4576 | #define VIDEO_DIP_ENABLE (1 << 31) |
| @@ -4617,6 +4618,17 @@ enum { | |||
| 4617 | #define _PP_STATUS 0x61200 | 4618 | #define _PP_STATUS 0x61200 |
| 4618 | #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) | 4619 | #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) |
| 4619 | #define PP_ON (1 << 31) | 4620 | #define PP_ON (1 << 31) |
| 4621 | |||
| 4622 | #define _PP_CONTROL_1 0xc7204 | ||
| 4623 | #define _PP_CONTROL_2 0xc7304 | ||
| 4624 | #define ICP_PP_CONTROL(x) _MMIO(((x) == 1) ? _PP_CONTROL_1 : \ | ||
| 4625 | _PP_CONTROL_2) | ||
| 4626 | #define POWER_CYCLE_DELAY_MASK (0x1f << 4) | ||
| 4627 | #define POWER_CYCLE_DELAY_SHIFT 4 | ||
| 4628 | #define VDD_OVERRIDE_FORCE (1 << 3) | ||
| 4629 | #define BACKLIGHT_ENABLE (1 << 2) | ||
| 4630 | #define PWR_DOWN_ON_RESET (1 << 1) | ||
| 4631 | #define PWR_STATE_TARGET (1 << 0) | ||
| 4620 | /* | 4632 | /* |
| 4621 | * Indicates that all dependencies of the panel are on: | 4633 | * Indicates that all dependencies of the panel are on: |
| 4622 | * | 4634 | * |
| @@ -7750,6 +7762,7 @@ enum { | |||
| 7750 | #define ICP_DDIB_HPD_LONG_DETECT (2 << 4) | 7762 | #define ICP_DDIB_HPD_LONG_DETECT (2 << 4) |
| 7751 | #define ICP_DDIB_HPD_SHORT_LONG_DETECT (3 << 4) | 7763 | #define ICP_DDIB_HPD_SHORT_LONG_DETECT (3 << 4) |
| 7752 | #define ICP_DDIA_HPD_ENABLE (1 << 3) | 7764 | #define ICP_DDIA_HPD_ENABLE (1 << 3) |
| 7765 | #define ICP_DDIA_HPD_OP_DRIVE_1 (1 << 2) | ||
| 7753 | #define ICP_DDIA_HPD_STATUS_MASK (3 << 0) | 7766 | #define ICP_DDIA_HPD_STATUS_MASK (3 << 0) |
| 7754 | #define ICP_DDIA_HPD_NO_DETECT (0 << 0) | 7767 | #define ICP_DDIA_HPD_NO_DETECT (0 << 0) |
| 7755 | #define ICP_DDIA_HPD_SHORT_DETECT (1 << 0) | 7768 | #define ICP_DDIA_HPD_SHORT_DETECT (1 << 0) |
| @@ -9197,6 +9210,7 @@ enum skl_power_gate { | |||
| 9197 | #define _DP_TP_CTL_B 0x64140 | 9210 | #define _DP_TP_CTL_B 0x64140 |
| 9198 | #define DP_TP_CTL(port) _MMIO_PORT(port, _DP_TP_CTL_A, _DP_TP_CTL_B) | 9211 | #define DP_TP_CTL(port) _MMIO_PORT(port, _DP_TP_CTL_A, _DP_TP_CTL_B) |
| 9199 | #define DP_TP_CTL_ENABLE (1 << 31) | 9212 | #define DP_TP_CTL_ENABLE (1 << 31) |
| 9213 | #define DP_TP_CTL_FEC_ENABLE (1 << 30) | ||
| 9200 | #define DP_TP_CTL_MODE_SST (0 << 27) | 9214 | #define DP_TP_CTL_MODE_SST (0 << 27) |
| 9201 | #define DP_TP_CTL_MODE_MST (1 << 27) | 9215 | #define DP_TP_CTL_MODE_MST (1 << 27) |
| 9202 | #define DP_TP_CTL_FORCE_ACT (1 << 25) | 9216 | #define DP_TP_CTL_FORCE_ACT (1 << 25) |
| @@ -9215,6 +9229,7 @@ enum skl_power_gate { | |||
| 9215 | #define _DP_TP_STATUS_A 0x64044 | 9229 | #define _DP_TP_STATUS_A 0x64044 |
| 9216 | #define _DP_TP_STATUS_B 0x64144 | 9230 | #define _DP_TP_STATUS_B 0x64144 |
| 9217 | #define DP_TP_STATUS(port) _MMIO_PORT(port, _DP_TP_STATUS_A, _DP_TP_STATUS_B) | 9231 | #define DP_TP_STATUS(port) _MMIO_PORT(port, _DP_TP_STATUS_A, _DP_TP_STATUS_B) |
| 9232 | #define DP_TP_STATUS_FEC_ENABLE_LIVE (1 << 28) | ||
| 9218 | #define DP_TP_STATUS_IDLE_DONE (1 << 25) | 9233 | #define DP_TP_STATUS_IDLE_DONE (1 << 25) |
| 9219 | #define DP_TP_STATUS_ACT_SENT (1 << 24) | 9234 | #define DP_TP_STATUS_ACT_SENT (1 << 24) |
| 9220 | #define DP_TP_STATUS_MODE_STATUS_MST (1 << 23) | 9235 | #define DP_TP_STATUS_MODE_STATUS_MST (1 << 23) |
