Skip to contentSkip to conversation

drm/panel:Adjust sync values for Feixin K101-IM2BYL02 panel

PATCH In review Dan Johansen 2 participants 3 messages Aug 19, 2021 – Oct 17, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel:Adjust sync values for Feixin K101-IM2BYL02 panel

This adjusts sync values according to the datasheet

Fixes 1c243751c095bb95e2795f076ea7a0bcdd60a93a ("drm/panel: ilitek-ili9881c: add support for Feixin K101-IM2BYL02 panel")
---
 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +6 -6
index 0145129d7c66..534dd7414d42 100644
@@ -590,14 +590,14 @@ static const struct drm_display_mode k101_im2byl02_default_mode = {
 	.clock		= 69700,
 
 	.hdisplay	= 800,
-	.hsync_start	= 800 + 6,
-	.hsync_end	= 800 + 6 + 15,
-	.htotal		= 800 + 6 + 15 + 16,
+	.hsync_start	= 800 + 52,
+	.hsync_end	= 800 + 52 + 8,
+	.htotal		= 800 + 52 + 8 + 48,
 
 	.vdisplay	= 1280,
-	.vsync_start	= 1280 + 8,
-	.vsync_end	= 1280 + 8 + 48,
-	.vtotal		= 1280 + 8 + 48 + 52,
+	.vsync_start	= 1280 + 16,
+	.vsync_end	= 1280 + 16 + 6,
+	.vtotal		= 1280 + 16 + 6 + 15,
 
 	.width_mm	= 135,
 	.height_mm	= 217,
Signature · 1 line
2.32.0
#1 lore raw

Hi Dan,

Quoted 5 lines · Dan Johansen

This adjusts sync values according to the datasheet

Fixes 1c243751c095bb95e2795f076ea7a0bcdd60a93a ("drm/panel: ilitek-ili9881c: add support for Feixin K101-IM2BYL02 panel")

Sorry for not picking this up sooner - I have been away for a while.

The patch is now applied to drm-misc-fixes and will show up in the upstream kernel in 1-2 week from now.
I updated the subject and the fixes tag while applying.

The Co-developed-by: is supposed to be paired with a Signed-off-by:
by the same person. Something to do right next time.

Sam

Quoted 31 lines
---
 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +6 -6
index 0145129d7c66..534dd7414d42 100644
@@ -590,14 +590,14 @@ static const struct drm_display_mode k101_im2byl02_default_mode = {
 	.clock		= 69700,
 
 	.hdisplay	= 800,
-	.hsync_start	= 800 + 6,
-	.hsync_end	= 800 + 6 + 15,
-	.htotal		= 800 + 6 + 15 + 16,
+	.hsync_start	= 800 + 52,
+	.hsync_end	= 800 + 52 + 8,
+	.htotal		= 800 + 52 + 8 + 48,
 
 	.vdisplay	= 1280,
-	.vsync_start	= 1280 + 8,
-	.vsync_end	= 1280 + 8 + 48,
-	.vtotal		= 1280 + 8 + 48 + 52,
+	.vsync_start	= 1280 + 16,
+	.vsync_end	= 1280 + 16 + 6,
+	.vtotal		= 1280 + 16 + 6 + 15,
 
 	.width_mm	= 135,
 	.height_mm	= 217,
Signature · 1 line
2.32.0
#2 lore raw

Thanks for applying.

Den 17.10.2021 kl. 19.24 skrev Sam Ravnborg:

Quoted 5 lines

Hi Dan,

Quoted 2 lines · Dan Johansen

This adjusts sync values according to the datasheet

Quoted 8 lines
Quoted 3 lines
Fixes 1c243751c095bb95e2795f076ea7a0bcdd60a93a ("drm/panel: ilitek-ili9881c: add support for Feixin K101-IM2BYL02 panel")

Sorry for not picking this up sooner - I have been away for a while.

The patch is now applied to drm-misc-fixes and will show up in the upstream kernel in 1-2 week from now.
I updated the subject and the fixes tag while applying.

Thanks.

Quoted 3 lines

The Co-developed-by: is supposed to be paired with a Signed-off-by:
by the same person. Something to do right next time.

Didn't know that. Thanks, will remember for next time!

Quoted 34 lines

Sam

Quoted 31 lines
---
  drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c +6 -6
index 0145129d7c66..534dd7414d42 100644
@@ -590,14 +590,14 @@ static const struct drm_display_mode k101_im2byl02_default_mode = {
  	.clock		= 69700,
 
  	.hdisplay	= 800,
-	.hsync_start	= 800 + 6,
-	.hsync_end	= 800 + 6 + 15,
-	.htotal		= 800 + 6 + 15 + 16,
+	.hsync_start	= 800 + 52,
+	.hsync_end	= 800 + 52 + 8,
+	.htotal		= 800 + 52 + 8 + 48,
 
  	.vdisplay	= 1280,
-	.vsync_start	= 1280 + 8,
-	.vsync_end	= 1280 + 8 + 48,
-	.vtotal		= 1280 + 8 + 48 + 52,
+	.vsync_start	= 1280 + 16,
+	.vsync_end	= 1280 + 16 + 6,
+	.vtotal		= 1280 + 16 + 6 + 15,
 
  	.width_mm	= 135,
  	.height_mm	= 217,
Signature · 1 line
2.32.0
Signature · 4 lines
Kind regards
*Dan Johansen*
Project lead of the *Manjaro ARM* project
Manjaro-ARM <https://manjaro.org>