diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-18 22:17:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-18 22:17:11 +0100 |
commit | f567f19b37d00131cda749e31c6d2dc8b52a1d62 (patch) | |
tree | 719f160e31b68cb1e74a45b472b76dfa9034ca40 /src/sna/sna_accel.c | |
parent | c3695c3c6b7bc13b5e642c9d92648e8228411bed (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.c | 2 |
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: |