X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fdrm%2Fradeon_drm.h;h=fe3e3a4b4aed9257ec14a6c1e3799fd52444b90e;hb=7cec2ef4a298605b010f1c80041de884e777ea67;hp=73ff51f12311ea967a1e8497967aa0c20e95336c;hpb=b312bf359e20cc39c00d480fd40a24c245d80bf7;p=~andy%2Flinux diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 73ff51f1231..fe3e3a4b4ae 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -33,6 +33,8 @@ #ifndef __RADEON_DRM_H__ #define __RADEON_DRM_H__ +#include + /* WARNING: If you change any of these defines, make sure to change the * defines in the X server file (radeon_sarea.h) */ @@ -304,6 +306,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 +530,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; @@ -722,7 +727,7 @@ typedef struct drm_radeon_irq_wait { typedef struct drm_radeon_setparam { unsigned int param; - int64_t value; + __s64 value; } drm_radeon_setparam_t; #define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */