diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-08-11 03:22:39 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-08-15 17:08:03 +0300 |
commit | c1bd32b5f6b55f101c1404a6abfa335dfb5408ef (patch) | |
tree | 0298981bf6223a3effc4bbe6bfa64eba2e42c96f /drivers/gpu/drm/panel | |
parent | 656b759636738a9ddc235de4b152743c5b7788c4 (diff) | |
download | linux-c1bd32b5f6b55f101c1404a6abfa335dfb5408ef.tar.xz |
drm/panel: simple: Tweak timings of sharp,ls020b1dd01d for perfect 60Hz
Modify the video mode in order to obtain a perfect 60.00 Hz frame rate
using a 3 MHz pixel clock.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200811002240.55194-5-paul@crapouillou.net
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 9c791d610f99..1df8f1f1e6a0 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3400,15 +3400,15 @@ static const struct panel_desc sharp_lq123p1jx31 = { static const struct drm_display_mode sharp_ls020b1dd01d_modes[] = { { /* 60 Hz */ - .clock = 4200, + .clock = 3000, .hdisplay = 240, - .hsync_start = 240 + 66, - .hsync_end = 240 + 66 + 1, - .htotal = 240 + 66 + 1 + 1, + .hsync_start = 240 + 8, + .hsync_end = 240 + 8 + 1, + .htotal = 240 + 8 + 1 + 1, .vdisplay = 160, - .vsync_start = 160 + 52, - .vsync_end = 160 + 52 + 10, - .vtotal = 160 + 52 + 10 + 6, + .vsync_start = 160 + 24, + .vsync_end = 160 + 24 + 10, + .vtotal = 160 + 24 + 10 + 6, .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC, }, }; |