diff options
author | Eric Anholt <anholt@freebsd.org> | 2002-10-31 04:23:09 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2002-10-31 04:23:09 +0000 |
commit | 9a6b59db39c79369aa849280c0a8b8301876ec93 (patch) | |
tree | 102f51d0a3f2c1f24993de323d4d4b1a27d66871 /linux/gamma_drm.h | |
parent | e656655a361acf73c5652fcef8cf6ba61dfe7a50 (diff) |
Inaugurate bsd-4-0-0-branch with Erik Reid's NetBSD patches (with enough
modifications on my part to have probably broken them thoroughly).
Diffstat (limited to 'linux/gamma_drm.h')
-rw-r--r-- | linux/gamma_drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/gamma_drm.h b/linux/gamma_drm.h index d06763ae..0d58b07b 100644 --- a/linux/gamma_drm.h +++ b/linux/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; |