diff options
-rw-r--r-- | src/radeon_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index c0f9dc9e..d9301d8a 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -465,7 +465,7 @@ void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height, int bpe = bitsPerPixel / 8; if (tiling & RADEON_TILING_MACRO) { - height = RADEON_ALIGN(height, info->num_banks * 8); + height = RADEON_ALIGN(height, info->num_channels * 8); pixmap_align = MAX(info->num_banks, (((info->group_bytes / 8) / bpe) * info->num_banks)) * 8 * bpe; } else if (tiling & RADEON_TILING_MICRO) { |