diff --git a/README.md b/README.md index 90eee01bd8..df5d18518b 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ installed to query firmware information and hardware IPs. ## Install CLI Tool and Libraries +**Disclaimer: CLI Tool is provided as an example code to aid the development of telemetry tools and is not guaranteed to be backwards compatible. The Python or C++ Library is recommended as a reliable data source.** + ### Requirements * python 3.6.8+ 64-bit diff --git a/amdsmi_cli/README.md b/amdsmi_cli/README.md index 2c782ae66c..f7aa99f01c 100644 --- a/amdsmi_cli/README.md +++ b/amdsmi_cli/README.md @@ -1,6 +1,6 @@ # AMD SMI CLI Tool -**Disclaimer: CLI Tool is provided as an example code to aid the development of telemetry tools. Python or C++ Library is recommended as a reliable data source.** +**Disclaimer: CLI Tool is provided as an example code to aid the development of telemetry tools and is not guaranteed to be backwards compatible. The Python or C++ Library is recommended as a reliable data source.** This tool acts as a command line interface for manipulating and monitoring the amdgpu kernel, and is intended to replace diff --git a/amdsmi_cli/amdsmi_commands.py b/amdsmi_cli/amdsmi_commands.py index b232c29c21..058a31c088 100644 --- a/amdsmi_cli/amdsmi_commands.py +++ b/amdsmi_cli/amdsmi_commands.py @@ -2146,9 +2146,10 @@ class AMDSMICommands(): for key, value in throttle_status.items(): if "active" in key: - throttle_status[key] = "NOT ACTIVE" - if value: + if value is True: throttle_status[key] = "ACTIVE" + elif value is False: + throttle_status[key] = "NOT ACTIVE" continue if "percent" not in key: diff --git a/src/amd_smi/amd_smi_utils.cc b/src/amd_smi/amd_smi_utils.cc index 1e490d3829..80af991bda 100644 --- a/src/amd_smi/amd_smi_utils.cc +++ b/src/amd_smi/amd_smi_utils.cc @@ -584,7 +584,7 @@ amdsmi_status_t smi_amdgpu_get_market_name_from_dev_id(uint32_t device_id, char break; case 0x74a9: case 0x74bd: - strcpy(market_name, "MI300XHF"); + strcpy(market_name, "AMD Instinct MI300X HF"); break; default: return AMDSMI_STATUS_API_FAILED;