summaryrefslogtreecommitdiff
path: root/src/sna/sna_present.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_present.c')
-rw-r--r--src/sna/sna_present.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c
index 836c89d7..d6638db3 100644
--- a/src/sna/sna_present.c
+++ b/src/sna/sna_present.c
@@ -583,6 +583,7 @@ get_flip_bo(PixmapPtr pixmap)
}
if (priv->gpu_bo->tiling == I915_TILING_Y &&
+ !sna->kgem.can_scanout_y &&
!sna_pixmap_change_tiling(pixmap, I915_TILING_X)) {
DBG(("%s: invalid Y-tiling, cannot convert\n", __FUNCTION__));
return NULL;