Skip to content

Commit

Permalink
drm/exynos/decon5433: reset decon on start
Browse files Browse the repository at this point in the history
Resetting IP at starting ensures that DECON will be in known state
regardless of changes by bootloader.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
  • Loading branch information
Andrzej Hajda authored and Inki Dae committed Apr 29, 2016
1 parent 92ead49 commit e87b3c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/exynos/exynos5433_drm_decon.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ static void decon_enable(struct exynos_drm_crtc *crtc)

set_bit(BIT_CLKS_ENABLED, &ctx->flags);

decon_swreset(ctx);

/* if vblank was enabled status, enable it again. */
if (test_and_clear_bit(BIT_IRQS_ENABLED, &ctx->flags))
decon_enable_vblank(ctx->crtc);
Expand Down

0 comments on commit e87b3c6

Please sign in to comment.