From 55acd0d5a64a2ee6b0cecc75872fbf8c4bb42a0c Mon Sep 17 00:00:00 2001 From: Michel Daenzer Date: Wed, 25 Sep 2002 17:18:19 +0000 Subject: common ioctl to wait for vertical blank IRQs --- linux-core/drm_drv.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-core/drm_drv.c') diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c index 7e2cfd8c..3ebe7811 100644 --- a/linux-core/drm_drv.c +++ b/linux-core/drm_drv.c @@ -222,6 +222,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 }; -- cgit v1.2.3