diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-11 12:47:16 -0800 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-02-23 09:24:19 -0800 |
| commit | fdb65acfe655f844ae1e88696b9656d3ef5bb8fb (patch) | |
| tree | b1fe7518b7bc50e7699985bd53b800e79b8500ba /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 1aa82181a3c285c7351523d587f7981ae4c015c8 (diff) | |
accel/amdxdna: Fix suspend failure after enabling turbo mode
Enabling turbo mode disables hardware clock gating. Suspend requires
hardware clock gating to be re-enabled, otherwise suspend will fail.
Fix this by calling aie2_runtime_cfg() from aie2_hw_stop() to
re-enable clock gating during suspend. Also ensure that firmware is
initialized in aie2_hw_start() before modifying clock-gating
settings during resume.
Fixes: f4d7b8a6bc8c ("accel/amdxdna: Enhance power management settings")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260211204716.722788-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
