Commit a072f809 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Daniel Vetter

drm/atomic: Rename drm_atomic_helper_commit_pre_planes() state argument

The argument contains a pointer to the old state, rename it to old_state
like in all other commit helper functions.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 31c946e8
...@@ -770,18 +770,18 @@ crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) ...@@ -770,18 +770,18 @@ crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state)
/** /**
* drm_atomic_helper_commit_pre_planes - modeset commit before plane updates * drm_atomic_helper_commit_pre_planes - modeset commit before plane updates
* @dev: DRM device * @dev: DRM device
* @state: atomic state * @old_state: atomic state object with old state structures
* *
* This function commits the modeset changes that need to be committed before * This function commits the modeset changes that need to be committed before
* updating planes. It shuts down all the outputs that need to be shut down and * updating planes. It shuts down all the outputs that need to be shut down and
* prepares them (if required) with the new mode. * prepares them (if required) with the new mode.
*/ */
void drm_atomic_helper_commit_pre_planes(struct drm_device *dev, void drm_atomic_helper_commit_pre_planes(struct drm_device *dev,
struct drm_atomic_state *state) struct drm_atomic_state *old_state)
{ {
disable_outputs(dev, state); disable_outputs(dev, old_state);
set_routing_links(dev, state); set_routing_links(dev, old_state);
crtc_set_mode(dev, state); crtc_set_mode(dev, old_state);
} }
EXPORT_SYMBOL(drm_atomic_helper_commit_pre_planes); EXPORT_SYMBOL(drm_atomic_helper_commit_pre_planes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment