amdsmi_cli: Fix issues in cpu API "cpu_lclk_dpm_level"
- Fix issues in cpu API "cpu_lclk_dpm_level" - Fix issue for invalid core id - Update the error message for invalid devices Change-Id: I71216ff72f89cfe0c86928ae3dce1f88eae91665
This commit is contained in:
committed by
Galantsev, Dmitrii
parent
c74f01f401
commit
256907989b
@@ -1246,8 +1246,8 @@ def amdsmi_get_cpu_socket_lclk_dpm_level(
|
||||
_check_res(amdsmi_wrapper.amdsmi_get_cpu_socket_lclk_dpm_level(processor_handle, nbio_id, dpm_level))
|
||||
|
||||
return {
|
||||
"nbio_max_dpm_level": nbio.max_dpm_level,
|
||||
"nbio_min_dpm_level": nbio.min_dpm_level
|
||||
"nbio_max_dpm_level": dpm_level.max_dpm_level,
|
||||
"nbio_min_dpm_level": dpm_level.min_dpm_level
|
||||
}
|
||||
|
||||
def amdsmi_set_cpu_pcie_link_rate(
|
||||
|
||||
Reference in New Issue
Block a user