summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 317dacb7..b2c4064f 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1008,7 +1008,7 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
#if X_BYTE_ORDER == X_BIG_ENDIAN
radeon_bo_set_tiling(info->cursor_bo[c], RADEON_TILING_SWAP_32BIT |
- RADEON_TILING_SURFACE, stride);
+ RADEON_TILING_SURFACE, RADEON_CURSOR_WIDTH);
#endif
if (radeon_bo_map(info->cursor_bo[c], 1)) {