[SWDEV-554587] Added IFWI Version and boot_firmware API

- Changed amd-smi static --vbios to accept ifwi
- Change population logic for vbios version API
- Added IFWI boot_firmware to the CLI, C++, Rust, and Python API

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I4ea504d40a43cfb011ab38fc9a664ecf12d39c8a
This commit is contained in:
Maisam Arif
2025-09-16 19:51:13 -05:00
committed by Arif, Maisam
parent c708a7e11f
commit cd21b5edcc
20 changed files with 185 additions and 72 deletions
@@ -79,8 +79,8 @@ void TestSysInfoRead::Run(void) {
for (uint32_t i = 0; i < num_monitor_devs(); ++i) {
PrintDeviceHeader(processor_handles_[i]);
amdsmi_vbios_info_t info;
err = amdsmi_get_gpu_vbios_info(processor_handles_[i], &info);
amdsmi_vbios_info_t vbios_info;
err = amdsmi_get_gpu_vbios_info(processor_handles_[i], &vbios_info);
if (err != AMDSMI_STATUS_SUCCESS) {
if ((err == AMDSMI_STATUS_FILE_ERROR) || (err == AMDSMI_STATUS_NOT_SUPPORTED)) {
@@ -101,7 +101,7 @@ void TestSysInfoRead::Run(void) {
} else {
IF_VERB(STANDARD) {
std::cout << "\t**VBIOS Version: "
<< info.version << std::endl;
<< vbios_info.version << std::endl;
}
}