summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/i810_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/i810_drm.h')
-rw-r--r--sys/dev/drm/i810_drm.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/drm/i810_drm.h b/sys/dev/drm/i810_drm.h
index 4a26b74..9f404c8 100644
--- a/sys/dev/drm/i810_drm.h
+++ b/sys/dev/drm/i810_drm.h
@@ -168,6 +168,17 @@ typedef struct _drm_i810_sarea {
} drm_i810_sarea_t;
+/* i810 specific ioctls */
+#define DRM_IOCTL_I810_INIT DRM_IOW( 0x40, drm_i810_init_t)
+#define DRM_IOCTL_I810_VERTEX DRM_IOW( 0x41, drm_i810_vertex_t)
+#define DRM_IOCTL_I810_CLEAR DRM_IOW( 0x42, drm_i810_clear_t)
+#define DRM_IOCTL_I810_FLUSH DRM_IO( 0x43)
+#define DRM_IOCTL_I810_GETAGE DRM_IO( 0x44)
+#define DRM_IOCTL_I810_GETBUF DRM_IOWR(0x45, drm_i810_dma_t)
+#define DRM_IOCTL_I810_SWAP DRM_IO( 0x46)
+#define DRM_IOCTL_I810_COPY DRM_IOW( 0x47, drm_i810_copy_t)
+#define DRM_IOCTL_I810_DOCOPY DRM_IO( 0x48)
+
typedef struct _drm_i810_clear {
int clear_color;
int clear_depth;
@@ -175,7 +186,6 @@ typedef struct _drm_i810_clear {
} drm_i810_clear_t;
-
/* These may be placeholders if we have more cliprects than
* I810_NR_SAREA_CLIPRECTS. In that case, the client sets discard to
* false, indicating that the buffer will be dispatched again with a
OpenPOWER on IntegriCloud