Skip to contentSkip to conversation

drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock

PATCH Superseded Luca Ceresoli 3 participants 4 messages Aug 4, 2023 – Aug 14, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: simple: Fix Innolux G156HCE-L01 LVDS clock

This panel has been implemented in commit 225213f24c79 ("drm/panel-simple:
Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge.

Fixes 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry")
---
 drivers/gpu/drm/panel/panel-simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-simple.c +1 -1
index 56854f78441e..ec3a73bbfe30 100644
@@ -2379,7 +2379,7 @@ static const struct panel_desc innolux_g121x1_l03 = {
 };
 
 static const struct display_timing innolux_g156hce_l01_timings = {
-	.pixelclock = { 120000000, 144000000, 150000000 },
+	.pixelclock = { 120000000, 141860000, 150000000 },
 	.hactive = { 1920, 1920, 1920 },
 	.hfront_porch = { 80, 90, 100 },
 	.hback_porch = { 80, 90, 100 },
Signature · 1 line
2.34.1
Tested-by Reviewed-by on v1 1/1
#1 lore raw
Quoted 19 lines · Luca Ceresoli

This panel has been implemented in commit 225213f24c79 ("drm/panel-simple:
Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge.

Fixes 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry")
---
  drivers/gpu/drm/panel/panel-simple.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-simple.c +0 -0
index 56854f78441e..ec3a73bbfe30 100644

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc innolux_g121x1_l03 = { · line 2385

Quoted 8 lines
drivers/gpu/drm/panel/panel-simple.c +1 -1
@@ -2379,7 +2379,7 @@ static const struct panel_desc innolux_g121x1_l03 = {
  };
 
  static const struct display_timing innolux_g156hce_l01_timings = {
-	.pixelclock = { 120000000, 144000000, 150000000 },
+	.pixelclock = { 120000000, 141860000, 150000000 },
  	.hactive = { 1920, 1920, 1920 },
  	.hfront_porch = { 80, 90, 100 },
  	.hback_porch = { 80, 90, 100 },

Odd, now I don't see the flicker anymore.

Thanks !

maintainer
#2 lore raw
In reply to Luca Ceresoli
Quoted 9 lines · Luca Ceresoli

This panel has been implemented in commit 225213f24c79 ("drm/panel-simple:
Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge.

Fixes 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry")

This is the wrong sha, it should be eae7488814b5

Neil

Quoted 18 lines
---
  drivers/gpu/drm/panel/panel-simple.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-simple.c +1 -1
index 56854f78441e..ec3a73bbfe30 100644
@@ -2379,7 +2379,7 @@ static const struct panel_desc innolux_g121x1_l03 = {
  };
 
  static const struct display_timing innolux_g156hce_l01_timings = {
-	.pixelclock = { 120000000, 144000000, 150000000 },
+	.pixelclock = { 120000000, 141860000, 150000000 },
  	.hactive = { 1920, 1920, 1920 },
  	.hfront_porch = { 80, 90, 100 },
  	.hback_porch = { 80, 90, 100 },
#3 lore raw

Hello Neil,

Quoted 9 lines · On Mon, 14 Aug 2023 14:38:51 +0200 Neil Armstrong <[email protected]>…
Quoted 8 lines · Luca Ceresoli

This panel has been implemented in commit 225213f24c79 ("drm/panel-simple:
Add Innolux G156HCE-L01 panel entry") with a higher clock than the typical one mentioned on the documentation to avoid flickering on the unit tested. Testing on a different unit shows that the panel actually works with the intended 70.93 MHz clock and even lower frequencies so the flickering is likely caused either by a defective unit or by other different components such as the bridge.

Quoted 3 lines
Quoted 1 line
Fixes 225213f24c79 ("drm/panel-simple: Add Innolux G156HCE-L01 panel entry")

This is the wrong sha, it should be eae7488814b5

Ah, good catch, Thank you!

v2 on its way.

Luca

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com