[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:
zatwierdzone przez
Arif, Maisam
rodzic
dca01f8128
commit
cab2270feb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user