build/patch/kernel/archive/sunxi-5.10/olimex_0036-Fix-lcd_olinuxino_10-timings.patch

28 lines
914 B
Diff

From 6b49994056ac5987e08ec77d8fc17b1139ccaa32 Mon Sep 17 00:00:00 2001
From: hehopmajieh <hehopmajieh@debian.bg>
Date: Thu, 9 Apr 2020 15:19:06 +0300
Subject: [PATCH 36/48] Fix lcd_olinuxino_10 timings
---
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 ad10dd8858cf..380cb8456f91 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2430,8 +2430,8 @@ static const struct panel_desc olimex_lcd_olinuxino_7 = {
static const struct drm_display_mode olimex_lcd_olinuxino_10_mode = {
.clock = 45000,
.hdisplay = 1024,
- .hsync_start = 1024 + 10,
- .hsync_end = 1024 + 10 + 6,
+ .hsync_start = 1024 + 16,
+ .hsync_end = 1024 + 16 + 1,
.htotal = 1024 + 10 + 6 + 160,
.vdisplay = 600,
.vsync_start = 600 + 1,
--
2.25.1