diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-04 09:11:17 -0800 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-04 13:08:48 -0800 |
| commit | 69674c1c704c0199ca7a3947f3cdcd575973175d (patch) | |
| tree | 39fcd9511b07720a208772313c36474fc50c8a6c /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | d19d963d2a4acb5bbf03e25733ba565a7f6e1422 (diff) | |
accel/amdxdna: Move RPM resume into job run function
Currently, amdxdna_pm_resume_get() is called during job creation, and
amdxdna_pm_suspend_put() is called when the hardware notifies job
completion. If a job is canceled before it is run, no hardware
completion notification is generated, resulting in an unbalanced
runtime PM resume/suspend pair.
Fix this by moving amdxdna_pm_resume_get() to the job run path, ensuring
runtime PM is only resumed for jobs that are actually executed.
Fixes: 063db451832b ("accel/amdxdna: Enhance runtime power management")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260204171118.3165607-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
