drm/exynos: rename win_commit/disable to atomic-like names
Rename win_commit() helper to update_plane() and win_disable() to disable_plane(). Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
f59a89d05f
commit
9cc7610a23
7 changed files with 32 additions and 32 deletions
|
|
@ -179,8 +179,8 @@ static void exynos_plane_atomic_update(struct drm_plane *plane,
|
|||
state->src_x >> 16, state->src_y >> 16,
|
||||
state->src_w >> 16, state->src_h >> 16);
|
||||
|
||||
if (exynos_crtc->ops->win_commit)
|
||||
exynos_crtc->ops->win_commit(exynos_crtc, exynos_plane->zpos);
|
||||
if (exynos_crtc->ops->update_plane)
|
||||
exynos_crtc->ops->update_plane(exynos_crtc, exynos_plane->zpos);
|
||||
}
|
||||
|
||||
static void exynos_plane_atomic_disable(struct drm_plane *plane,
|
||||
|
|
@ -192,9 +192,9 @@ static void exynos_plane_atomic_disable(struct drm_plane *plane,
|
|||
if (!old_state->crtc)
|
||||
return;
|
||||
|
||||
if (exynos_crtc->ops->win_disable)
|
||||
exynos_crtc->ops->win_disable(exynos_crtc,
|
||||
exynos_plane->zpos);
|
||||
if (exynos_crtc->ops->disable_plane)
|
||||
exynos_crtc->ops->disable_plane(exynos_crtc,
|
||||
exynos_plane->zpos);
|
||||
}
|
||||
|
||||
static const struct drm_plane_helper_funcs plane_helper_funcs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue