Skip to contentSkip to conversation

drm/panel: panel-edp: Add Tianma TL160ADMP17

PATCH In review Alejandro Quintanar 2 participants 2 messages Jan 16 – Jan 17

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

PATCH 1/1 drm/panel: panel-edp: Add Tianma TL160ADMP17

Add support for the Tianma TL160ADMP17 panel (EDID manufacturer ID 'TMA', product ID 0x2033). This is a 16" 2560x1600 panel with 60Hz/120Hz refresh rates found in the Lenovo ThinkBook 16 Gen 7 (21NH).

Without this entry, the panel-edp driver prints:
"Unknown panel TMA 0x2033, using conservative timings"

---
 drivers/gpu/drm/panel/panel-edp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-edp.c +1 -0
index 415b89489..d3dffbfee 100644
@@ -2084,6 +2084,7 @@ static const struct edp_panel_entry edp_panels[] = {
 	EDP_PANEL_ENTRY('S', 'T', 'A', 0x0100, &delay_100_500_e200, "2081116HHD028001-51D"),
 
 	EDP_PANEL_ENTRY('T', 'M', 'A', 0x0811, &delay_200_500_e80_d50, "TM140VDXP01-04"),
+	EDP_PANEL_ENTRY('T', 'M', 'A', 0x2033, &delay_200_500_e50, "TL160ADMP17"),
 	EDP_PANEL_ENTRY('T', 'M', 'A', 0x2094, &delay_200_500_e50_d100, "TL140VDMS03-01"),
 
 	{ /* sentinal */ }
Signature · 1 line
2.51.0
reviewer
#1 lore raw

Hi,

Quoted 18 lines · Alejandro Quintanar

Add support for the Tianma TL160ADMP17 panel (EDID manufacturer ID 'TMA', product ID 0x2033). This is a 16" 2560x1600 panel with 60Hz/120Hz refresh rates found in the Lenovo ThinkBook 16 Gen 7 (21NH).

Without this entry, the panel-edp driver prints:
"Unknown panel TMA 0x2033, using conservative timings"

---
 drivers/gpu/drm/panel/panel-edp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-edp.c +0 -0
index 415b89489..d3dffbfee 100644

drivers/gpu/drm/panel/panel-edp.c static const struct edp_panel_entry edp_panels[] = { · line 2088

Quoted 5 lines
drivers/gpu/drm/panel/panel-edp.c +1 -0
@@ -2084,6 +2084,7 @@ static const struct edp_panel_entry edp_panels[] = {
        EDP_PANEL_ENTRY('S', 'T', 'A', 0x0100, &delay_100_500_e200, "2081116HHD028001-51D"),
 
        EDP_PANEL_ENTRY('T', 'M', 'A', 0x0811, &delay_200_500_e80_d50, "TM140VDXP01-04"),
+       EDP_PANEL_ENTRY('T', 'M', 'A', 0x2033, &delay_200_500_e50, "TL160ADMP17"),
        EDP_PANEL_ENTRY('T', 'M', 'A', 0x2094, &delay_200_500_e50_d100, "TL140VDMS03-01"),

Thanks for the patch! A few things:

1. Can you include the EDID in the commit message? We've been trying to do this to help make sure we know what display was used in case we need to reference it in the future.

2. Do you actually have a datasheet for the panel, or are you making guesses about the timings?

3. Given that the panel below has similar timings but also have a "disable" timing of 100ms, are you certain you don't also need that?

-Doug