mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
drm/exynos/decon5433: enable HDMI-PHY before configuring DECON
According to documentation and tests HDMI-PHY must be on prior to MIXER configuration. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
This commit is contained in:
parent
f26b9343f5
commit
c60230eba2
@ -389,6 +389,8 @@ static void decon_enable(struct exynos_drm_crtc *crtc)
|
||||
|
||||
pm_runtime_get_sync(ctx->dev);
|
||||
|
||||
exynos_drm_pipe_clk_enable(crtc, true);
|
||||
|
||||
set_bit(BIT_CLKS_ENABLED, &ctx->flags);
|
||||
|
||||
decon_swreset(ctx);
|
||||
@ -420,6 +422,8 @@ static void decon_disable(struct exynos_drm_crtc *crtc)
|
||||
|
||||
clear_bit(BIT_CLKS_ENABLED, &ctx->flags);
|
||||
|
||||
exynos_drm_pipe_clk_enable(crtc, false);
|
||||
|
||||
pm_runtime_put_sync(ctx->dev);
|
||||
|
||||
set_bit(BIT_SUSPENDED, &ctx->flags);
|
||||
|
Loading…
Reference in New Issue
Block a user