mbox series

[v4,0/2] Modify the method of obtaining porch parameters

Message ID 20240723062615.14796-1-lvzhaoxiong@huaqin.corp-partner.google.com (mailing list archive)
Headers show
Series Modify the method of obtaining porch parameters | expand

Message

Zhaoxiong Lv July 23, 2024, 6:26 a.m. UTC
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 V4 and V3:
- PATCH 1/2: No changes.
- PATCH 2/2: Modify the return value.
- Link to v3: https://lore.kernel.org/all/20240722092428.24499-1-lvzhaoxiong@huaqin.corp-partner.google.com/

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@huaqin.corp-partner.google.com/

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@huaqin.corp-partner.google.com/

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  | 22 +++----------------
 1 file changed, 3 insertions(+), 19 deletions(-)

Comments

Neil Armstrong July 24, 2024, 8 a.m. UTC | #1
Hi,

On Tue, 23 Jul 2024 14:26:13 +0800, Zhaoxiong Lv wrote:
> 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.
> 
> [...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/2] drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/c60ca14bfd2d399a66f7164e044b63991c6a5a82
[2/2] drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed()
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/708899133615bdb8087cafa129b8e24397d0c79d