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
[ROCm/amdsmi commit: 256907989b]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
8bd95a26b4
tiomantas
323cf14a9c
3 comhad athraithe
+4
-4
Níor tháinig aon chomhaid le do chuardach
@@ -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(
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir