xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Oct 16 04:54:27 PDT 2013
src/sna/sna_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 09121a61b319ce365bfc6f96fb34c52d6eafffdf
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Oct 16 12:43:43 2013 +0100
sna: Fix inverted tiled CPU map check in has_coherent_ptr()
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 ac17d5b..e5dad2d 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1447,7 +1447,7 @@ static inline bool has_coherent_ptr(struct sna *sna, struct sna_pixmap *priv, un
}
if (priv->pixmap->devPrivate.ptr == MAP(priv->gpu_bo->map__cpu)) {
- if (priv->gpu_bo->tiling == I915_TILING_NONE)
+ if (priv->gpu_bo->tiling != I915_TILING_NONE)
return false;
return kgem_bo_can_map__cpu(&sna->kgem, priv->gpu_bo, flags & MOVE_WRITE);
More information about the xorg-commit
mailing list