diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-08-25 17:48:57 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-08-25 17:48:57 +0100 |
commit | 74af97cb9ee0cddb7cb38cbade2e30c301ebe568 (patch) | |
tree | ae8c2fe528295ecc7cd12f13911ae0ec8cd21e07 | |
parent | 8b375051cb3b355be64f1818ec964c6230645bd7 (diff) |
Wait after mapping buffer
-rw-r--r-- | src/glamo-kms-exa.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |