]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: fix smu v13 soft clock frequency setting issue
authorYang Wang <kevinyang.wang@amd.com>
Wed, 21 Jan 2026 03:04:06 +0000 (11:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:08:44 +0000 (18:08 -0500)
commit6194f60c707e3878e120adeb36997075664d8429
tree71ce293f1ce8dbf62c28ad1b57eff1040c4a57de
parent1bf8b4642c5f511dd73653a25ed7cd0470118389
drm/amd/pm: fix smu v13 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_v13_0.h
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c