drm_atomic_helper_cleanup_planes — cleanup plane resources after commit
void drm_atomic_helper_cleanup_planes ( | struct drm_device * dev, |
struct drm_atomic_state * old_state) ; |
This function cleans up plane state, specifically framebuffers, from the old
configuration. Hence the old configuration must be perserved in old_state
to
be able to call this function.
This function must also be called on the new state when the atomic update
fails at any point after calling drm_atomic_helper_prepare_planes
.