38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 6ad1f4b31bfbf2b15a5decf7f556883479dad9f5 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Thu, 29 Oct 2020 04:55:40 +0100
|
|
Subject: [PATCH 319/478] drm: panel: st7703: Fix xbd599 timings to make
|
|
refresh rate exactly 60.006Hz
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-sitronix-st7703.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c b/drivers/gpu/drm/panel/panel-sitronix-st7703.c
|
|
index e87c6a0bea05..b6bc741d0f5c 100644
|
|
--- a/drivers/gpu/drm/panel/panel-sitronix-st7703.c
|
|
+++ b/drivers/gpu/drm/panel/panel-sitronix-st7703.c
|
|
@@ -334,14 +334,14 @@ static int xbd599_init_sequence(struct st7703 *ctx)
|
|
|
|
static const struct drm_display_mode xbd599_mode = {
|
|
.hdisplay = 720,
|
|
- .hsync_start = 720 + 40,
|
|
- .hsync_end = 720 + 40 + 40,
|
|
- .htotal = 720 + 40 + 40 + 40,
|
|
+ .hsync_start = 720 + 30,
|
|
+ .hsync_end = 720 + 30 + 28,
|
|
+ .htotal = 720 + 30 + 28 + 30,
|
|
.vdisplay = 1440,
|
|
.vsync_start = 1440 + 18,
|
|
.vsync_end = 1440 + 18 + 10,
|
|
.vtotal = 1440 + 18 + 10 + 17,
|
|
- .clock = 69000,
|
|
+ .clock = 72000,
|
|
.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
|
|
.width_mm = 68,
|
|
.height_mm = 136,
|
|
--
|
|
2.35.3
|
|
|