diff options
author | Philipp Zabel <[email protected]> | 2017-10-11 14:59:56 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2017-10-18 13:53:02 +0200 |
commit | a483159d2b5238b69ef6a3310a4aa61b0dd496c3 (patch) | |
tree | eaee3afbc9dfcbf2dba8147962f3f21f1cff3d71 | |
parent | 84014b0a39eef6df4a26f8afabf2b50bd376d515 (diff) |
drm/panel: simple: fix vertical timings for Innolux AT043TN24
The vsync length should be 10 lines, as specified in the data sheet.
This gets the actual refresh rate closer to nominal 60 Hz given the
9 MHz pixel clock.
Signed-off-by: Philipp Zabel <[email protected]>
Tested-by: Marco Franchi <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index a3c96d2ea41c..fae989b7477c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1018,8 +1018,8 @@ static const struct drm_display_mode innolux_at043tn24_mode = { .htotal = 480 + 2 + 41 + 2, .vdisplay = 272, .vsync_start = 272 + 2, - .vsync_end = 272 + 2 + 11, - .vtotal = 272 + 2 + 11 + 2, + .vsync_end = 272 + 2 + 10, + .vtotal = 272 + 2 + 10 + 2, .vrefresh = 60, .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, }; |