aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShirish S <s.shirish@samsung.com>2014-02-14 02:34:57 -0500
committerInki Dae <daeinki@gmail.com>2014-06-01 13:07:08 -0400
commit9a8e1cb036b35d61089d374db2d4294afac9be43 (patch)
tree7df4408c79a1dceeeb2fe0e0077f3f8e53c58116
parentc3b35af8546c3010fc5c43baa3be7a17b0c27ed0 (diff)
drm/exynos: restore core HDMI settings
In DVI mode the video preamble and Guard band should be disabled whereas it should be applied in HDMI mode, the re-applying of preamble and guard band was missing, which resulted in display failures when switched to HDMI mode from DVI mode. This patch ensures the setting is applied in HDMI mode. Signed-off-by: Shirish S <s.shirish@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 6acc1e358d56..b03e721270aa 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -1354,6 +1354,8 @@ static void hdmi_conf_init(struct hdmi_context *hdata)
1354 /* choose HDMI mode */ 1354 /* choose HDMI mode */
1355 hdmi_reg_writemask(hdata, HDMI_MODE_SEL, 1355 hdmi_reg_writemask(hdata, HDMI_MODE_SEL,
1356 HDMI_MODE_HDMI_EN, HDMI_MODE_MASK); 1356 HDMI_MODE_HDMI_EN, HDMI_MODE_MASK);
1357 /* Apply Video preable and Guard band in HDMI mode only */
1358 hdmi_reg_writeb(hdata, HDMI_CON_2, 0);
1357 /* disable bluescreen */ 1359 /* disable bluescreen */
1358 hdmi_reg_writemask(hdata, HDMI_CON_0, 0, HDMI_BLUE_SCR_EN); 1360 hdmi_reg_writemask(hdata, HDMI_CON_0, 0, HDMI_BLUE_SCR_EN);
1359 1361