[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20090707.git98c012f7-57-g9918e08

Thomas White taw at bitwiz.org.uk
Fri Jan 8 13:25:02 UTC 2010


The following commit has been merged in the master branch:
commit 74af97cb9ee0cddb7cb38cbade2e30c301ebe568
Author: Thomas White <taw at bitwiz.org.uk>
Date:   Tue Aug 25 17:48:57 2009 +0100

    Wait after mapping buffer

diff --git a/src/glamo-kms-exa.c b/src/glamo-kms-exa.c
index 9ce5787..fa80d98 100644
--- a/src/glamo-kms-exa.c
+++ b/src/glamo-kms-exa.c
@@ -448,6 +448,7 @@ static Bool GlamoKMSExaPrepareAccess(PixmapPtr pPix, int index)
 	/* Return as quickly as possible if we have a mapping already */
 	if ( driver_priv->bo->virtual ) {
 		pPix->devPrivate.ptr = driver_priv->bo->virtual;
+		glamo_bo_wait(driver_priv->bo);
 		return TRUE;
 	}
 
@@ -457,6 +458,7 @@ static Bool GlamoKMSExaPrepareAccess(PixmapPtr pPix, int index)
 		return FALSE;
 	}
 	pPix->devPrivate.ptr = driver_priv->bo->virtual;
+	glamo_bo_wait(driver_priv->bo);
 
 	return TRUE;
 }

-- 
xf86-video-glamo, SMedia Glamo video driver for X.Org



More information about the pkg-fso-commits mailing list