[PATCH 0/2] drm: devm_drm_bridge_alloc() conversion and cleanup
Cristian Ciocaltea
cristian.ciocaltea at collabora.com
Thu Oct 1 01:25:10 PDT 2026
Bridge drivers are expected to allocate their private data via
devm_drm_bridge_alloc(), which also initializes the embedded struct
drm_bridge, including its funcs pointer. Most drivers were converted by
commit 9c399719cfb9 ("drm: convert many bridge drivers from
devm_kzalloc() to devm_drm_bridge_alloc() API"), but a couple of
leftovers remain.
The first patch converts the rk3066_hdmi driver, which still uses
devm_kzalloc(). The second one removes a redundant manual assignment of
the bridge funcs pointer in the lontium-lt8713sx driver, which already
uses devm_drm_bridge_alloc().
Both changes are trivial and have no functional impact. The series is
based on the latest drm-misc-next.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
---
Cristian Ciocaltea (2):
drm/rockchip: rk3066_hdmi: Convert to devm_drm_bridge_alloc() API
drm/bridge: lontium-lt8713sx: Drop redundant bridge funcs assignment
drivers/gpu/drm/bridge/lontium-lt8713sx.c | 1 -
drivers/gpu/drm/rockchip/rk3066_hdmi.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
---
base-commit: 37b346eab23aead52d17a8fa687056bfc651a416
change-id: 20261001-bridge-alloc-conv-f517f9b2521f
More information about the Linux-rockchip
mailing list