summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_textured.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-22 11:22:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-23 14:16:50 +0100
commit1e9319d5f56583be99f573f208cebb0ee3b5cc26 (patch)
tree5e29b4b01e356ffb1e23c0c407bc67d4094a95f0 /src/sna/sna_video_textured.c
parente8b090902e788257610374deae659f01a91888f3 (diff)
sna: extend RandR to support super sized monitor configurations
With the introduction of the third pipe on IvyBridge it is possible to encounter situations where the combination of the three monitors exceed the limits of the scanout engine and so prevent them being used at their native resolutions. (It is conceivable to hit similar issues on earlier generation, especially gen2/3.) One workaround, this patch, is to extend the RandR shadow support to break the extended framebuffer into per-crtc pixmaps. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r--src/sna/sna_video_textured.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index 33f3f712..1b3b3af2 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -281,7 +281,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn,
}
if (crtc && video->SyncToVblank != 0 &&
- pixmap == sna->front && !sna->shadow)
+ sna_pixmap_is_scanout(sna, pixmap))
flush = sna_wait_for_scanline(sna, pixmap, crtc,
&clip->extents);