aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/mach64_drv.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2008-05-23 14:36:05 -0400
committerEric Anholt <eric@anholt.net>2008-05-27 14:25:20 -0700
commit8cd045079e21093437b99cb150b97403e945d2c2 (patch)
tree065f9d4d50a14335e9afa5af0f3c7ed0054de717 /bsd-core/mach64_drv.c
parentad8eb0ed01d96cc16cdafd3b48c0f0cd73d315b4 (diff)
[FreeBSD] Add vblank-rework support and get drivers building.
The i915 driver now works again.
Diffstat (limited to 'bsd-core/mach64_drv.c')
-rw-r--r--bsd-core/mach64_drv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsd-core/mach64_drv.c b/bsd-core/mach64_drv.c
index 35d0c805..06e0133d 100644
--- a/bsd-core/mach64_drv.c
+++ b/bsd-core/mach64_drv.c
@@ -48,7 +48,9 @@ static void mach64_configure(struct drm_device *dev)
{
dev->driver.buf_priv_size = 1; /* No dev_priv */
dev->driver.lastclose = mach64_driver_lastclose;
- dev->driver.vblank_wait = mach64_driver_vblank_wait;
+ dev->driver.get_vblank_counter = mach64_get_vblank_counter;
+ dev->driver.enable_vblank = mach64_enable_vblank;
+ dev->driver.disable_vblank = mach64_disable_vblank;
dev->driver.irq_preinstall = mach64_driver_irq_preinstall;
dev->driver.irq_postinstall = mach64_driver_irq_postinstall;
dev->driver.irq_uninstall = mach64_driver_irq_uninstall;