]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/powerplay: Fix CIK shutdown temperature
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 13 Oct 2025 06:06:42 +0000 (08:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:15 +0000 (14:14 -0400)
commit6917112af2ba36c5f19075eb9f2933ffd07e55bf
tree95eaaeeaa70ca6dd7a5a5bbe77a04d2d1154617e
parentef38b4eab146715bc68d45029257f5e69ea3f2cd
drm/amd/powerplay: Fix CIK shutdown temperature

Remove extra multiplication.

CIK GPUs such as Hawaii appear to use PP_TABLE_V0 in which case
the shutdown temperature is hardcoded in smu7_init_dpm_defaults
and is already multiplied by 1000. The value was mistakenly
multiplied another time by smu7_get_thermal_temperature_range.

Fixes: 4ba082572a42 ("drm/amd/powerplay: export the thermal ranges of VI asics (V2)")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1676
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c