linux/drivers/gpu/drm/amd/pm/legacy-dpm
Timur Kristóf 08c9100f65 drm/amd/pm/si: Fix updating clock limits on AC/DC
Assume that the AC limits are the maximum of all power states,
and the DC limits are the maximum of battery power states.
This shouldn't make any difference in practice, but is
cleaner and more robust against bogus information in the VBIOS.

Fixes: e6c5d36756 ("drm/amd/pm/si: Fix updating clock limits from power states")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20260923120354.1027996-2-timur.kristof@gmail.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ef8cb9dcc7db7b7abcbdbe870a080cc81e4f0bf3)
Cc: stable@vger.kernel.org
2026-10-01 17:18:14 -04:00
..
cik_dpm.h
kv_dpm.c drm/amd/pm: Rename enable_bapm() to notify_ac_dc() 2026-05-27 10:48:11 -04:00
kv_dpm.h
kv_smc.c
legacy_dpm.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
legacy_dpm.h drm/amd: Decrease message level for legacy-pm, kv-dpm and si-dpm 2025-06-30 12:07:59 -04:00
Makefile
ppsmc.h
r600_dpm.h drm/amd/pm: Clean up errors in r600_dpm.h 2023-08-09 09:42:42 -04:00
si_dpm.c drm/amd/pm/si: Fix updating clock limits on AC/DC 2026-10-01 17:18:14 -04:00
si_dpm.h drm/amd/pm/si: Delete unused structs and fields 2025-11-04 11:52:47 -05:00
si_smc.c drm/amdgpu: Add smc method to register block 2026-03-02 16:42:38 -05:00
sislands_smc.h drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00