aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-12-12 22:34:16 -0500
committerKeith Packard <keithp@keithp.com>2012-01-03 12:09:45 -0500
commit4d85529d584856d077895a2daa703224d3aee7e1 (patch)
tree0ea1a53cb4437d0cd3669792b775300d1677522d /drivers/gpu/drm/i915/i915_reg.h
parent6ed55ee7da15329476174bc5821dbc723f671f44 (diff)
drm/i915: drpc debugfs update for gen6
Many of the old fields from Ironlake have gone away. Strip all those fields, and try to update to fields people care about. RC information isn't exactly ideal anymore. All we can guarantee when we read the register is that we're not using forcewake, ie. the software isn't forcing the hardware to stay awake. The downside is that in doing this we may wait a while and that causes an unnaturally idle state on the GPU. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42578 Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 583e8c7569fa..44eabb088b48 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3563,6 +3563,14 @@
3563#define GEN6_PCODE_DATA 0x138128 3563#define GEN6_PCODE_DATA 0x138128
3564#define GEN6_PCODE_FREQ_IA_RATIO_SHIFT 8 3564#define GEN6_PCODE_FREQ_IA_RATIO_SHIFT 8
3565 3565
3566#define GEN6_GT_CORE_STATUS 0x138060
3567#define GEN6_CORE_CPD_STATE_MASK (7<<4)
3568#define GEN6_RCn_MASK 7
3569#define GEN6_RC0 0
3570#define GEN6_RC3 2
3571#define GEN6_RC6 3
3572#define GEN6_RC7 4
3573
3566#define G4X_AUD_VID_DID 0x62020 3574#define G4X_AUD_VID_DID 0x62020
3567#define INTEL_AUDIO_DEVCL 0x808629FB 3575#define INTEL_AUDIO_DEVCL 0x808629FB
3568#define INTEL_AUDIO_DEVBLC 0x80862801 3576#define INTEL_AUDIO_DEVBLC 0x80862801