drm/bridge: panel: Introduce drmm_panel_bridge_add
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:38:40 +0000 (19:38 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:06 +0000 (10:46 +0200)
commitabea75e9207e7744f524a5373e9c149226e17a5d
treed2a1bd16b0f02313f7e1cc6f13aeadd14af21d55
parent35a3b82f1bdd60e454de34f984a3f09b38f64b61
drm/bridge: panel: Introduce drmm_panel_bridge_add

Unlike what can be found for other entities, there's no DRM-managed
function to create a panel_bridge instance from a panel.

Let's introduce one.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-11-maxime@cerno.tech
drivers/gpu/drm/bridge/panel.c
include/drm/drm_bridge.h