The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Also switch to the drm_connector_helper_get_modes_fixed() function to get the porch parameters. Changes between V3 and V2: - PATCH 1/2: No changes. - PATCH 2/2: Keep bpc settings and drm_connector_set_panel_orientation() function. - Link to v2: https://lore.kernel.org/all/20240716121112.14435-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes between V2 and V1: - PATCH 1/2: No changes. - PATCH 2/2: Switch to the drm_connector_helper_get_modes_fixed(). - Link to v1: https://lore.kernel.org/all/20240715031845.6687-1-lvzhaoxiong@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Zhaoxiong Lv (2): drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed() .../drm/panel/panel-boe-th101mb31ig002-28a.c | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) -- 2.17.1