summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCe Sun <cesun102@amd.com>2026-06-22 23:05:09 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:22:09 -0400
commit98073e4328d7a8d75d03696ab27f6de70ef1aeda (patch)
treeeba7224de51f812e6d5e056ea8e490f7807a45ff /tools/perf/scripts/python
parenta71d2b051f334d1f36ba113bcd8dab69fbb37212 (diff)
drm/amdgpu: fix resource leak on ACP reset timeout
When ACP soft reset poll times out, original code returns early without cleanup, leaking MFD child devices, genpd links and all ACP heap allocations. Replace direct early return with goto out to force run all cleanup logic regardless of reset success, preserve timeout error code for caller. Signed-off-by: Ce Sun <cesun102@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions