drm/i915: split intel_primary_plane_setplane() into check() and commit()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 5 Sep 2014 20:04:49 +0000 (17:04 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:06 +0000 (14:43 +0200)
commit3c692a4162b7bf9eff9ba677228254d2f633a785
tree73d1b5b8d5e63753c9218c87158c54d64e3a0889
parent852e787c4cb9fcc34cf81d2a764a1aee2d9f24bd
drm/i915: split intel_primary_plane_setplane() into check() and commit()

As a preparation for atomic updates we need to split the code to check
everything we are going to commit first. This patch starts the work to
split intel_primary_plane_setplane() into check() and commit() parts.

More work is expected on this to get a better split of the two steps.
Ideally the commit() step should never fail.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c