summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlbert Esteve <aesteve@redhat.com>2026-07-17 16:02:05 +0200
committerNeil Armstrong <neil.armstrong@linaro.org>2026-07-20 15:07:19 +0200
commit8f79d34ea8950fd825e0d6ecd713705a42f06417 (patch)
tree6c0f87c3362d7d6bc226fe5c1854e7fde73a8ace /tools/perf/scripts/python/stackcollapse.py
parent61aebeadff40cded27168e53406e0120ad66e114 (diff)
drm/bridge/panel: hold a reference to the wrapped panel
drm_panel_bridge_add_typed() stores a pointer to the drm_panel it wraps, but never acquires a reference to it. If the panel device goes away while a panel_bridge still exists, the dangling pointer can be dereferenced through panel_bridge->panel. Acquire a reference in drm_panel_bridge_add_typed() with drm_panel_get() and release it in each teardown path. Reviewed-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Albert Esteve <aesteve@redhat.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260717-drm_refcount_wiring-v3-2-023900c32e01@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions