]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/drm/radeon_drm.h
drm/radeon: prep for r6xx/r7xx support
[net-next-2.6.git] / include / drm / radeon_drm.h
index 73ff51f12311ea967a1e8497967aa0c20e95336c..937a275cbb9a9f29651f9324d6a23baf6640edb6 100644 (file)
@@ -304,6 +304,8 @@ typedef union {
 
 #define RADEON_SCRATCH_REG_OFFSET      32
 
+#define R600_SCRATCH_REG_OFFSET         256
+
 #define RADEON_NR_SAREA_CLIPRECTS      12
 
 /* There are 2 heaps (local/GART).  Each region within a heap is a
@@ -526,7 +528,8 @@ typedef struct drm_radeon_init {
                RADEON_INIT_CP = 0x01,
                RADEON_CLEANUP_CP = 0x02,
                RADEON_INIT_R200_CP = 0x03,
-               RADEON_INIT_R300_CP = 0x04
+               RADEON_INIT_R300_CP = 0x04,
+               RADEON_INIT_R600_CP = 0x05
        } func;
        unsigned long sarea_priv_offset;
        int is_pci;