Files
linux/include/drm
Luca Ceresoli 30d1b37d4c drm/bridge: add support for refcounting
DRM bridges are currently considered as a fixed element of a DRM card, and
thus their lifetime is assumed to extend for as long as the card
exists. New use cases, such as hot-pluggable hardware with video bridges,
require DRM bridges to be added to and removed from a DRM card without
tearing the card down. This is possible for connectors already (used by DP
MST), it is now needed for DRM bridges as well.

As a first preliminary step, make bridges reference-counted to allow a
struct drm_bridge (along with the private driver structure embedding it) to
stay allocated even after the driver has been removed, until the last
reference is put.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250326-drm-bridge-refcount-v9-2-5e0661fe1f84@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
2025-04-07 11:38:04 +02:00
..
2025-03-05 17:08:59 +01:00
2025-01-08 01:39:58 +02:00
2025-02-13 12:15:43 -05:00
2023-11-14 10:23:12 +01:00
2025-04-01 16:58:04 +02:00
2024-06-24 17:08:53 +03:00
2024-08-23 16:47:56 +02:00
2024-11-21 09:28:11 -06:00