diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-10 22:16:01 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-10 22:16:01 -0400 |
commit | ddbee33328dcfb892cd91f2d57a1822f4d6f70d9 (patch) | |
tree | 6db71299d2cf09f22201a44487d925e222facb33 /drivers/char/drm/radeon_drm.h | |
parent | 7c158acef8f0e51c3a5f71133aaf402628370a64 (diff) |
radeon: add support for vblank on crtc2
This adds support for CRTC2 vblank on radeon similiar to the i915.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drm.h')
-rw-r--r-- | drivers/char/drm/radeon_drm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_drm.h b/drivers/char/drm/radeon_drm.h index 66c4b6fed04f..04de7a15df99 100644 --- a/drivers/char/drm/radeon_drm.h +++ b/drivers/char/drm/radeon_drm.h | |||
@@ -655,6 +655,7 @@ typedef struct drm_radeon_indirect { | |||
655 | #define RADEON_PARAM_GART_TEX_HANDLE 10 | 655 | #define RADEON_PARAM_GART_TEX_HANDLE 10 |
656 | #define RADEON_PARAM_SCRATCH_OFFSET 11 | 656 | #define RADEON_PARAM_SCRATCH_OFFSET 11 |
657 | #define RADEON_PARAM_CARD_TYPE 12 | 657 | #define RADEON_PARAM_CARD_TYPE 12 |
658 | #define RADEON_PARAM_VBLANK_CRTC 13 /* VBLANK CRTC */ | ||
658 | 659 | ||
659 | typedef struct drm_radeon_getparam { | 660 | typedef struct drm_radeon_getparam { |
660 | int param; | 661 | int param; |
@@ -708,7 +709,7 @@ typedef struct drm_radeon_setparam { | |||
708 | #define RADEON_SETPARAM_PCIGART_LOCATION 3 /* PCI Gart Location */ | 709 | #define RADEON_SETPARAM_PCIGART_LOCATION 3 /* PCI Gart Location */ |
709 | #define RADEON_SETPARAM_NEW_MEMMAP 4 /* Use new memory map */ | 710 | #define RADEON_SETPARAM_NEW_MEMMAP 4 /* Use new memory map */ |
710 | #define RADEON_SETPARAM_PCIGART_TABLE_SIZE 5 /* PCI GART Table Size */ | 711 | #define RADEON_SETPARAM_PCIGART_TABLE_SIZE 5 /* PCI GART Table Size */ |
711 | 712 | #define RADEON_SETPARAM_VBLANK_CRTC 6 /* VBLANK CRTC */ | |
712 | /* 1.14: Clients can allocate/free a surface | 713 | /* 1.14: Clients can allocate/free a surface |
713 | */ | 714 | */ |
714 | typedef struct drm_radeon_surface_alloc { | 715 | typedef struct drm_radeon_surface_alloc { |
@@ -721,4 +722,7 @@ typedef struct drm_radeon_surface_free { | |||
721 | unsigned int address; | 722 | unsigned int address; |
722 | } drm_radeon_surface_free_t; | 723 | } drm_radeon_surface_free_t; |
723 | 724 | ||
725 | #define DRM_RADEON_VBLANK_CRTC1 1 | ||
726 | #define DRM_RADEON_VBLANK_CRTC2 2 | ||
727 | |||
724 | #endif | 728 | #endif |