]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/panel: Fix boe,tv101wum-n53 htotal timing
authorNicolas Boichat <drinkcat@chromium.org>
Sat, 25 Jan 2020 05:02:56 +0000 (13:02 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 25 Jan 2020 06:08:27 +0000 (07:08 +0100)
The datasheet suggests 60 for tHFP, so let's adjust the number
accordingly.

This also makes the framerate be 60Hz as intended:
159916.0 * 1000 / ((1200 + 80 + 24 + 60)*(1920 + 20 + 4 + 10))
=> 60.00 Hz

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Fixes: 6f6b618cb97a ("drm/panel: support for boe, tv101wum-n53 wuxga dsi video mode panel")
Cc: Jitao Shi <jitao.shi@mediatek.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> [added fixes tag]
Link: https://patchwork.freedesktop.org/patch/msgid/20200125050256.107404-1-drinkcat@chromium.org
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c

index 01faf859770000544093f38e6a7a443bb6d143ef..48a164257d18c3571ceec393682e3c1bf77426cc 100644 (file)
@@ -645,7 +645,7 @@ static const struct drm_display_mode boe_tv101wum_n53_default_mode = {
        .hdisplay = 1200,
        .hsync_start = 1200 + 80,
        .hsync_end = 1200 + 80 + 24,
-       .htotal = 1200 + 80 + 24 + 40,
+       .htotal = 1200 + 80 + 24 + 60,
        .vdisplay = 1920,
        .vsync_start = 1920 + 20,
        .vsync_end = 1920 + 20 + 4,