From 8eaa2d245077d5e949679e48897b57f8dc505a25 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 5 Jun 2003 23:31:40 +0000 Subject: add page flipping support to the DRM, up version number to 1.3.0... --- linux-core/i810_drm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-core/i810_drm.h') diff --git a/linux-core/i810_drm.h b/linux-core/i810_drm.h index f8c27d83..b35593bd 100644 --- a/linux-core/i810_drm.h +++ b/linux-core/i810_drm.h @@ -166,6 +166,9 @@ typedef struct _drm_i810_sarea { int vertex_prim; + int pf_enabled; /* is pageflipping allowed? */ + int pf_active; + int pf_current_page; /* which buffer is being displayed? */ } drm_i810_sarea_t; /* WARNING: If you change any of these defines, make sure to change the @@ -189,6 +192,7 @@ typedef struct _drm_i810_sarea { #define DRM_IOCTL_I810_OV0FLIP DRM_IO ( 0x4b) #define DRM_IOCTL_I810_MC DRM_IOW( 0x4c, drm_i810_mc_t) #define DRM_IOCTL_I810_RSTATUS DRM_IO ( 0x4d ) +#define DRM_IOCTL_I810_FLIP DRM_IO ( 0x4e ) typedef struct _drm_i810_clear { int clear_color; -- cgit v1.2.3