linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel: st7701: Swap vertical front and back porch timings
@ 2019-05-12 18:48 Jagan Teki
  2019-05-25  6:58 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Jagan Teki @ 2019-05-12 18:48 UTC (permalink / raw)
  To: Thierry Reding, David Airlie, Sam Ravnborg, Daniel Vetter,
	dri-devel, linux-kernel
  Cc: michael, linux-amarula, 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.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/gpu/drm/panel/panel-sitronix-st7701.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c
index 63f9a1c7fb1b..09c5d9a6f9fa 100644
--- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c
+++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c
@@ -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,
-- 
2.18.0.321.gffc6fa0e3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/panel: st7701: Swap vertical front and back porch timings
  2019-05-12 18:48 [PATCH] drm/panel: st7701: Swap vertical front and back porch timings Jagan Teki
@ 2019-05-25  6:58 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2019-05-25  6:58 UTC (permalink / raw)
  To: Jagan Teki
  Cc: Thierry Reding, David Airlie, Daniel Vetter, dri-devel,
	linux-kernel, michael, linux-amarula

On Mon, May 13, 2019 at 12:18:27AM +0530, Jagan Teki wrote:
> 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.
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Thanks, applied.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-25  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-12 18:48 [PATCH] drm/panel: st7701: Swap vertical front and back porch timings Jagan Teki
2019-05-25  6:58 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).