aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-kernel
diff options
context:
space:
mode:
authorYannick GICQUEL <yannick.gicquel@iot.bzh>2015-09-29 11:56:24 +0200
committerYannick GICQUEL <yannick.gicquel@iot.bzh>2015-09-29 11:56:24 +0200
commit04960f85cac4e71910a09da75ca2989715311bd0 (patch)
treebe07bed00aceb0f3ec0756c4f8f201f0cbb4d7b1 /meta-rcar-gen2/recipes-kernel
parent37733120e9fa485574cbecfeb93e4d6d5cd6f04f (diff)
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 <yannick.gicquel@iot.bzh>
Diffstat (limited to 'meta-rcar-gen2/recipes-kernel')
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0021-drm-rcar-du-r8a7794-disable-interlace-mode.patch26
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb1
2 files changed, 27 insertions, 0 deletions
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 <yannick.gicquel@iot.bzh>
+Date: Mon, 28 Sep 2015 20:46:30 +0200
+Subject: [PATCH] drm: rcar-du: r8a7794: disable interlace mode
+
+Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh>
+---
+ 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"