mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-28 21:46:43 -04:00
drm/atomic-helper: Rename commmit_post/pre_planes
These names only make sense because of backwards compatability with the order used by the crtc helper library. There's not really any real requirement in the ordering here. So rename them to something more descriptive and update the kerneldoc a bit. Motivated in a discussion with Laurent about how to restore plane state for dpms for drivers with runtime pm. v2: Squash in fixup from Stephen Rothwell to fix a conflict with tegra. Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
@@ -134,9 +134,9 @@ int intel_atomic_commit(struct drm_device *dev,
|
||||
* FIXME: The proper sequence here will eventually be:
|
||||
*
|
||||
* drm_atomic_helper_swap_state(dev, state)
|
||||
* drm_atomic_helper_commit_pre_planes(dev, state);
|
||||
* drm_atomic_helper_commit_modeset_disables(dev, state);
|
||||
* drm_atomic_helper_commit_planes(dev, state);
|
||||
* drm_atomic_helper_commit_post_planes(dev, state);
|
||||
* drm_atomic_helper_commit_modeset_enables(dev, state);
|
||||
* drm_atomic_helper_wait_for_vblanks(dev, state);
|
||||
* drm_atomic_helper_cleanup_planes(dev, state);
|
||||
* drm_atomic_state_free(state);
|
||||
|
||||
Reference in New Issue
Block a user