From 4089a8be954c53e1c782dfe58565634183fab5a3 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 19 Jun 2017 19:03:20 +0200 Subject: drm/panel: simple: use standard pixel clock on 1920x1080x60 panel Using a different pixel clock causes problems when used at the same time with hdmi. Keep the clock at 148500 for now and adapt htotal to stay at 60 hz. Signed-off-by: Jakob Unterwurzacher --- drivers/gpu/drm/panel/panel-simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b930d157b85f..eb291318e59a 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -860,11 +860,11 @@ static const struct panel_desc generic_1920x1200x60 = { }; static const struct drm_display_mode generic_1920x1080x60_mode = { - .clock = 141828, + .clock = 148500, .hdisplay = 1920, .hsync_start = 1920 + 154, .hsync_end = 1920 + 154 + 16, - .htotal = 1920 + 154 + 16 + 30, + .htotal = 1920 + 154 + 16 + 129, .vdisplay = 1080, .vsync_start = 1080 + 17, .vsync_end = 1080 + 17 + 2, -- cgit v1.2.3