···146146 complete_commit(container_of(work, struct msm_commit, work), true);147147}148148149149-/*150150- * this func is identical to the drm_atomic_helper_check, but we keep this151151- * because we might eventually need to have a more finegrained check152152- * sequence without using the atomic helpers.153153- *154154- * In the past, we first called drm_atomic_helper_check_planes, and then155155- * drm_atomic_helper_check_modeset. We needed this because the MDP5 plane's156156- * ->atomic_check could update ->mode_changed for pixel format changes.157157- * This, however isn't needed now because if there is a pixel format change,158158- * we just assign a new hwpipe for it with a new SMP allocation. We might159159- * eventually hit a condition where we would need to do a full modeset if160160- * we run out of planes. There, we'd probably need to set mode_changed.161161- */162162-int msm_atomic_check(struct drm_device *dev,163163- struct drm_atomic_state *state)164164-{165165- int ret;166166-167167- ret = drm_atomic_helper_check_modeset(dev, state);168168- if (ret)169169- return ret;170170-171171- ret = drm_atomic_helper_check_planes(dev, state);172172- if (ret)173173- return ret;174174-175175- return ret;176176-}177177-178149/**179150 * drm_atomic_helper_commit - commit validated state object180151 * @dev: DRM device