Add the bits for vblank support on FreeBSD, which most importantly avoids

chasing a NULL pointer at the first 3d app invocation.
main
Eric Anholt 2006-05-17 05:44:39 +00:00
parent 7ea4a88fa3
commit dcfcf1a84d
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ static void i915_configure(drm_device_t *dev)
dev->driver.preclose = i915_driver_preclose;
dev->driver.lastclose = i915_driver_lastclose;
dev->driver.device_is_agp = i915_driver_device_is_agp,
dev->driver.vblank_wait = i915_driver_vblank_wait;
dev->driver.irq_preinstall = i915_driver_irq_preinstall;
dev->driver.irq_postinstall = i915_driver_irq_postinstall;
dev->driver.irq_uninstall = i915_driver_irq_uninstall;
@ -66,6 +67,7 @@ static void i915_configure(drm_device_t *dev)
dev->driver.require_agp = 1;
dev->driver.use_mtrr = 1;
dev->driver.use_irq = 1;
dev->driver.use_vbl_irq = 1;
}
#ifdef __FreeBSD__