aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorAnusha Srivatsa <[email protected]>2025-03-31 15:15:25 +0000
committerMaxime Ripard <[email protected]>2025-04-01 14:58:03 +0000
commited9c594d495deb676825489032cee0a03ce29bf9 (patch)
treed0901259a3fd3c58fe56cbb245d7b0b19372e8af /drivers/usb/cdns3/cdns3-starfive.c
parentdrm/format-helper: Optimize 32-to-8-bpp conversion (diff)
downloadkernel-ed9c594d495deb676825489032cee0a03ce29bf9.tar.gz
kernel-ed9c594d495deb676825489032cee0a03ce29bf9.zip
drm/panel: Add new helpers for refcounted panel allocatons
Introduce reference counted allocations for panels to avoid use-after-free. The patch adds the macro devm_drm_bridge_alloc() to allocate a new refcounted panel. Followed the documentation for drmm_encoder_alloc() and devm_drm_dev_alloc and other similar implementations for this purpose. Reviewed-by: Maxime Ripard <[email protected]> Signed-off-by: Anusha Srivatsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions