aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 31de7e4b1f3e..66fb8dd28225 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -4315,6 +4315,7 @@
4315#define GEN6_RC_CTL_RC6_ENABLE (1<<18) 4315#define GEN6_RC_CTL_RC6_ENABLE (1<<18)
4316#define GEN6_RC_CTL_RC1e_ENABLE (1<<20) 4316#define GEN6_RC_CTL_RC1e_ENABLE (1<<20)
4317#define GEN6_RC_CTL_RC7_ENABLE (1<<22) 4317#define GEN6_RC_CTL_RC7_ENABLE (1<<22)
4318#define GEN7_RC_CTL_TO_MODE (1<<28)
4318#define GEN6_RC_CTL_EI_MODE(x) ((x)<<27) 4319#define GEN6_RC_CTL_EI_MODE(x) ((x)<<27)
4319#define GEN6_RC_CTL_HW_ENABLE (1<<31) 4320#define GEN6_RC_CTL_HW_ENABLE (1<<31)
4320#define GEN6_RP_DOWN_TIMEOUT 0xA010 4321#define GEN6_RP_DOWN_TIMEOUT 0xA010
@@ -4406,12 +4407,32 @@
4406#define IOSF_BAR_SHIFT 1 4407#define IOSF_BAR_SHIFT 1
4407#define IOSF_SB_BUSY (1<<0) 4408#define IOSF_SB_BUSY (1<<0)
4408#define IOSF_PORT_PUNIT 0x4 4409#define IOSF_PORT_PUNIT 0x4
4410#define IOSF_PORT_NC 0x11
4409#define VLV_IOSF_DATA 0x182104 4411#define VLV_IOSF_DATA 0x182104
4410#define VLV_IOSF_ADDR 0x182108 4412#define VLV_IOSF_ADDR 0x182108
4411 4413
4412#define PUNIT_OPCODE_REG_READ 6 4414#define PUNIT_OPCODE_REG_READ 6
4413#define PUNIT_OPCODE_REG_WRITE 7 4415#define PUNIT_OPCODE_REG_WRITE 7
4414 4416
4417#define PUNIT_REG_GPU_LFM 0xd3
4418#define PUNIT_REG_GPU_FREQ_REQ 0xd4
4419#define PUNIT_REG_GPU_FREQ_STS 0xd8
4420#define PUNIT_REG_MEDIA_TURBO_FREQ_REQ 0xdc
4421
4422#define PUNIT_FUSE_BUS2 0xf6 /* bits 47:40 */
4423#define PUNIT_FUSE_BUS1 0xf5 /* bits 55:48 */
4424
4425#define IOSF_NC_FB_GFX_FREQ_FUSE 0x1c
4426#define FB_GFX_MAX_FREQ_FUSE_SHIFT 3
4427#define FB_GFX_MAX_FREQ_FUSE_MASK 0x000007f8
4428#define FB_GFX_FGUARANTEED_FREQ_FUSE_SHIFT 11
4429#define FB_GFX_FGUARANTEED_FREQ_FUSE_MASK 0x0007f800
4430#define IOSF_NC_FB_GFX_FMAX_FUSE_HI 0x34
4431#define FB_FMAX_VMIN_FREQ_HI_MASK 0x00000007
4432#define IOSF_NC_FB_GFX_FMAX_FUSE_LO 0x30
4433#define FB_FMAX_VMIN_FREQ_LO_SHIFT 27
4434#define FB_FMAX_VMIN_FREQ_LO_MASK 0xf8000000
4435
4415#define GEN6_GT_CORE_STATUS 0x138060 4436#define GEN6_GT_CORE_STATUS 0x138060
4416#define GEN6_CORE_CPD_STATE_MASK (7<<4) 4437#define GEN6_CORE_CPD_STATE_MASK (7<<4)
4417#define GEN6_RCn_MASK 7 4438#define GEN6_RCn_MASK 7