sna: Handle rotated slaved scanouts
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jul 2014 13:40:51 +0000 (14:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jul 2014 14:20:05 +0000 (15:20 +0100)
commita45b2ea11c15f35c36330ff27cb45854a29c2e2c
tree59e71316b8e266f34ae340fa7315b29f222e92e5
parent339c9dd0d5206180995731ab22304776e544f2f7
sna: Handle rotated slaved scanouts

As per the usual handling of rotated scanouts with unsupported
rotations, we stage the drawing onto a backbuffer then rotate onto the
crtc later. The difference here is that we must read the contents from
the master pixmap rather than our own screen pixmap.

Spotted was looking at slaved scanouts mistakenly setting the CRTC
transformed flag.

Reported-by: Tomas Pruzina <pruzinat@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81383
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c
src/sna/sna_driver.c