summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>2018-11-28 13:36:46 +0200
committerBryan O'Donoghue <bryan.odonoghue@linaro.org>2019-05-01 17:43:29 +0100
commit899b9226d9a6be978bd5744fac3f7a604942de3f (patch)
tree342814a6d0c80ddbd88c3192a485d8a0632911b0
parent271bc9444d036ac1b7cc3eadc14697a1ca4a27b6 (diff)
MLK-20361: drm/panel/raydium: increase vsync_len to 4
This is a work-around for the shifted display issue when using DCSS with the DDR self-refresh disabled. Also, make sure it works with LCDIF as well. Increasing VSYNC length gives DCSS more time to fetch the data from RAM before the next frame kicks in. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com> (cherry picked from commit 3c53532c466add234ac3ca2e70cefe80ea308b4f)
-rw-r--r--drivers/gpu/drm/panel/panel-raydium-rm67191.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-raydium-rm67191.c b/drivers/gpu/drm/panel/panel-raydium-rm67191.c
index 940f780860c6..647ba3fb4b68 100644
--- a/drivers/gpu/drm/panel/panel-raydium-rm67191.c
+++ b/drivers/gpu/drm/panel/panel-raydium-rm67191.c
@@ -528,7 +528,7 @@ static const struct display_timing rad_default_timing = {
.hback_porch = { 34, 34, 34 },
.vactive = { 1920, 1920, 1920 },
.vfront_porch = { 10, 10, 10 },
- .vsync_len = { 2, 2, 2 },
+ .vsync_len = { 4, 4, 4 },
.vback_porch = { 4, 4, 4 },
.flags = DISPLAY_FLAGS_HSYNC_LOW |
DISPLAY_FLAGS_VSYNC_LOW |