aboutsummaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2007-01-24 16:33:21 +0800
committerZou Nan hai <nanhai.zou@intel.com>2007-01-24 16:33:21 +0800
commit7d4e6b1445d4c734f1dd6070ffa041c42e649e91 (patch)
tree86b83e2e8b80ae41c8f4afcd5e1bcfd9484037e6 /shared-core/i915_drv.h
parent19ba0749384994662e0d6167c70cc6fbd78eb0ff (diff)
vblank interrupt fix
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 98f58940..ef9f3638 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -254,6 +254,12 @@ extern int i915_wait_ring(drm_device_t * dev, int n, const char *caller);
#define I915REG_INT_ENABLE_R 0x020a0
#define I915REG_INSTPM 0x020c0
+#define I915REG_PIPEASTAT 0x70024
+#define I915REG_PIPEBSTAT 0x71024
+
+#define I915_VBLANK_INTERRUPT_ENABLE (1UL<<17)
+#define I915_VBLANK_CLEAR (1UL<<1)
+
#define SRX_INDEX 0x3c4
#define SRX_DATA 0x3c5
#define SR01 1