xf86-video-intel: src/sna/sna_accel.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Sep 6 03:47:31 PDT 2012


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

New commits:
commit aeef03520f1b2a4b8638ff1ed4fbf19c9b35e7c8
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Sep 6 11:46:53 2012 +0100

    sna/prime: Correct the pinning flag when importing the prime bo
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 678f687..6baa37c 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1046,7 +1046,7 @@ sna_set_shared_pixmap_backing(PixmapPtr pixmap, void *fd_handle)
 	priv->stride = pixmap->devKind;
 
 	priv->gpu_bo = bo;
-	priv->pinned |= PIN_DRI;
+	priv->pinned |= PIN_PRIME;
 
 	close((intptr_t)fd_handle);
 	return TRUE;


More information about the xorg-commit mailing list