From cd7df0004cf6e423d2ae6c0cf83a84e0031161b4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 31 Jan 2013 17:32:57 +0000 Subject: [PATCH] sna: Pass width/height to composite for rotated displays This is essential to handle displays that are too large to be rendered normally via the 3D pipeline and so that the bounds of the fixup region are known. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60124 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 28e8b4b5..b368648b 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3169,7 +3169,7 @@ sna_crtc_redisplay__composite(xf86CrtcPtr crtc, RegionPtr region) 0, 0, 0, 0, 0, 0, - 0, 0, + crtc->mode.HDisplay, crtc->mode.VDisplay, memset(&tmp, 0, sizeof(tmp)))) { DBG(("%s: unsupported operation!\n", __FUNCTION__)); sna_crtc_redisplay__fallback(crtc, region);