summaryrefslogtreecommitdiff
path: root/src/sna
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-12 20:52:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-12 20:53:05 +0100
commit5d1ffd6f34d6280dbc792a8251c6442f480631e7 (patch)
tree1b3524f2b8d727f0550edeec082a9f93629d4ba9 /src/sna
parentf74121e222b025ad8d8180850541740f76575f17 (diff)
sna: Mark the fallback TearFree flip path as pending
An oversight when enabling efficient sharing of the shadow_crtc (i.e. clients flipping to one monitor). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r--src/sna/sna_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 03595da0..9e6c8cc4 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -7790,6 +7790,7 @@ void sna_mode_redisplay(struct sna *sna)
sna_crtc->flip_bo = bo;
sna_crtc->flip_bo->active_scanout++;
sna_crtc->flip_serial = sna_crtc->mode_serial;
+ sna_crtc->flip_pending = true;
sna_crtc->cache_bo = kgem_bo_reference(sna_crtc->bo);