diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-24 21:05:58 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-24 21:05:58 +0000 |
commit | d377fd3d11a6ed29f8bce9e7b05a8db82e33764e (patch) | |
tree | 385917cb5659b49524c09c42b0db84d64e8b97df /src/sna/sna_present.c | |
parent | 019402f8ca670234908df00f52650d2173a5011a (diff) |
sna: Detect Y-tiled scanout feature
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_present.c')
-rw-r--r-- | src/sna/sna_present.c | 1 |
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; |