diff options
Diffstat (limited to 'include/drm/radeon_drm.h')
-rw-r--r-- | include/drm/radeon_drm.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 73ff51f12311..fe3e3a4b4aed 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h | |||
@@ -33,6 +33,8 @@ | |||
33 | #ifndef __RADEON_DRM_H__ | 33 | #ifndef __RADEON_DRM_H__ |
34 | #define __RADEON_DRM_H__ | 34 | #define __RADEON_DRM_H__ |
35 | 35 | ||
36 | #include <linux/types.h> | ||
37 | |||
36 | /* WARNING: If you change any of these defines, make sure to change the | 38 | /* WARNING: If you change any of these defines, make sure to change the |
37 | * defines in the X server file (radeon_sarea.h) | 39 | * defines in the X server file (radeon_sarea.h) |
38 | */ | 40 | */ |
@@ -304,6 +306,8 @@ typedef union { | |||
304 | 306 | ||
305 | #define RADEON_SCRATCH_REG_OFFSET 32 | 307 | #define RADEON_SCRATCH_REG_OFFSET 32 |
306 | 308 | ||
309 | #define R600_SCRATCH_REG_OFFSET 256 | ||
310 | |||
307 | #define RADEON_NR_SAREA_CLIPRECTS 12 | 311 | #define RADEON_NR_SAREA_CLIPRECTS 12 |
308 | 312 | ||
309 | /* There are 2 heaps (local/GART). Each region within a heap is a | 313 | /* There are 2 heaps (local/GART). Each region within a heap is a |
@@ -526,7 +530,8 @@ typedef struct drm_radeon_init { | |||
526 | RADEON_INIT_CP = 0x01, | 530 | RADEON_INIT_CP = 0x01, |
527 | RADEON_CLEANUP_CP = 0x02, | 531 | RADEON_CLEANUP_CP = 0x02, |
528 | RADEON_INIT_R200_CP = 0x03, | 532 | RADEON_INIT_R200_CP = 0x03, |
529 | RADEON_INIT_R300_CP = 0x04 | 533 | RADEON_INIT_R300_CP = 0x04, |
534 | RADEON_INIT_R600_CP = 0x05 | ||
530 | } func; | 535 | } func; |
531 | unsigned long sarea_priv_offset; | 536 | unsigned long sarea_priv_offset; |
532 | int is_pci; | 537 | int is_pci; |
@@ -722,7 +727,7 @@ typedef struct drm_radeon_irq_wait { | |||
722 | 727 | ||
723 | typedef struct drm_radeon_setparam { | 728 | typedef struct drm_radeon_setparam { |
724 | unsigned int param; | 729 | unsigned int param; |
725 | int64_t value; | 730 | __s64 value; |
726 | } drm_radeon_setparam_t; | 731 | } drm_radeon_setparam_t; |
727 | 732 | ||
728 | #define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */ | 733 | #define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */ |