]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: fix smu v14 soft clock frequency setting issue
authorYang Wang <kevinyang.wang@amd.com>
Wed, 21 Jan 2026 03:06:29 +0000 (11:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:08:57 +0000 (18:08 -0500)
commit53868dd8774344051999c880115740da92f97feb
treec6bbf7d5a1efbfb03c72829f127c7c4c51974818
parent6194f60c707e3878e120adeb36997075664d8429
drm/amd/pm: fix smu v14 soft clock frequency setting issue

v1:
resolve the issue where some freq frequencies cannot be set correctly
due to insufficient floating-point precision.

v2:
patch this convert on 'max' value only.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c