xf86-video-intel: src/sna/sna_display.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Jan 31 09:34:44 PST 2013


 src/sna/sna_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cd7df0004cf6e423d2ae6c0cf83a84e0031161b4
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Jan 31 17:32:57 2013 +0000

    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 <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 28e8b4b..b368648 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);


More information about the xorg-commit mailing list