drm_atomic_helper_commit_planes — commit plane state
void drm_atomic_helper_commit_planes ( | struct drm_device * dev, |
struct drm_atomic_state * old_state) ; |
This function commits the new plane state using the plane and atomic helper functions for planes and crtcs. It assumes that the atomic state has already been pushed into the relevant object state pointers, since this step can no longer fail.
It still requires the global state object old_state
to know which planes and
crtcs need to be updated though.
Note that this function does all plane updates across all CRTCs in one step.
If the hardware can't support this approach look at
drm_atomic_helper_commit_planes_on_crtc
instead.