From 04960f85cac4e71910a09da75ca2989715311bd0 Mon Sep 17 00:00:00 2001 From: Yannick GICQUEL Date: Tue, 29 Sep 2015 11:56:24 +0200 Subject: silk: kernel: disable interlace mode This change default configuration of rcar-du driver to avoid flickering on HDMI plug. This may be related to misalignment between ADV7511 and the SoC (tbc). This issue was observed on two different screen models. Change-Id: I1509e046fd7d46f6b74ea0bd96d5d41116d2f89a Signed-off-by: Yannick GICQUEL --- ...rm-rcar-du-r8a7794-disable-interlace-mode.patch | 26 ++++++++++++++++++++++ .../recipes-kernel/linux/linux-renesas_3.10.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch new file mode 100644 index 0000000..751e657 --- /dev/null +++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch @@ -0,0 +1,26 @@ +From 66ea15820ce0a4d093ec7d8a3c4c788f3e5b4bc7 Mon Sep 17 00:00:00 2001 +From: Yannick GICQUEL +Date: Mon, 28 Sep 2015 20:46:30 +0200 +Subject: [PATCH] drm: rcar-du: r8a7794: disable interlace mode + +Signed-off-by: Yannick GICQUEL +--- + drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c +index f7da606..c48d16d 100644 +--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c ++++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c +@@ -650,7 +650,7 @@ static const struct rcar_du_device_info rcar_du_r8a7794_info = { + .drgbs_bit = 0, + .max_xres = 1920, + .max_yres = 1080, +- .interlace = true, ++ .interlace = false, + .lvds0_crtc = 0, + .lvds1_crtc = 0, + .vspd_crtc = BIT(0), +-- +1.9.1 + diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb index 551e557..b287f3f 100644 --- a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb +++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb @@ -68,6 +68,7 @@ SRC_URI_append_silk = " \ file://0018-porter-can-support.patch \ file://0019-i2c-busses-rcar-Workaround-arbitration-loss-error.patch \ file://0020-Silk-Remove-I2C1-clock-from-clk_enables.patch \ + file://0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch \ " S = "${WORKDIR}/git" -- cgit 1.2.3-korg