]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Grab the rotation from the passed plane state for VLV sprites
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Nov 2016 20:20:55 +0000 (22:20 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 11 Nov 2016 08:04:41 +0000 (10:04 +0200)
commit23ebc7f9d110a59ed5b0358e3b3c6efe7608673a
tree5e2a0955e766953986ac150c2ce667803e72965f
parentd647de150a679907b31dc3290c06c98cf66aa073
drm/i915: Grab the rotation from the passed plane state for VLV sprites

Use the passed in plane_state instead of plane->state in
vlv_update_plane(). Currently the two are one and the same, but if we
start queuing up multiple plane updates they might not be.

Looks like this was rebase fail on my part.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: b79d061d5aca ("drm/i915: Pass 90/270 vs. 0/180 rotation info for intel_gen4_compute_page_offset()")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478550057-24864-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 11df4d95b3ad9e6a6a6e0907bb200610a4d24887)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_sprite.c