drm/i915: split intel_cursor_plane_update() into check() and commit()
authorGustavo Padovan <[email protected]>
Fri, 5 Sep 2014 20:22:31 +0000 (17:22 -0300)
committerDaniel Vetter <[email protected]>
Fri, 19 Sep 2014 12:43:05 +0000 (14:43 +0200)
commit852e787c4cb9fcc34cf81d2a764a1aee2d9f24bd
tree3d199e96844d3f8c032189dd5dd8e074a7df9341
parent96d61a7f267ff355a401ca23a732810027d10ba2
drm/i915: split intel_cursor_plane_update() into check() and commit()

Due to the upcoming atomic modesetting feature we need to separate
some update functions into a check step that can fail and a commit
step that should, ideally, never fail.

The commit part can still fail, but that should be solved in another
upcoming patch.

Signed-off-by: Gustavo Padovan <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c