summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/r128_drm.h
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-04-29 18:18:42 +0000
committeranholt <anholt@FreeBSD.org>2002-04-29 18:18:42 +0000
commitf449944be8fd359010c95701a1a74b2685ea4467 (patch)
tree82f1baf5974fa0ac643272b9373e05eb7b3d67ef /sys/dev/drm/r128_drm.h
parent38d2985e9b4d507e97a7aab9a2c08d5410b080b3 (diff)
downloadFreeBSD-src-f449944be8fd359010c95701a1a74b2685ea4467.zip
FreeBSD-src-f449944be8fd359010c95701a1a74b2685ea4467.tar.gz
More diff reduction: Shuffle around some header code as was done in
drmcommand-0-0-1-branch of DRI CVS, more return code cleanup, and remove some gratuitous ifdefs. Approved by: des
Diffstat (limited to 'sys/dev/drm/r128_drm.h')
-rw-r--r--sys/dev/drm/r128_drm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/drm/r128_drm.h b/sys/dev/drm/r128_drm.h
index 9f50635..dc53ea0 100644
--- a/sys/dev/drm/r128_drm.h
+++ b/sys/dev/drm/r128_drm.h
@@ -172,6 +172,24 @@ typedef struct drm_r128_sarea {
/* WARNING: If you change any of these defines, make sure to change the
* defines in the Xserver file (xf86drmR128.h)
*/
+
+/* Rage 128 specific ioctls */
+#define DRM_IOCTL_R128_INIT DRM_IOW( 0x40, drm_r128_init_t)
+#define DRM_IOCTL_R128_CCE_START DRM_IO( 0x41)
+#define DRM_IOCTL_R128_CCE_STOP DRM_IOW( 0x42, drm_r128_cce_stop_t)
+#define DRM_IOCTL_R128_CCE_RESET DRM_IO( 0x43)
+#define DRM_IOCTL_R128_CCE_IDLE DRM_IO( 0x44)
+#define DRM_IOCTL_R128_RESET DRM_IO( 0x46)
+#define DRM_IOCTL_R128_SWAP DRM_IO( 0x47)
+#define DRM_IOCTL_R128_CLEAR DRM_IOW( 0x48, drm_r128_clear_t)
+#define DRM_IOCTL_R128_VERTEX DRM_IOW( 0x49, drm_r128_vertex_t)
+#define DRM_IOCTL_R128_INDICES DRM_IOW( 0x4a, drm_r128_indices_t)
+#define DRM_IOCTL_R128_BLIT DRM_IOW( 0x4b, drm_r128_blit_t)
+#define DRM_IOCTL_R128_DEPTH DRM_IOW( 0x4c, drm_r128_depth_t)
+#define DRM_IOCTL_R128_STIPPLE DRM_IOW( 0x4d, drm_r128_stipple_t)
+#define DRM_IOCTL_R128_INDIRECT DRM_IOWR(0x4f, drm_r128_indirect_t)
+#define DRM_IOCTL_R128_FULLSCREEN DRM_IOW( 0x50, drm_r128_fullscreen_t)
+
typedef struct drm_r128_init {
enum {
R128_INIT_CCE = 0x01,
OpenPOWER on IntegriCloud