summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/i915_drv.c
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2006-05-17 06:36:28 +0000
committeranholt <anholt@FreeBSD.org>2006-05-17 06:36:28 +0000
commitc0e3faf72685e6c02e8509c92408f672e27c7096 (patch)
tree208614304ffab07c6036af66afbe1dfd0327faae /sys/dev/drm/i915_drv.c
parent1e618fb39747a281fe2964d37909e16ae0dfff6e (diff)
downloadFreeBSD-src-c0e3faf72685e6c02e8509c92408f672e27c7096.zip
FreeBSD-src-c0e3faf72685e6c02e8509c92408f672e27c7096.tar.gz
Update to current DRM CVS, bringing in a fix for a NULL pointer chase when
running 3d apps on i915.
Diffstat (limited to 'sys/dev/drm/i915_drv.c')
-rw-r--r--sys/dev/drm/i915_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/drm/i915_drv.c b/sys/dev/drm/i915_drv.c
index 138af37..8a20330 100644
--- a/sys/dev/drm/i915_drv.c
+++ b/sys/dev/drm/i915_drv.c
@@ -50,6 +50,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;
@@ -69,6 +70,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__
OpenPOWER on IntegriCloud