aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/drm_drv.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-09-26 07:45:07 +0000
committerEric Anholt <anholt@freebsd.org>2002-09-26 07:45:07 +0000
commit97961e2c65773328fe9c2e1d66e4a0b8a253d54d (patch)
tree3b81fbbe9ebef5f2398964df7dc392c73646add1 /bsd-core/drm_drv.c
parent770d045d25728be51534b930afdfa36f3ffddbfc (diff)
BSD vblank framework.
Diffstat (limited to 'bsd-core/drm_drv.c')
-rw-r--r--bsd-core/drm_drv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c
index 0b880047..872f6bc6 100644
--- a/bsd-core/drm_drv.c
+++ b/bsd-core/drm_drv.c
@@ -217,6 +217,10 @@ static drm_ioctl_desc_t DRM(ioctls)[] = {
[DRM_IOCTL_NR(DRM_IOCTL_SG_FREE)] = { DRM(sg_free), 1, 1 },
#endif
+#if __HAVE_VBL_IRQ
+ [DRM_IOCTL_NR(DRM_IOCTL_WAIT_VBLANK)] = { DRM(wait_vblank), 0, 0 },
+#endif
+
DRIVER_IOCTLS
};