diff options
author | Anusha Srivatsa <asrivats@redhat.com> | 2025-03-31 18:15:26 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2025-04-01 17:58:04 +0300 |
commit | dcba396f69073d4ea8c04374fdd207e67e5b5a94 (patch) | |
tree | 7c7d5e6aeded8b9a21e1b840db63a20b022d3039 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ed9c594d495deb676825489032cee0a03ce29bf9 (diff) | |
download | linux-dcba396f69073d4ea8c04374fdd207e67e5b5a94.tar.xz |
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 <luca.ceresoli@bootlin.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://lore.kernel.org/r/20250331-b4-panel-refcounting-v4-2-dad50c60c6c9@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions