diff options
author | Inki Dae <inki.dae@samsung.com> | 2016-03-30 16:54:57 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:49:27 +0900 |
commit | f6235851f1e4e120d5e49077af0d28934be40c7c (patch) | |
tree | 911da1db691d4b5ba31888509602333a321a7fe3 /drivers | |
parent | cd5db775ca345de5392eb5e3af1149f120f59027 (diff) |
drm/exynos: decon: do not call decon_setup_trigger function unnecessary
This patch makes decon_setup_trigger function to be called only at
decon_commit function and remove the calls from other functions.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 707e5367c612..c5fe9d92bab6 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -408,8 +408,6 @@ static void decon_apply(struct decon_context *ctx) struct exynos_drm_plane *plane; int i; - decon_setup_trigger(ctx); - for (i = drv_data->first_win; i < WINDOWS_NR; i++) { plane = &ctx->planes[i]; if (plane->enabled) @@ -435,8 +433,6 @@ static void decon_reset(struct decon_context *ctx) VIDCON1_VCLK_MASK); decon_set_bits(ctx, DECON_CRCCTRL, CRCCTRL_MASK, CRCCTRL_CRCEN | CRCCTRL_CRCSTART_F | CRCCTRL_CRCCLKEN); - - decon_setup_trigger(ctx); } /* this function will be replaced by clk API call */ |