linux/drivers/gpu/drm/amd/pm
Mario Limonciello f9b80514a7 drm/amd: Only restore cached manual clock settings in restore if OD enabled
If OD is not enabled then restoring cached clock settings doesn't make
sense and actually leads to errors in resume.

Check if enabled before restoring settings.

Fixes: 4e9526924d ("drm/amd: Restore cached manual clock settings during resume")
Reported-by: Jérôme Lécuyer <jerome.4a4c@gmail.com>
Closes: https://lore.kernel.org/amd-gfx/0ffe2692-7bfa-4821-856e-dd0f18e2c32b@amd.com/T/#me6db8ddb192626360c462b7570ed7eba0c6c9733
Suggested-by: Jérôme Lécuyer <jerome.4a4c@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1a4dd33cc6)
Cc: stable@vger.kernel.org
2025-09-16 17:58:34 -04:00
..
inc drm/amdgpu: disable workload profile switching when OD is enabled 2025-06-03 15:04:24 -04:00
legacy-dpm drm/amd: Change kv-dpm DRM_*() macros to drm_*() 2025-06-30 12:07:59 -04:00
powerplay drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value 2025-07-07 13:47:02 -04:00
swsmu drm/amd: Only restore cached manual clock settings in restore if OD enabled 2025-09-16 17:58:34 -04:00
amdgpu_dpm.c drm/amd/pm: Add support to set min ISP clocks 2025-06-24 10:02:44 -04:00
amdgpu_dpm_internal.c
amdgpu_pm.c drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode 2025-08-27 14:01:08 -04:00
Makefile