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
..
2015-05-20 16:23:53 +10:00
2015-05-20 16:23:53 +10:00
2015-04-20 13:05:20 +10:00
2015-05-07 13:09:25 +10:00
2014-11-20 11:30:37 +10:00
2015-05-20 16:23:53 +10:00
2015-04-02 09:21:48 +10:00
2015-03-13 17:37:35 +01:00
2014-12-16 08:56:55 +01:00
2015-05-05 09:46:38 +02:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-04-02 09:21:48 +10:00
2015-05-13 11:28:22 +02:00