Maarten Lankhorst de28d0212a drm/atomic: add commit_planes_on_crtc helper
drm_atomic_helper_commit_planes calls all atomic_begin's first,
then updates all planes, finally calling atomic_flush.

Some drivers may want to things like disabling irq's
from their atomic_begin, in which case a second call to atomic_begin
will splat. By using commit_planes_on_crtc on each crtc in the
atomic state they'll evade that issue.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[danvet: Extend kerneldoc a bit as discussed with Maarten on irc.]
[danvet: Squash in fixup to check for crtc_funcs in all places.
Reported by Dan Carpenter.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-05-21 10:28:39 +02:00
..
2010-08-10 08:20:20 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2014-11-12 17:56:12 +10:00
2013-12-18 11:35:45 +10:00
2015-05-05 09:45:57 +02:00
2014-03-17 20:11:57 +01:00
2015-04-09 15:57:45 +02:00