From aa1563ce9bad76a6883141a9eedb6ad3ee7affef Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Fri, 10 Feb 2012 09:52:51 -0500 Subject: [PATCH] radeon: default to linear aligned allocation Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=45827 Signed-off-by: Jerome Glisse --- 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 99a5806..6f0e9f4 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -513,7 +513,7 @@ void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height, surface.nsamples = 1; surface.flags = RADEON_SURF_SCANOUT; surface.flags |= RADEON_SURF_SET(RADEON_SURF_TYPE_2D, TYPE); - surface.flags |= RADEON_SURF_SET(RADEON_SURF_MODE_LINEAR, MODE); + surface.flags |= RADEON_SURF_SET(RADEON_SURF_MODE_LINEAR_ALIGNED, MODE); if ((tiling & RADEON_TILING_MICRO)) { surface.flags = RADEON_SURF_CLR(surface.flags, MODE); surface.flags |= RADEON_SURF_SET(RADEON_SURF_MODE_1D, MODE); -- 1.7.7