diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2016-03-23 14:26:00 +0100 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2016-04-30 01:04:26 +0900 |
commit | c60230eba23552bc9caadc0ef42bde27b8a5e169 (patch) | |
tree | 6f65864224e9900de4e4334c6f18bb22b2c7f395 /drivers/gpu/drm | |
parent | f26b9343f582f44ec920474d71b4b2220b1ed9a8 (diff) | |
download | blackbird-op-linux-c60230eba23552bc9caadc0ef42bde27b8a5e169.tar.gz blackbird-op-linux-c60230eba23552bc9caadc0ef42bde27b8a5e169.zip |
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index a1452be6df09..84f8ed6e20eb 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -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); |