summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2017-06-19 19:03:20 +0200
committerJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2017-06-19 19:07:19 +0200
commit4089a8be954c53e1c782dfe58565634183fab5a3 (patch)
treedd00bdf26719e023c0e97e5b13aad0c6ba3e0b23
parenta4299f8905d185001d60f23944dda84a688c5179 (diff)
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 <jakob.unterwurzacher@theobroma-systems.com>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c4
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 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,