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@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-01-31 17:32:57 +00:00
parent 38376b56cf
commit cd7df0004c
1 changed files with 1 additions and 1 deletions

View File

@ -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);