[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:
committed by
Arif, Maisam
parent
c708a7e11f
commit
cd21b5edcc
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user