diff options
author | Dave Airlie <airlied@linux.ie> | 2007-06-03 16:49:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-06-03 16:49:14 +1000 |
commit | 63f0d4ed0a98830ecbe18c6e4174689111a59b68 (patch) | |
tree | 12883bb4c2296c49b756624c10ffba14ac57bcfa /src/radeon_common.h | |
parent | d7775c1b38b5bdc439a27ec2c3c3a03a5b24cf57 (diff) |
randr-1.2: add support for vblank on both heads
Also disable vbl when 3D isn't running
Diffstat (limited to 'src/radeon_common.h')
-rw-r--r-- | src/radeon_common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_common.h b/src/radeon_common.h index 3f2c6ab..467addf 100644 --- a/src/radeon_common.h +++ b/src/radeon_common.h @@ -420,6 +420,8 @@ typedef union { #define RADEON_PARAM_SAREA_HANDLE 9 #define RADEON_PARAM_GART_TEX_HANDLE 10 #define RADEON_PARAM_SCRATCH_OFFSET 11 +#define RADEON_PARAM_CARD_TYPE 12 +#define RADEON_PARAM_VBLANK_CRTC 13 /* VBLANK CRTC */ typedef struct drm_radeon_getparam { int param; @@ -473,7 +475,7 @@ typedef struct drm_radeon_set_param { #define RADEON_SETPARAM_PCIGART_LOCATION 3 #define RADEON_SETPARAM_NEW_MEMMAP 4 #define RADEON_SETPARAM_PCIGART_TABLE_SIZE 5 - +#define RADEON_SETPARAM_VBLANK_CRTC 6 /* VBLANK CRTC */ /* 1.14: Clients can allocate/free a surface */ typedef struct drm_radeon_surface_alloc { @@ -486,4 +488,7 @@ typedef struct drm_radeon_surface_free { unsigned int address; } drmRadeonSurfaceFree; +#define DRM_RADEON_VBLANK_CRTC1 1 +#define DRM_RADEON_VBLANK_CRTC2 2 + #endif |