summaryrefslogtreecommitdiff
path: root/linux-core/i810_drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2003-06-05 23:31:40 +0000
committerDave Airlie <airlied@linux.ie>2003-06-05 23:31:40 +0000
commit8eaa2d245077d5e949679e48897b57f8dc505a25 (patch)
treef10b7d896f64b45ce65604f6b41b448e5caf8557 /linux-core/i810_drm.h
parent8e7cd92f35629a6f6d904346b09883173a7bda29 (diff)
add page flipping support to the DRM, up version number to 1.3.0...
Diffstat (limited to 'linux-core/i810_drm.h')
-rw-r--r--linux-core/i810_drm.h4
1 files changed, 4 insertions, 0 deletions
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;