summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-05-11 09:42:30 -0700
committerKeith Packard <keithp@keithp.com>2011-05-13 18:12:53 -0700
commit28963a3eb5e2ae861995c2f7c15c7de982b3ce0e (patch)
tree6cd26a0f5257896d82b2fa88269615d0fc8b485b /drivers/gpu/drm/i915/i915_reg.h
parent4593010b68247e6bed746da4e15f66f06e239e28 (diff)
downloadblackbird-op-linux-28963a3eb5e2ae861995c2f7c15c7de982b3ce0e.tar.gz
blackbird-op-linux-28963a3eb5e2ae861995c2f7c15c7de982b3ce0e.zip
drm/i915: add Ivybridge clock gating init function
Some of the bits have changed, including one we were setting that enables a VGA test mode, preventing pipe B from working at all. So add a new IVB specific function with the right bits. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Keith Packard <keithp@keithp.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index f1bc0fb6a72c..160903adf706 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -2825,6 +2825,7 @@
#define ILK_eDP_A_DISABLE (1<<24)
#define ILK_DESKTOP (1<<23)
#define ILK_DSPCLK_GATE 0x42020
+#define IVB_VRHUNIT_CLK_GATE (1<<28)
#define ILK_DPARB_CLK_GATE (1<<5)
#define ILK_DPFD_CLK_GATE (1<<7)
OpenPOWER on IntegriCloud