mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
33 lines
1012 B
Diff
33 lines
1012 B
Diff
From 0c47f057ef35b7f72e5f3a3dea94e9734ea0c10d Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Fri, 26 Apr 2024 17:50:15 +0100
|
|
Subject: [PATCH 1069/1085] drm/panel-simple: Fix 7inch panel mode for
|
|
misalignment
|
|
|
|
The 7inch panel is one line off the screen both horizontally
|
|
and vertically.
|
|
|
|
Alter the panel mode to correct this.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-simple.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/panel/panel-simple.c
|
|
+++ b/drivers/gpu/drm/panel/panel-simple.c
|
|
@@ -3420,11 +3420,11 @@ static const struct drm_display_mode ras
|
|
.hdisplay = 800,
|
|
.hsync_start = 800 + 59,
|
|
.hsync_end = 800 + 59 + 2,
|
|
- .htotal = 800 + 59 + 2 + 46,
|
|
+ .htotal = 800 + 59 + 2 + 45,
|
|
.vdisplay = 480,
|
|
.vsync_start = 480 + 7,
|
|
.vsync_end = 480 + 7 + 2,
|
|
- .vtotal = 480 + 7 + 2 + 21,
|
|
+ .vtotal = 480 + 7 + 2 + 22,
|
|
.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
|
|
};
|
|
|