summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-16 10:21:12 +0000
committerLiviu Dudau <liviu.dudau@arm.com>2026-09-22 16:55:44 +0100
commit73ef663c75688168e31dbe9c585b939be410a945 (patch)
tree21ef068713dca302595a2d4f197304c746364a6a /tools/perf/scripts/python/bin/stackcollapse-report
parentbc3f07516a99280d5c5a34b358ee92a30a653cca (diff)
downloadlinux-73ef663c75688168e31dbe9c585b939be410a945.tar.gz
linux-73ef663c75688168e31dbe9c585b939be410a945.zip
drm/mali-dp: Fix runtime PM leak in malidp_crtc_atomic_enable()
malidp_crtc_atomic_enable() resumes the device with pm_runtime_get_sync() and returns early when the resume fails. The runtime PM usage count is incremented by pm_runtime_get_sync() even when the resume fails, so returning without dropping the reference leaks it and, once the error has been hit, prevents the device from ever suspending again. Drop the runtime PM reference with pm_runtime_put_noidle() on the resume failure path before returning. Fixes: 85f6421889ec ("drm: mali-dp: Enable power management for the device.") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Link: https://patch.msgid.link/20260916102112.2018372-1-vulab@iscas.ac.cn Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions