From c62177ec321e009a1abcdc969dd808fb37136013 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 20 Apr 2016 21:31:46 +0100 Subject: [PATCH] sna: Force the shadow buffer even after we fail to set the crtc for TearFree As the first choice of orientation and tiling may be invalid, e.g. left/right rotation on Skylake, we need to force the second pass here to try and an alternate non-native rotation. Signed-off-by: Chris Wilson --- src/sna/sna_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 80b658a0..1bc2080a 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -2841,7 +2841,7 @@ retry: /* Attach per-crtc pixmap or direct */ kgem_bo_destroy(&sna->kgem, bo); - if (!sna_crtc->shadow) { + if (!sna_crtc->fallback_shadow) { sna_crtc->fallback_shadow = true; goto retry; }