Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: rm68200: fix mode to 50fps

Compute new timings to get a framerate of 50fps with a pixel clock
@54Mhz.

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200925141618.12097-1-yannick.fertre@st.com

authored by

Yannick Fertre and committed by
Sam Ravnborg
37e6011b 06dd6f30

+6 -6
+6 -6
drivers/gpu/drm/panel/panel-raydium-rm68200.c
··· 82 82 }; 83 83 84 84 static const struct drm_display_mode default_mode = { 85 - .clock = 52582, 85 + .clock = 54000, 86 86 .hdisplay = 720, 87 - .hsync_start = 720 + 38, 88 - .hsync_end = 720 + 38 + 8, 89 - .htotal = 720 + 38 + 8 + 38, 87 + .hsync_start = 720 + 48, 88 + .hsync_end = 720 + 48 + 9, 89 + .htotal = 720 + 48 + 9 + 48, 90 90 .vdisplay = 1280, 91 91 .vsync_start = 1280 + 12, 92 - .vsync_end = 1280 + 12 + 4, 93 - .vtotal = 1280 + 12 + 4 + 12, 92 + .vsync_end = 1280 + 12 + 5, 93 + .vtotal = 1280 + 12 + 5 + 12, 94 94 .flags = 0, 95 95 .width_mm = 68, 96 96 .height_mm = 122,