Skip to content

gpuagent: migrate amdsmi_set_gpu_clk_range to amdsmi_set_gpu_clk_limit - #88

Merged
sarat-k merged 1 commit into
ROCm:mainfrom
bhatturu:fix/amdsmi-clk-limit-rocm10
Aug 12, 2026
Merged

gpuagent: migrate amdsmi_set_gpu_clk_range to amdsmi_set_gpu_clk_limit#88
sarat-k merged 1 commit into
ROCm:mainfrom
bhatturu:fix/amdsmi-clk-limit-rocm10

Conversation

@bhatturu

Copy link
Copy Markdown
Contributor

amdsmi_set_gpu_clk_range is removed in the latest amdsmi (ROCm 10.x), breaking the gpuagent build. Set the min then max clock limit via amdsmi_set_gpu_clk_limit (AMDSMI_CLK_LIMIT_MIN/MAX), matching the change made in pensando/sw #119381.

Bump the vendored amdsmi from 26.4.0 (therock-7.13.0) to 27.0.0 (therock-10.1.0a20260812) so the AMDSMI_CLK_LIMIT_* enum is available to the in-repo build. The 27.0.0 libamd_smi.so DT_NEEDs the namespaced rocm_sysdeps netlink libs, so vendor librocm_sysdeps_nl_3, nl_genl_3 and mnl alongside it.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

amdsmi_set_gpu_clk_range is removed in the latest amdsmi (ROCm 10.x),
breaking the gpuagent build. Set the min then max clock limit via
amdsmi_set_gpu_clk_limit (AMDSMI_CLK_LIMIT_MIN/MAX), matching the change
made in pensando/sw #119381.

Bump the vendored amdsmi from 26.4.0 (therock-7.13.0) to 27.0.0
(therock-10.1.0a20260812) so the AMDSMI_CLK_LIMIT_* enum is available to
the in-repo build. The 27.0.0 libamd_smi.so DT_NEEDs the namespaced
rocm_sysdeps netlink libs, so vendor librocm_sysdeps_nl_3, nl_genl_3 and
mnl alongside it.

@rsrikanth86 rsrikanth86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sarat-k
sarat-k merged commit 22f92dc into ROCm:main Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants