xf86-video-intel: src/i830_uxa.c

Eric Anholt anholt at kemper.freedesktop.org
Fri Aug 7 18:33:02 PDT 2009


 src/i830_uxa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8f0763d405a8152c74c28792c52fe12c1d41dd5
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Aug 7 18:24:44 2009 -0700

    Fix math in the tiling alignment fix.

diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index 1087128..bb1c616 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -619,7 +619,7 @@ i830_uxa_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usag
 	    if (tiling == I915_TILING_X)
 		aligned_h = ALIGN(h, 8);
 	    else
-		aligned_h = ALIGN(h, 16);
+		aligned_h = ALIGN(h, 32);
 	    assert(aligned_h >= h);
 
 	    stride = i830_get_fence_pitch(i830, stride, tiling);


More information about the xorg-commit mailing list