From e656655a361acf73c5652fcef8cf6ba61dfe7a50 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 30 Oct 2002 06:10:34 +0000 Subject: Kernel support for vblank syncing on Rage 128 and Matrox. --- shared-core/r128_drm.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'shared-core/r128_drm.h') diff --git a/shared-core/r128_drm.h b/shared-core/r128_drm.h index a8d23008..bbb1a93b 100644 --- a/shared-core/r128_drm.h +++ b/shared-core/r128_drm.h @@ -190,6 +190,7 @@ typedef struct drm_r128_sarea { #define DRM_IOCTL_R128_INDIRECT DRM_IOWR(0x4f, drm_r128_indirect_t) #define DRM_IOCTL_R128_FULLSCREEN DRM_IOW( 0x50, drm_r128_fullscreen_t) #define DRM_IOCTL_R128_CLEAR2 DRM_IOW( 0x51, drm_r128_clear2_t) +#define DRM_IOCTL_R128_GETPARAM DRM_IOW( 0x52, drm_r128_getparam_t) typedef struct drm_r128_init { enum { @@ -305,4 +306,14 @@ typedef struct drm_r128_fullscreen { } func; } drm_r128_fullscreen_t; +/* 2.3: An ioctl to get parameters that aren't available to the 3d + * client any other way. + */ +#define R128_PARAM_IRQ_NR 1 + +typedef struct drm_r128_getparam { + int param; + int *value; +} drm_r128_getparam_t; + #endif -- cgit v1.2.3