drm/panel: rm68200: fix mode to 50fps
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/panel/panel-raydium-rm68200.c +6 -6
@@ -82,15 +82,15 @@ struct rm68200 { };static const struct drm_display_mode default_mode = { - .clock =52582 , + .clock =54000 , .hdisplay =720 , - .hsync_start =720 +38 , - .hsync_end =720 +38 +8 , - .htotal =720 +38 +8 +38 , + .hsync_start =720 +48 , + .hsync_end =720 +48 +9 , + .htotal =720 +48 +9 +48 , .vdisplay =1280 , .vsync_start =1280 +12 , - .vsync_end =1280 +12 +4 , - .vtotal =1280 +12 +4 +12 , + .vsync_end =1280 +12 +5 , + .vtotal =1280 +12 +5 +12 , .flags =0 , .width_mm =68 , .height_mm =122 ,
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 25 lines · Yannick Fertre
Compute new timings to get a framerate of 50fps with a pixel clock @54Mhz.
Signed-off-by Yannick Fertre <[email protected]>--- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/gpu/drm/panel/panel-raydium-rm68200.c +3
-4@@ -82,15 +82,15 @@ struct rm68200 { };static const struct drm_display_mode default_mode = { - .clock =52582 , + .clock =54000 , .hdisplay =720 , - .hsync_start =720 +38 , - .hsync_end =720 +38 +8 , - .htotal =720 +38 +8 +38 , + .hsync_start =720 +48 , + .hsync_end =720 +48 +9 ,
drivers/gpu/drm/panel/panel-raydium-rm68200.c struct rm68200 { · line 96
Quoted 10 lines
drivers/gpu/drm/panel/panel-raydium-rm68200.c +3
-2+ .htotal = 720 + 48 + 9 + 48, .vdisplay = 1280, .vsync_start = 1280 + 12, - .vsync_end = 1280 + 12 + 4, - .vtotal = 1280 + 12 + 4 + 12, + .vsync_end = 1280 + 12 + 5, + .vtotal = 1280 + 12 + 5 + 12, .flags = 0, .width_mm = 68, .height_mm = 122,
Hi Yannick,
Tested-by Philippe Cornu <[email protected]>
Thank you,
Philippe
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Sam Ravnborg
AppliedHi Yannick
Quoted 4 lines · Yannick Fertre
Compute new timings to get a framerate of 50fps with a pixel clock @54Mhz.
Signed-off-by Yannick Fertre <[email protected]>
Thanks, applied to drm-misc-next.
Sorry for taking so long time.
Sam
Quoted 37 lines
--- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/gpu/drm/panel/panel-raydium-rm68200.c +6
-6@@ -82,15 +82,15 @@ struct rm68200 { };static const struct drm_display_mode default_mode = { - .clock =52582 , + .clock =54000 , .hdisplay =720 , - .hsync_start =720 +38 , - .hsync_end =720 +38 +8 , - .htotal =720 +38 +8 +38 , + .hsync_start =720 +48 , + .hsync_end =720 +48 +9 , + .htotal =720 +48 +9 +48 , .vdisplay =1280 , .vsync_start =1280 +12 , - .vsync_end =1280 +12 +4 , - .vtotal =1280 +12 +4 +12 , + .vsync_end =1280 +12 +5 , + .vtotal =1280 +12 +5 +12 , .flags =0 , .width_mm =68 , .height_mm =122 ,Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel