diff options
| author | Anusha Srivatsa <[email protected]> | 2025-03-31 15:15:25 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2025-04-01 14:58:03 +0000 |
| commit | ed9c594d495deb676825489032cee0a03ce29bf9 (patch) | |
| tree | d0901259a3fd3c58fe56cbb245d7b0b19372e8af /drivers/platform/x86/intel/pmt/class.c | |
| parent | drm/format-helper: Optimize 32-to-8-bpp conversion (diff) | |
| download | kernel-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/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
