summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-04-06 13:02:45 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-04-28 15:19:11 +0300
commit631c28745696210d24892dd7572afa9be96848ac (patch)
treecea53e2e41ec242c78b3ea9b20a493bd76bcba7d
parent5f9f1ebe03e5c6b2e7172c451973b5dac3797fbe (diff)
drm/panel: simple: Tune timing for ET057090DHU
VESA Display Monitor Timing v1.13 has recommendations for the historical VGA mode 640x480 60Hz. These parameters are compatible with EDT ET057090DHU recommended timings. Use VESA DMT timing parameters for EDT ET057090DHU panel. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 8abb31f83ffc..72c3116ed46d 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1291,12 +1291,12 @@ static const struct drm_display_mode edt_et057090dhu_mode = {
.clock = 25175,
.hdisplay = 640,
.hsync_start = 640 + 16,
- .hsync_end = 640 + 16 + 30,
- .htotal = 640 + 16 + 30 + 114,
+ .hsync_end = 640 + 16 + 48,
+ .htotal = 640 + 16 + 48 + 96,
.vdisplay = 480,
.vsync_start = 480 + 10,
- .vsync_end = 480 + 10 + 3,
- .vtotal = 480 + 10 + 3 + 32,
+ .vsync_end = 480 + 10 + 2,
+ .vtotal = 480 + 10 + 2 + 33,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
};