aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-04-06 15:13:38 -0400
committerKeith Packard <keithp@keithp.com>2011-05-13 20:09:52 -0400
commitb1f14ad01ab09f5e22fb1240a6a158a23527ff14 (patch)
tree70054e09564a91f72939f1fa2efa2edefb8677c2 /drivers/gpu/drm/i915/i915_reg.h
parentfe100d4da1ba8e0be9f38979da1817145e68f866 (diff)
drm/i915: interrupt & vblank support for Ivy Bridge
Add new interrupt handling functions for Ivy Bridge. 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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index ea12ca01ef63..8f70fb65b496 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -2778,6 +2778,19 @@
2778#define DE_PIPEA_VSYNC (1 << 3) 2778#define DE_PIPEA_VSYNC (1 << 3)
2779#define DE_PIPEA_FIFO_UNDERRUN (1 << 0) 2779#define DE_PIPEA_FIFO_UNDERRUN (1 << 0)
2780 2780
2781/* More Ivybridge lolz */
2782#define DE_ERR_DEBUG_IVB (1<<30)
2783#define DE_GSE_IVB (1<<29)
2784#define DE_PCH_EVENT_IVB (1<<28)
2785#define DE_DP_A_HOTPLUG_IVB (1<<27)
2786#define DE_AUX_CHANNEL_A_IVB (1<<26)
2787#define DE_SPRITEB_FLIP_DONE_IVB (1<<9)
2788#define DE_SPRITEA_FLIP_DONE_IVB (1<<4)
2789#define DE_PLANEB_FLIP_DONE_IVB (1<<8)
2790#define DE_PLANEA_FLIP_DONE_IVB (1<<3)
2791#define DE_PIPEB_VBLANK_IVB (1<<5)
2792#define DE_PIPEA_VBLANK_IVB (1<<0)
2793
2781#define DEISR 0x44000 2794#define DEISR 0x44000
2782#define DEIMR 0x44004 2795#define DEIMR 0x44004
2783#define DEIIR 0x44008 2796#define DEIIR 0x44008