diff mbox series

[07/33] drm/panel-sitronix-st7789v: Fix dotclock

Message ID 20200302203452.17977-8-ville.syrjala@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series drm/panel: Fix dotclocks | expand

Commit Message

Ville Syrjälä March 2, 2020, 8:34 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The currently listed dotclock disagrees with the currently
listed vrefresh rate. Change the dotclock to match the vrefresh.

Someone tell me which (if either) of the dotclock or vreresh is
correct?

Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
index cc02c54c1b2e..5e9d706d06a6 100644
--- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
+++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
@@ -156,7 +156,7 @@  static int st7789v_write_data(struct st7789v *ctx, u8 cmd)
 }
 
 static const struct drm_display_mode default_mode = {
-	.clock = 7000,
+	.clock = 6008,
 	.hdisplay = 240,
 	.hsync_start = 240 + 38,
 	.hsync_end = 240 + 38 + 10,