diff options
author | Dave Airlie <airlied@redhat.com> | 2010-06-11 14:28:24 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-11 14:28:24 +1000 |
commit | 9a117f768cb8261327fd3c324da9c98875785cc1 (patch) | |
tree | 9eaab7a6e5537f86ae890c5234ba656813d24a09 | |
parent | b6346ede94f0d0b11ee04770cf52508cb0a5e6c6 (diff) |
radeon: set proper stride for cursor in tiling flags.
definitely incorrect, but hope it doesn't break anything.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/radeon_kms.c | 2 |
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)) { |