summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2017-06-20 13:04:46 +0200
committerJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>2017-06-22 15:35:50 +0200
commit9e4096686a30c5d4784d072d7a4d7e7ec2c6d9cf (patch)
tree99c9d4c364af279dabfa661f420ead8243079e68
parent88bf066060370629bce76de245730c3cc979a1f3 (diff)
drm/panel: simple: use standard pixel clock on 1920x1200x60 panel
Use the same pixel clock as HDMI uses on a 1920x1200x60 monitor to work around a limitation in the current clocking scheme. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index eb291318e59a..95ba1fdcdfee 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -832,11 +832,11 @@ static const struct panel_desc auo_b133htn01 = {
};
static const struct drm_display_mode generic_1920x1200x60_mode = {
- .clock = 157200,
+ .clock = 154000,
.hdisplay = 1920,
- .hsync_start = 1920 + 154,
- .hsync_end = 1920 + 154 + 16,
- .htotal = 1920 + 154 + 16 + 32,
+ .hsync_start = 1920 + 126,
+ .hsync_end = 1920 + 126 + 16,
+ .htotal = 1920 + 126 + 16 + 16,
.vdisplay = 1200,
.vsync_start = 1200 + 17,
.vsync_end = 1200 + 17 + 2,