diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-08-31 18:17:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-28 14:40:56 -0400 |
commit | ebc32b27af25b23604e725eb50d844a8d26116bb (patch) | |
tree | 767d829df948c656ae7b74a26ccdb02466e4dbd2 /src/radeon.h | |
parent | 4adaea996454b1ad5185f9c0f37667dbfc266495 (diff) |
radeon: update cursor handling for CIK
CIK asics have 128x128 hw cursors
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 36665b10..912e24d7 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -235,6 +235,12 @@ typedef enum { (info->ChipFamily == CHIP_FAMILY_RS300) || \ (info->ChipFamily == CHIP_FAMILY_R200)) +#define CURSOR_WIDTH 64 +#define CURSOR_HEIGHT 64 + +#define CURSOR_WIDTH_CIK 128 +#define CURSOR_HEIGHT_CIK 128 + struct radeon_exa_pixmap_priv { struct radeon_bo *bo; uint32_t tiling_flags; @@ -473,6 +479,10 @@ typedef struct { /* Perform vsync'ed SwapBuffers? */ Bool swapBuffersWait; + + /* cursor size */ + int cursor_w; + int cursor_h; } RADEONInfoRec, *RADEONInfoPtr; /* radeon_accel.c */ |