diff options
author | Jeff Hartmann <jhartmann@valinux.com> | 2000-05-19 21:26:46 +0000 |
---|---|---|
committer | Jeff Hartmann <jhartmann@valinux.com> | 2000-05-19 21:26:46 +0000 |
commit | 4b2c25c1ab49599ae5441435dc2c4e89a61facb2 (patch) | |
tree | c34e0d0dda6b46b8299ca126c6d53811feb10140 /shared/drm.h | |
parent | 0efa0a99c964a441c7945ef0cf96d9cb82a8db4e (diff) |
Merged Trunk with mga-0-0-3-branchmga-0-0-3-branch
Diffstat (limited to 'shared/drm.h')
-rw-r--r-- | shared/drm.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/shared/drm.h b/shared/drm.h index 8418323c..74ef83f4 100644 --- a/shared/drm.h +++ b/shared/drm.h @@ -1,8 +1,7 @@ /* drm.h -- Header for Direct Rendering Manager -*- linux-c -*- * Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com - * Revised: Mon Feb 14 00:15:23 2000 by kevin@precisioninsight.com * - * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. + * Copyright 1999, 2000 Precision Insight, Inc., Cedar Park, Texas. * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -71,9 +70,10 @@ typedef struct drm_clip_rect { unsigned short y2; } drm_clip_rect_t; -/* Seperate include files for the i810/mga specific structures */ +/* Seperate include files for the i810/mga/r128 specific structures */ #include "mga_drm.h" #include "i810_drm.h" +#include "r128_drm.h" typedef struct drm_version { int version_major; /* Major version */ @@ -351,4 +351,13 @@ typedef struct drm_agp_info { #define DRM_IOCTL_I810_GETAGE DRM_IO ( 0x44) #define DRM_IOCTL_I810_GETBUF DRM_IOW( 0x45, drm_i810_dma_t) #define DRM_IOCTL_I810_SWAP DRM_IO ( 0x46) + +/* Rage 128 specific ioctls */ +#define DRM_IOCTL_R128_INIT DRM_IOW( 0x40, drm_r128_init_t) +#define DRM_IOCTL_R128_RESET DRM_IO( 0x41) +#define DRM_IOCTL_R128_FLUSH DRM_IO( 0x42) +#define DRM_IOCTL_R128_CCEIDL DRM_IO( 0x43) +#define DRM_IOCTL_R128_PACKET DRM_IOW( 0x44, drm_r128_packet_t) +#define DRM_IOCTL_R128_VERTEX DRM_IOW( 0x45, drm_r128_vertex_t) + #endif |