diff options
author | Dave Airlie <[email protected]> | 2007-09-27 11:15:42 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2007-09-27 11:15:42 +1000 |
commit | 67f6449743d006084df85693085eca79a966ad17 (patch) | |
tree | 9ea1d7068ad467614230fe27a33cf329ab298eb4 /src/mesa/drivers/dri/i915/server | |
parent | 175db68db59c6b917306adff98442d590df9af06 (diff) |
i915/i965 merge serer directories along lines for radeon/r200
Diffstat (limited to 'src/mesa/drivers/dri/i915/server')
-rw-r--r-- | src/mesa/drivers/dri/i915/server/i830_common.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/server/i830_common.h b/src/mesa/drivers/dri/i915/server/i830_common.h index a877f3c2f40..f1fd3939ab9 100644 --- a/src/mesa/drivers/dri/i915/server/i830_common.h +++ b/src/mesa/drivers/dri/i915/server/i830_common.h @@ -54,6 +54,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #define DRM_I830_DESTROY_HEAP 0x0c #define DRM_I830_SET_VBLANK_PIPE 0x0d #define DRM_I830_GET_VBLANK_PIPE 0x0e +#define DRM_I830_MMIO 0x10 typedef struct { enum { @@ -233,4 +234,23 @@ typedef struct { int pipe; } drmI830VBlankPipe; +#define MMIO_READ 0 +#define MMIO_WRITE 1 + +#define MMIO_REGS_IA_PRIMATIVES_COUNT 0 +#define MMIO_REGS_IA_VERTICES_COUNT 1 +#define MMIO_REGS_VS_INVOCATION_COUNT 2 +#define MMIO_REGS_GS_PRIMITIVES_COUNT 3 +#define MMIO_REGS_GS_INVOCATION_COUNT 4 +#define MMIO_REGS_CL_PRIMITIVES_COUNT 5 +#define MMIO_REGS_CL_INVOCATION_COUNT 6 +#define MMIO_REGS_PS_INVOCATION_COUNT 7 +#define MMIO_REGS_PS_DEPTH_COUNT 8 + +typedef struct { + unsigned int read_write:1; + unsigned int reg:31; + void __user *data; +} drmI830MMIO; + #endif /* _I830_DRM_H_ */ |