diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-22 06:24:19 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-23 19:57:46 -0500 |
commit | 1af434a92871af93d97ce28e35497532a4167a0c (patch) | |
tree | 86253693a02e39bf5204a5dde82cb5866a428063 /include/drm | |
parent | a072f809b69885c77262fb978b008ef9488d513e (diff) |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_atomic_helper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h index 8039d54a7441..829280b56874 100644 --- a/include/drm/drm_atomic_helper.h +++ b/include/drm/drm_atomic_helper.h | |||
@@ -43,9 +43,9 @@ int drm_atomic_helper_commit(struct drm_device *dev, | |||
43 | void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, | 43 | void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, |
44 | struct drm_atomic_state *old_state); | 44 | struct drm_atomic_state *old_state); |
45 | 45 | ||
46 | void drm_atomic_helper_commit_pre_planes(struct drm_device *dev, | 46 | void drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, |
47 | struct drm_atomic_state *state); | 47 | struct drm_atomic_state *state); |
48 | void drm_atomic_helper_commit_post_planes(struct drm_device *dev, | 48 | void drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, |
49 | struct drm_atomic_state *old_state); | 49 | struct drm_atomic_state *old_state); |
50 | 50 | ||
51 | int drm_atomic_helper_prepare_planes(struct drm_device *dev, | 51 | int drm_atomic_helper_prepare_planes(struct drm_device *dev, |