[Intel-gfx] [PATCH 1/3] drm/atomic: add commit_planes_on_crtc helper

2015-05-19 Thread Daniel Vetter
On Tue, May 19, 2015 at 04:41:01PM +0200, Maarten Lankhorst wrote: > 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 c

[PATCH 1/3] drm/atomic: add commit_planes_on_crtc helper

2015-05-19 Thread Maarten Lankhorst
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 i