sna: Rewrite rotation setup on top of universal drm planes

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 8 July 2014 08:18 UTC

The kernel interface has changed slightly since the early proposals. Now the rotation property is only on the plane and so we have to lookup the primary prime as well.

8587b2f sna: Rewrite rotation setup on top of universal drm planes
src/sna/sna_display.c | 426 ++++++++++++++++++++++++++------------------
src/sna/sna_video_sprite.c | 133 +++++++++-----
2 files changed, 342 insertions(+), 217 deletions(-)

Upstream: cgit.freedesktop.org


  • Share