xf86-video-intel: Branch 'intel-batchbuffer' - src/i830_exa.c

Kristian Høgsberg krh at kemper.freedesktop.org
Mon Mar 3 16:13:25 PST 2008


 src/i830_exa.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 49af3c489c86a043a8a787182ee5cfec9773bf74
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Mon Mar 3 19:13:12 2008 -0500

    I830EXAGetPixmapHandle: set flags to 0 when pixmap isn't tiled.
    
    Instead of leaving it uninitialized...

diff --git a/src/i830_exa.c b/src/i830_exa.c
index daf47e9..78dccd7 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -456,7 +456,9 @@ unsigned int I830EXAGetPixmapHandle(PixmapPtr pPix, unsigned int *flags)
 	    return 0;
 
     if (i830_pixmap_tiled(pPix))
-	*flags = 0x0100;
+	*flags = BUFFER_FLAG_TILED;
+    else
+	*flags = 0;
 
     return dri_bo_get_handle(driver_priv->bo);
 }


More information about the xorg-commit mailing list