summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-06 21:21:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-06 21:40:59 +0100
commit0869acc0a6a5b92f5528049d2bd5ec62121ba114 (patch)
tree4f2c64e4cd1d42b438c2dfa75c04ff6ee069edf8 /src
parent9b52c852aaf42dde3a7f29c065e4d5230eac7a64 (diff)
sna/dri: Make the fallback blit async again
Previously it was async, and is likely to be anyway as the pageflip failed due to the change in output. To be safe, once again request that the copy does not stall the GPU upon the scanline window. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c
index 038a53b8..b737151c 100644
--- a/src/sna/sna_dri.c
+++ b/src/sna/sna_dri.c
@@ -1768,7 +1768,7 @@ static void sna_dri_flip_event(struct sna *sna,
sna_dri_frame_event_info_free(sna, flip->draw, flip);
} else if (!sna_dri_flip_continue(sna, flip)) {
DBG(("%s: no longer able to flip\n", __FUNCTION__));
- if (flip->draw || !sna_dri_immediate_blit(sna, flip, true, flip->mode == 1))
+ if (flip->draw || !sna_dri_immediate_blit(sna, flip, false, flip->mode == 1))
sna_dri_frame_event_info_free(sna, flip->draw, flip);
}
break;