diff options
author | Jens Owen <jens@tungstengraphics.com> | 2002-04-09 21:54:56 +0000 |
---|---|---|
committer | Jens Owen <jens@tungstengraphics.com> | 2002-04-09 21:54:56 +0000 |
commit | 3903e5ac94c07cf31f0bc24eff5011ef8cc7afba (patch) | |
tree | 93515f920b8f69e9502a0a74396f10bfdd0c5a58 /bsd/gamma_drm.h | |
parent | a820c741374743065540546c92b1d5e1a2089225 (diff) |
Merged drmcommand-0-0-1drmcommand-0-0-1-20020409-merge
Diffstat (limited to 'bsd/gamma_drm.h')
-rw-r--r-- | bsd/gamma_drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bsd/gamma_drm.h b/bsd/gamma_drm.h index d06763ae..0d58b07b 100644 --- a/bsd/gamma_drm.h +++ b/bsd/gamma_drm.h @@ -48,6 +48,16 @@ typedef struct _drm_gamma_sarea { int vertex_prim; } drm_gamma_sarea_t; +/* WARNING: If you change any of these defines, make sure to change the + * defines in the Xserver file (xf86drmGamma.h) + */ + +/* Gamma specific ioctls + * The device specific ioctl range is 0x40 to 0x79. + */ +#define DRM_IOCTL_GAMMA_INIT DRM_IOW( 0x40, drm_gamma_init_t) +#define DRM_IOCTL_GAMMA_COPY DRM_IOW( 0x41, drm_gamma_copy_t) + typedef struct drm_gamma_copy { unsigned int DMAOutputAddress; unsigned int DMAOutputCount; |