]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd: Restore cached manual clock settings during resume
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 25 Jul 2025 03:12:22 +0000 (22:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Aug 2025 18:27:01 +0000 (14:27 -0400)
commit4e9526924d09057a9ba854305e17eded900ced82
tree8b9cc6619544d69b3e1dc383a8ab4bb82c2404d3
parent26a609e053a6fc494403e95403bc6a2470383bec
drm/amd: Restore cached manual clock settings during resume

If the SCLK limits have been set before S3 they will not
be restored. The limits are however cached in the driver and so
they can be restored by running a commit sequence during resume.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250725031222.3015095-3-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c