Skip to content

drm: panel related updates

Sam Ravnborg dri-devel linux-arm-kernel linux-samsung-soc linux-tegra 1 version Applied

Status from this message: Applied to drm-misc-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 24 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/16drm/bridge: tc358767: fix opencoded use of drm_panel_*drivers/gpu/drm/bridge/tc358767.c+4 -62 replies
2/16drm/exynos: fix opencoded use of drm_panel_*drivers/gpu/drm/exynos/exynos_drm_dpi.c+2 -21 reply
3/16drm/exynos: fix opencoded use of drm_panel_*drivers/gpu/drm/exynos/exynos_drm_dsi.c+1 -11 reply
4/16drm/imx: fix opencoded use of drm_panel_*drivers/gpu/drm/imx/imx-ldb.c drivers/gpu/drm/imx/parallel-display.c+8 -141 reply
5/16drm/fsl-dcu: fix opencoded use of drm_panel_*drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c+1 -92 replies
6/16drm/msm: fix opencoded use of drm_panel_*drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c+1 -11 reply
7/16drm/mxsfb: fix opencoded use of drm_panel_*drivers/gpu/drm/mxsfb/mxsfb_out.c+1 -11 reply
8/16drm/sti: fix opencoded use of drm_panel_*drivers/gpu/drm/sti/sti_dvo.c+3 -51 reply
9/16drm/tegra: fix opencoded use of drm_panel_*drivers/gpu/drm/tegra/output.c+1 -11 reply
10/16drm/panel: ili9322: move bus_flags to get_modes()drivers/gpu/drm/panel/panel-ilitek-ili9322.c+16 -181 reply
11/16drm/panel: move drm_panel functions to .c filedrivers/gpu/drm/drm_panel.c include/drm/drm_panel.h+104 -911 reply
12/16drm/panel: use inline comments in drm_panel.hinclude/drm/drm_panel.h+66 -161 reply
13/16drm/panel: drop return code from drm_panel_detach()drivers/gpu/drm/bridge/analogix/analogix_dp_core.c drivers/gpu/drm/drm_panel.c include/drm/drm_panel.h+3 -81 reply
14/16drm/panel: call prepare/enable only oncedrivers/gpu/drm/drm_panel.c include/drm/drm_panel.h+75 -126 replies
15/16drm/panel: add backlight supportdrivers/gpu/drm/drm_panel.c include/drm/drm_panel.h+64 -01 reply
16/16drm/panel: simple: use drm_panel infrastructuredrivers/gpu/drm/panel/panel-simple.c+11 -621 reply

Reviews trailers per patch

10 of 16 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan AgnerPhilipp ZabelLaurent PinchartEmil VelikovLinus Walleij
SeriesR-b
1/16R-b
2/16
3/16
4/16A-b
5/16A-b
6/16
7/16A-b
8/16
9/16
10/16A-b
11/16R-b
12/16R-b
13/16R-b
14/16A-b
15/16
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH v1 0/16] drm: panel related updates

The first 9 patches replaces direct use of the drm_panel function pointers with their drm_panel_* counterparts. The function pointers are only supposed to be used by the drm_panel infrastructure and direct use are discouraged.

ili9322 is updated to handle bus_flags in get_modes like everyone else. This is in preparation for a later patch series where controller becomes an arugument to get_modes() and not like today where drm_panel is attached to a controller.

The remaining patches move functionality to the drm_panel core that today are repeated in many drivers.
As preparation for this the inline functions are moved to drm_panel.c and kernel-doc is made inline.
panel-simple is updated to benefit from the additional infrastructure and is an example for the simplifications that can be done.

The patchset has been tested on my embedded target, and build tested.

Feedback welcome!

The "fix opencoded" patches are all independent and can be applied out of order. They were kept here to keep panel related patches in one series.

Sam

Cc Alexios Zavras <[email protected]>
Cc Alison Wang <[email protected]>
Cc Allison Randal <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Benjamin Gaignard <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc David Airlie <[email protected]>
Cc Enrico Weigelt <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Gwan-gyeong Mun <[email protected]>
Cc Inki Dae <[email protected]>
Cc Jernej Skrabec <[email protected]>
Cc Jonas Karlman <[email protected]>
Cc Jonathan Hunter <[email protected]>
Cc Joonyoung Shim <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Kukjin Kim <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Sam Ravnborg <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Sean Paul <[email protected]>
Cc Seung-Woo Kim <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vincent Abriou <[email protected]>

Sam Ravnborg (16):
drm/bridge: tc358767: fix opencoded use of drm_panel_* drm/exynos: fix opencoded use of drm_panel_* drm/exynos: fix opencoded use of drm_panel_* drm/imx: fix opencoded use of drm_panel_* drm/fsl-dcu: fix opencoded use of drm_panel_* drm/msm: fix opencoded use of drm_panel_* drm/mxsfb: fix opencoded use of drm_panel_* drm/sti: fix opencoded use of drm_panel_* drm/tegra: fix opencoded use of drm_panel_* drm/panel: ili9322: move bus_flags to get_modes() drm/panel: move drm_panel functions to .c file drm/panel: use inline comments in drm_panel.h drm/panel: drop return code from drm_panel_detach() drm/panel: call prepare/enable only once drm/panel: add backlight support
drm/panel: simple: use drm_panel infrastructure

 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |   3 +-
 drivers/gpu/drm/bridge/tc358767.c                  |  10 +-
 drivers/gpu/drm/drm_panel.c                        | 185 ++++++++++++++++-
 drivers/gpu/drm/exynos/exynos_drm_dpi.c            |   4 +-
 drivers/gpu/drm/exynos/exynos_drm_dsi.c            |   2 +-
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c          |  10 +-
 drivers/gpu/drm/imx/imx-ldb.c                      |  11 +-
 drivers/gpu/drm/imx/parallel-display.c             |  11 +-
 .../gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c    |   2 +-
 drivers/gpu/drm/mxsfb/mxsfb_out.c                  |   2 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9322.c       |  34 ++-
 drivers/gpu/drm/panel/panel-simple.c               |  73 +------
 drivers/gpu/drm/sti/sti_dvo.c                      |   8 +-
 drivers/gpu/drm/tegra/output.c                     |   2 +-
 include/drm/drm_panel.h                            | 227 +++++++++++----------
 15 files changed, 349 insertions(+), 235 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel