]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/panel: boe-tv101wum-n16: fine tune clock
authorDavid Lu <david.lu@bitland.com.cn>
Tue, 28 Apr 2020 06:45:21 +0000 (14:45 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 4 May 2020 20:18:42 +0000 (22:18 +0200)
fix boe_tv105wum_nw0 display shift.

Signed-off-by: David Lu <david.lu@bitland.com.cn>
Fixes: 963518c12431 ("drm/panel: support for boe,tv105wum-nw0 dsi video mode panel")
Cc: David Lu <david.lu@bitland.com.cn>
Cc: Nicolas Boichat <drinkcat@chromium.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
[added fixes tag]
Link: https://patchwork.freedesktop.org/patch/msgid/20200428064521.21511-1-david.lu@bitland.com.cn
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c

index f89861c8598a74882e711098e8262d7b776bfb54..46fe1805c588080130baf4ac187342ce0e7351fc 100644 (file)
@@ -697,15 +697,15 @@ static const struct panel_desc auo_b101uan08_3_desc = {
 };
 
 static const struct drm_display_mode boe_tv105wum_nw0_default_mode = {
-       .clock = 159260,
+       .clock = 159916,
        .hdisplay = 1200,
        .hsync_start = 1200 + 80,
        .hsync_end = 1200 + 80 + 24,
        .htotal = 1200 + 80 + 24 + 60,
        .vdisplay = 1920,
-       .vsync_start = 1920 + 10,
-       .vsync_end = 1920 + 10 + 2,
-       .vtotal = 1920 + 10 + 2 + 14,
+       .vsync_start = 1920 + 20,
+       .vsync_end = 1920 + 20 + 4,
+       .vtotal = 1920 + 20 + 4 + 10,
        .vrefresh = 60,
        .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,
 };