summaryrefslogtreecommitdiff
path: root/src/sna/sna_accel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-18 22:17:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-18 22:17:11 +0100
commitf567f19b37d00131cda749e31c6d2dc8b52a1d62 (patch)
tree719f160e31b68cb1e74a45b472b76dfa9034ca40 /src/sna/sna_accel.c
parentc3695c3c6b7bc13b5e642c9d92648e8228411bed (diff)
sna: Allow wedged pixmaps to be accessed via GTT
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 21427fa9..0f5c392e 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: