]> 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)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Nov 2016 13:38:25 +0000 (15:38 +0200)
commitec7b5b84db2067fe7b847ef6ee7f78c7c217277e
treeb0d411025fd94a2f34b5d680587fb6300b17546c
parentc43ad8cc0d5f19514a38bec3e12fb4d9cb75e2d9
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>
drivers/gpu/drm/i915/intel_sprite.c