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

Chris Wilson ickle at kemper.freedesktop.org
Tue Jun 18 14:34:57 PDT 2013


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

New commits:
commit f567f19b37d00131cda749e31c6d2dc8b52a1d62
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jun 18 22:17:11 2013 +0100

    sna: Allow wedged pixmaps to be accessed via GTT
    
    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 21427fa..0f5c392 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1223,7 +1223,7 @@ static PixmapPtr sna_create_pixmap(ScreenPtr screen,
 	if (unlikely((sna->render.prefer_gpu & PREFER_GPU_RENDER) == 0))
 		flags &= ~KGEM_CAN_CREATE_GPU;
 	if (wedged(sna))
-		flags = 0;
+		flags &= ~KGEM_CAN_CREATE_GTT;
 
 	switch (usage) {
 	case CREATE_PIXMAP_USAGE_SCRATCH:


More information about the xorg-commit mailing list