drm/panel: panel-edp: Add Tianma TL160ADMP17
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
@@ -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
Doug Anderson
reviewerHi,
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 TMA0x2033, using conservative timings"Signed-off-by Alejandro Quintanar <[email protected]>--- drivers/gpu/drm/panel/panel-edp.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/panel/panel-edp.c +0
-0
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