Skip to content

Commit c1bd32b

Browse files
pcercueisravnborg
authored andcommitted
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 <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 656b759 commit c1bd32b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3400,15 +3400,15 @@ static const struct panel_desc sharp_lq123p1jx31 = {
34003400

34013401
static const struct drm_display_mode sharp_ls020b1dd01d_modes[] = {
34023402
{ /* 60 Hz */
3403-
.clock = 4200,
3403+
.clock = 3000,
34043404
.hdisplay = 240,
3405-
.hsync_start = 240 + 66,
3406-
.hsync_end = 240 + 66 + 1,
3407-
.htotal = 240 + 66 + 1 + 1,
3405+
.hsync_start = 240 + 8,
3406+
.hsync_end = 240 + 8 + 1,
3407+
.htotal = 240 + 8 + 1 + 1,
34083408
.vdisplay = 160,
3409-
.vsync_start = 160 + 52,
3410-
.vsync_end = 160 + 52 + 10,
3411-
.vtotal = 160 + 52 + 10 + 6,
3409+
.vsync_start = 160 + 24,
3410+
.vsync_end = 160 + 24 + 10,
3411+
.vtotal = 160 + 24 + 10 + 6,
34123412
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_NVSYNC,
34133413
},
34143414
};

0 commit comments

Comments
 (0)