[SWDEV-543627] Fixed incorrect metric min clock values

Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>


[ROCm/amdsmi commit: 4f0d1c8c29]
This commit is contained in:
gabrpham_amdeng
2025-07-24 22:48:09 -05:00
zatwierdzone przez Arif, Maisam
rodzic dca01f8128
commit cab2270feb
2 zmienionych plików z 0 dodań i 3 usunięć
@@ -4399,8 +4399,6 @@ def amdsmi_get_clk_freq(
)
)
clk_type_str = AmdSmiClkType(clk_type).name
dict_ret = {
"num_supported": freq.num_supported,
"current": freq.current,
@@ -422,7 +422,6 @@ amdsmi_status_t smi_amdgpu_get_ranges(amd::smi::AMDSmiGPUDevice* device, amdsmi_
char lastChar = line.back();
if (lastChar == '*'){
current_freq = freq;
continue;
}
// not * was detected so check for the min max if not s or mclk, which are user defined