summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-15 14:40:41 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-15 14:42:02 -0400
commit0411c37409102c71e8ba980f9afb2d4a8c64189d (patch)
treec9f710a82e331e221f0c6157a72320a69df30b20
parenteea95ed8af24300e5a5d2489dfe0d73c24300651 (diff)
Add R600_SCRATCH_REG_OFFSET to radeon_drm.h
This lets us libdrm from master for r6xx/r7xx 3d
-rw-r--r--shared-core/radeon_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h
index e9f2afaf..3fc417a9 100644
--- a/shared-core/radeon_drm.h
+++ b/shared-core/radeon_drm.h
@@ -303,6 +303,7 @@ typedef union {
#define RADEON_INDEX_PRIM_OFFSET 20
#define RADEON_SCRATCH_REG_OFFSET 32
+#define R600_SCRATCH_REG_OFFSET 256
#define RADEON_NR_SAREA_CLIPRECTS 12