summaryrefslogtreecommitdiff
path: root/bsd/drm.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2002-03-06 19:30:45 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2002-03-06 19:30:45 +0000
commit46cacdca855a99c1ffe0ccf7a7f88134bca9bade (patch)
tree038b0f31082031de70f91a4b8bd7ea66ea9dc105 /bsd/drm.h
parentab87c5d0d1b5c35006ce8b99a9260e3116c732dc (diff)
first pass at merging mesa 4.0 kernel drivers into new bsd-3-0-0 branch.
Diffstat (limited to 'bsd/drm.h')
-rw-r--r--bsd/drm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bsd/drm.h b/bsd/drm.h
index 68876940..92fddec6 100644
--- a/bsd/drm.h
+++ b/bsd/drm.h
@@ -100,6 +100,7 @@ typedef struct drm_tex_region {
#include "r128_drm.h"
#include "radeon_drm.h"
#include "sis_drm.h"
+#include "gamma_drm.h"
typedef struct drm_version {
int version_major; /* Major version */
@@ -459,6 +460,7 @@ typedef struct drm_scatter_gather {
#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)
+#define DRM_IOCTL_R128_CLEAR2 DRM_IOW( 0x51, drm_r128_clear2_t)
/* Radeon specific ioctls */
#define DRM_IOCTL_RADEON_CP_INIT DRM_IOW( 0x40, drm_radeon_init_t)
@@ -475,6 +477,11 @@ typedef struct drm_scatter_gather {
#define DRM_IOCTL_RADEON_STIPPLE DRM_IOW( 0x4c, drm_radeon_stipple_t)
#define DRM_IOCTL_RADEON_INDIRECT DRM_IOWR(0x4d, drm_radeon_indirect_t)
#define DRM_IOCTL_RADEON_TEXTURE DRM_IOWR(0x4e, drm_radeon_texture_t)
+#define DRM_IOCTL_RADEON_VERTEX2 DRM_IOW( 0x4f, drm_radeon_vertex_t)
+
+/* Gamma specific ioctls */
+#define DRM_IOCTL_GAMMA_INIT DRM_IOW( 0x40, drm_gamma_init_t)
+#define DRM_IOCTL_GAMMA_COPY DRM_IOW( 0x41, drm_gamma_copy_t)
/* SiS specific ioctls */