aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/i915_drv.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2007-12-02 01:23:11 -0500
committerRobert Noland <rnoland@2hip.net>2007-12-02 01:23:11 -0500
commitfbc307274f7cb29f986daae3d8e367d53172e3ba (patch)
treeb945d638f0bba3a77f991a526ca31857806769ee /bsd-core/i915_drv.c
parent787d500c15c964f2a715ea0c949177c1d38dc367 (diff)
bsd: Now make secondary vblank work
We needed to specifically check for driver support and test the correct vbl_received value. Also pulled over support for _DRM_VBLANK_NEXTONMISS from the linux code.
Diffstat (limited to 'bsd-core/i915_drv.c')
-rw-r--r--bsd-core/i915_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/i915_drv.c b/bsd-core/i915_drv.c
index 5150cf9f..e8897fbe 100644
--- a/bsd-core/i915_drv.c
+++ b/bsd-core/i915_drv.c
@@ -69,6 +69,7 @@ static void i915_configure(drm_device_t *dev)
dev->driver.use_mtrr = 1;
dev->driver.use_irq = 1;
dev->driver.use_vbl_irq = 1;
+ dev->driver.use_vbl_irq2 = 1;
}
#ifdef __FreeBSD__