diff options
| author | Anusha Srivatsa <[email protected]> | 2025-03-31 15:15:26 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2025-04-01 14:58:04 +0000 |
| commit | dcba396f69073d4ea8c04374fdd207e67e5b5a94 (patch) | |
| tree | 7c7d5e6aeded8b9a21e1b840db63a20b022d3039 /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | drm/panel: Add new helpers for refcounted panel allocatons (diff) | |
| download | kernel-dcba396f69073d4ea8c04374fdd207e67e5b5a94.tar.gz kernel-dcba396f69073d4ea8c04374fdd207e67e5b5a94.zip | |
drm/panel: Add refcount support
Allocate panel via reference counting. Add _get() and _put() helper
functions to ensure panel allocations are refcounted. Avoid use after
free by ensuring panel pointer is valid and can be usable till the last
reference is put.
Reviewed-by: Luca Ceresoli <[email protected]>
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
