Support more panels used by MT8173 Chromebooks in edp-panel
cover Support more panels used by MT8173 Chromebooks in edp-panel
This series contains 2 patches.
The first patch adds more panel entries with the delays from the datasheets.
The second patch adds 3 panel entries whose datasheets are not available. For more backgrounds of the rationale behind these conservative timings, please refer to the commit message of commit 7c8690d8fc80 ("drm/panel-edp:
Add some panels with conservative timings") and the related mailing list discussion[1].
[1]: https://lore.kernel.org/all/CAD=FV=V=K9L=bJiNvFJ+K_DHUTPxA4WtukXA+E_VW6uihE8kdQ@mail.gmail.com/
Pin-yen Lin (2):
drm/panel-edp: Add support for several panels drm/panel-edp: Add more panels with conservative timings
drivers/gpu/drm/panel/panel-edp.c | 6 ++++++ 1 file changed, 6 insertions(+)
Signature · 1 line
2.45.1.288.g0e0cd299f1-goog
PATCH 1/2 drm/panel-edp: Add support for several panels
Add support for the following models:
AUO B140HTN02.0
BOE NT116WHM-N21 V4.1
BOE NT116WHM-N21
---
drivers/gpu/drm/panel/panel-edp.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/panel/panel-edp.c +3 -0
@@ -1985,6 +1985,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x145c , &delay_200_500_e50,"B116XAB01.4" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1e9b , &delay_200_500_e50,"B133UAN02.1" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1ea5 , &delay_200_500_e50,"B116XAK01.6" ), +EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x203d , &delay_200_500_e50,"B140HTN02.0" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x208d , &delay_200_500_e50,"B140HTN02.1" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x235c , &delay_200_500_e50,"B116XTN02.3" ), EDP_PANEL_ENTRY('A', 'U', 'O', 0x239b, &delay_200_500_e50, "B116XAN06.1"),
@@ -2005,6 +2006,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0607 , &delay_200_500_e200,"Unknown" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0608 , &delay_200_500_e50,"NT116WHM-N11" ), +EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0609 , &delay_200_500_e50_po2e200,"NT116WHM-N21 V4.1" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0668 , &delay_200_500_e200,"Unknown" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x068f , &delay_200_500_e200,"Unknown" ), EDP_PANEL_ENTRY('B', 'O', 'E', 0x06e5, &delay_200_500_e200, "Unknown"),
@@ -2020,6 +2022,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0771 , &delay_200_500_e200,"Unknown" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0786 , &delay_200_500_p2e80,"NV116WHM-T01" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0797 , &delay_200_500_e200,"Unknown" ), +EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x07a8 , &delay_200_500_e50_po2e200,"NT116WHM-N21" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x07d1 , &boe_nv133fhm_n61.delay,"NV133FHM-N61" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x07d3 , &delay_200_500_e200,"Unknown" ), EDP_PANEL_ENTRY('B', 'O', 'E', 0x07f6, &delay_200_500_e200, "NT140FHM-N44"),
Signature · 1 line
2.45.1.288.g0e0cd299f1-goog
Re: [PATCH 1/2] drm/panel-edp: Add support for several panels
Hi,
Quoted 11 lines · Pin-yen Lin
Add support for the following models:
AUO B140HTN02.0
BOE NT116WHM-N21 V4.1
BOE NT116WHM-N21Signed-off-by Pin-yen Lin <[email protected]>---
drivers/gpu/drm/panel/panel-edp.c | 3 +++ 1 file changed, 3 insertions(+)
Ideally the subject would be slightly less generic, but I guess it's fine.
...and as usual with small updates to this table I've pushed it to drm-misc-next without a big wait.
Re: (subset) [PATCH 1/2] drm/panel-edp: Add support for several panels
In reply to Pin-yen LinQuoted 6 lines · Pin-yen Lin
Add support for the following models:
AUO B140HTN02.0
BOE NT116WHM-N21 V4.1
BOE NT116WHM-N21
Applied, thanks!
[1/2] drm/panel-edp: Add support for several panels
commit: e4f9fd9edbc22faceb4c9c57242440bb9e17924b
Best regards,
Signature · 1 line
Douglas Anderson <[email protected]>
PATCH 2/2 drm/panel-edp: Add more panels with conservative timings
In reply to Pin-yen LinSame as commit 7c8690d8fc80 ("drm/panel-edp: Add some panels with conservative timings"), the 3 panels added in this patch are used by Mediatek MT8173 Chromebooks and they used to work with the downstream v4.19 kernel without any specified delay.
These panel IDs were found from in-field reports, but their datahseets are not available. For BOE 0x0623 and SHP 0x153a, their product names are retrieved from the EDIDs. The EDID of AUO 0x1999 does not contain such information, so list as "Unknown" in this patch.
Update these entries with less-conservative timings from other panels of the same vendor.
---
drivers/gpu/drm/panel/panel-edp.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/panel/panel-edp.c +3 -0
@@ -1983,6 +1983,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1062 , &delay_200_500_e50,"B120XAN01.0" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x125c , &delay_200_500_e50,"Unknown" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x145c , &delay_200_500_e50,"B116XAB01.4" ), +EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1999 , &delay_200_500_e50,"Unknown" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1e9b , &delay_200_500_e50,"B133UAN02.1" ),EDP_PANEL_ENTRY ('A' ,'U' ,'O' ,0x1ea5 , &delay_200_500_e50,"B116XAK01.6" ), EDP_PANEL_ENTRY('A', 'U', 'O', 0x203d, &delay_200_500_e50, "B140HTN02.0"),
@@ -2007,6 +2008,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0607 , &delay_200_500_e200,"Unknown" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0608 , &delay_200_500_e50,"NT116WHM-N11" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0609 , &delay_200_500_e50_po2e200,"NT116WHM-N21 V4.1" ), +EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0623 , &delay_200_500_e200,"NT116WHM-N21 V4.0" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x0668 , &delay_200_500_e200,"Unknown" ),EDP_PANEL_ENTRY ('B' ,'O' ,'E' ,0x068f , &delay_200_500_e200,"Unknown" ), EDP_PANEL_ENTRY('B', 'O', 'E', 0x06e5, &delay_200_500_e200, "Unknown"),
@@ -2118,6 +2120,7 @@ static const struct edp_panel_entry edp_panels[] = {EDP_PANEL_ENTRY ('S' ,'H' ,'P' ,0x1511 , &delay_200_500_e50,"LQ140M1JW48" ),EDP_PANEL_ENTRY ('S' ,'H' ,'P' ,0x1523 , &sharp_lq140m1jw46.delay,"LQ140M1JW46" ), +EDP_PANEL_ENTRY ('S' ,'H' ,'P' ,0x153a , &delay_200_500_e50,"LQ140T1JH01" ),EDP_PANEL_ENTRY ('S' ,'H' ,'P' ,0x154c , &delay_200_500_p2e100,"LQ116M1JW10" ), EDP_PANEL_ENTRY('S', 'T', 'A', 0x0100, &delay_100_500_e200, "2081116HHD028001-51D"),
Signature · 1 line
2.45.1.288.g0e0cd299f1-goog
Re: [PATCH 2/2] drm/panel-edp: Add more panels with conservative timings
Hi,
Quoted 14 lines · Pin-yen Lin
Same as commit
7c8690d8fc80("drm/panel-edp: Add some panels with conservative timings"), the 3 panels added in this patch are used by Mediatek MT8173 Chromebooks and they used to work with the downstream v4.19 kernel without any specified delay.These panel IDs were found from in-field reports, but their datahseets are not available. For BOE
0x0623and SHP0x153a, their product names are retrieved from the EDIDs. The EDID of AUO0x1999does not contain such information, so list as "Unknown" in this patch.Update these entries with less-conservative timings from other panels of the same vendor.
Quoted 6 lines
Signed-off-by Pin-yen Lin <[email protected]>---
drivers/gpu/drm/panel/panel-edp.c | 3 +++ 1 file changed, 3 insertions(+)
...and as usual with small updates to this table I've pushed it to drm-misc-next without a big wait.
Re: (subset) [PATCH 2/2] drm/panel-edp: Add more panels with conservative timings
In reply to Pin-yen LinQuoted 11 lines · Pin-yen Lin
Same as commit
7c8690d8fc80("drm/panel-edp: Add some panels with conservative timings"), the 3 panels added in this patch are used by Mediatek MT8173 Chromebooks and they used to work with the downstream v4.19 kernel without any specified delay.These panel IDs were found from in-field reports, but their datahseets are not available. For BOE
0x0623and SHP0x153a, their product names are retrieved from the EDIDs. The EDID of AUO0x1999does not contain such information, so list as "Unknown" in this patch.[...]
Applied, thanks!
[2/2] drm/panel-edp: Add more panels with conservative timings
commit: 336dca397dcefc5d7436be1fee3c814ed6512996
Best regards,
Signature · 1 line
Douglas Anderson <[email protected]>