diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2015-08-03 01:38:05 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-08-15 21:23:34 -0400 |
commit | 9cc7610a2375a94ec967f771ce74b51db0d43d1c (patch) | |
tree | 3b8e41f9782dae6a618f8586dee7f09b2415e93a /drivers/gpu/drm/exynos/exynos5433_drm_decon.c | |
parent | f59a89d05f1290d0cdaa588d29871e05cdec159b (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos5433_drm_decon.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index b00800b72950..83fbf387f4d8 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c | |||
@@ -219,7 +219,7 @@ static void decon_shadow_protect_win(struct decon_context *ctx, int win, | |||
219 | writel(val, ctx->addr + DECON_SHADOWCON); | 219 | writel(val, ctx->addr + DECON_SHADOWCON); |
220 | } | 220 | } |
221 | 221 | ||
222 | static void decon_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) | 222 | static void decon_update_plane(struct exynos_drm_crtc *crtc, unsigned int win) |
223 | { | 223 | { |
224 | struct decon_context *ctx = crtc->ctx; | 224 | struct decon_context *ctx = crtc->ctx; |
225 | struct exynos_drm_plane *plane; | 225 | struct exynos_drm_plane *plane; |
@@ -277,7 +277,7 @@ static void decon_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) | |||
277 | atomic_set(&ctx->win_updated, 1); | 277 | atomic_set(&ctx->win_updated, 1); |
278 | } | 278 | } |
279 | 279 | ||
280 | static void decon_win_disable(struct exynos_drm_crtc *crtc, unsigned int win) | 280 | static void decon_disable_plane(struct exynos_drm_crtc *crtc, unsigned int win) |
281 | { | 281 | { |
282 | struct decon_context *ctx = crtc->ctx; | 282 | struct decon_context *ctx = crtc->ctx; |
283 | struct exynos_drm_plane *plane; | 283 | struct exynos_drm_plane *plane; |
@@ -378,7 +378,7 @@ static void decon_disable(struct exynos_drm_crtc *crtc) | |||
378 | * a destroyed buffer later. | 378 | * a destroyed buffer later. |
379 | */ | 379 | */ |
380 | for (i = 0; i < WINDOWS_NR; i++) | 380 | for (i = 0; i < WINDOWS_NR; i++) |
381 | decon_win_disable(crtc, i); | 381 | decon_disable_plane(crtc, i); |
382 | 382 | ||
383 | decon_swreset(ctx); | 383 | decon_swreset(ctx); |
384 | 384 | ||
@@ -460,8 +460,8 @@ static struct exynos_drm_crtc_ops decon_crtc_ops = { | |||
460 | .enable_vblank = decon_enable_vblank, | 460 | .enable_vblank = decon_enable_vblank, |
461 | .disable_vblank = decon_disable_vblank, | 461 | .disable_vblank = decon_disable_vblank, |
462 | .commit = decon_commit, | 462 | .commit = decon_commit, |
463 | .win_commit = decon_win_commit, | 463 | .update_plane = decon_update_plane, |
464 | .win_disable = decon_win_disable, | 464 | .disable_plane = decon_disable_plane, |
465 | .te_handler = decon_te_irq_handler, | 465 | .te_handler = decon_te_irq_handler, |
466 | }; | 466 | }; |
467 | 467 | ||