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

From: Sam Ravnborg <[email-masked]>
Date: Sun, 4 Aug 2019 22:16:21 +0200

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

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(-)

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel