summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-12-28 23:49:59 +0000
committerDave Airlie <airlied@linux.ie>2005-12-28 23:49:59 +0000
commitb14d15ac41c0af5093e37a47124f0995e10c3016 (patch)
tree182ae8bec302408b70fa4631805d894b6d1f6f11 /linux-core
parent4c988520a851ed42c1dd9e9f7cda2e79f5a23fc7 (diff)
Add vblank support to i915 DRM..
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i915_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 5efa4420..a28bce7e 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -45,11 +45,12 @@ static struct drm_driver driver = {
*/
.driver_features =
DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR | */
- DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
+ DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | DRIVER_IRQ_VBL,
.load = i915_driver_load,
.lastclose = i915_driver_lastclose,
.preclose = i915_driver_preclose,
.device_is_agp = i915_driver_device_is_agp,
+ .vblank_wait = i915_driver_vblank_wait,
.irq_preinstall = i915_driver_irq_preinstall,
.irq_postinstall = i915_driver_irq_postinstall,
.irq_uninstall = i915_driver_irq_uninstall,