Skip to contentSkip to conversation

drm/panel: st7701: Swap vertical front and back porch timings

PATCH Applied Jagan Teki 2 participants 2 messages May 12, 2019 – May 25, 2019

Subsystems (4)
lore
Share & tools
lore

Jagan Teki

author maintainer
#0 lore raw

PATCH 1/1 drm/panel: st7701: Swap vertical front and back porch timings

Vertical front and back porch values on existing driver are swapped. The existing timings are still working as expected, but to make sure it can compatible with techstar ts8550b bsp timings this patch swap the same values.

---
 drivers/gpu/drm/panel/panel-sitronix-st7701.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/panel/panel-sitronix-st7701.c +3 -3
index 63f9a1c7fb1b..09c5d9a6f9fa 100644
@@ -305,9 +305,9 @@ static const struct drm_display_mode ts8550b_mode = {
 	.htotal		= 480 + 38 + 12 + 12,
 
 	.vdisplay	= 854,
-	.vsync_start	= 854 + 4,
-	.vsync_end	= 854 + 4 + 8,
-	.vtotal		= 854 + 4 + 8 + 18,
+	.vsync_start	= 854 + 18,
+	.vsync_end	= 854 + 18 + 8,
+	.vtotal		= 854 + 18 + 8 + 4,
 
 	.width_mm	= 69,
 	.height_mm	= 139,
Signature · 1 line
2.18.0.321.gffc6fa0e3
Applied
#1 lore raw
Quoted 6 lines · Jagan Teki

Vertical front and back porch values on existing driver are swapped. The existing timings are still working as expected, but to make sure it can compatible with techstar ts8550b bsp timings this patch swap the same values.

Thanks, applied.

Sam