diff options
author | Dave Airlie <airlied@redhat.com> | 2008-03-17 11:08:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-03-17 11:08:03 +1000 |
commit | 3add9494037e7c88b5e5a476001176784d743a26 (patch) | |
tree | cbdcff83124a45c2e673d0388d45caa2805fc519 /shared-core/radeon_drm.h | |
parent | 1f96e9a98245b18c99cc6a7e66372a076b9abf6b (diff) |
initial r500 RS and FP register and upload code
Diffstat (limited to 'shared-core/radeon_drm.h')
-rw-r--r-- | shared-core/radeon_drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h index 0971f970..3437320f 100644 --- a/shared-core/radeon_drm.h +++ b/shared-core/radeon_drm.h @@ -228,6 +228,7 @@ typedef union { # define R300_WAIT_2D_CLEAN 0x3 # define R300_WAIT_3D_CLEAN 0x4 #define R300_CMD_SCRATCH 8 +#define R300_CMD_R500FP 9 typedef union { unsigned int u; @@ -256,6 +257,9 @@ typedef union { struct { unsigned char cmd_type, reg, n_bufs, flags; } scratch; + struct { + unsigned char cmd_type, count, adrlo, adrhi; + } r500fp; } drm_r300_cmd_header_t; #define RADEON_FRONT 0x1 |