ROCm SMI CLI: Add Missing Firmware Blocks
The purpose of this patch is to add the following missing firmware blocks to the SMI CLI: -RSMI_FW_BLOCK_MES -RSMI_FW_BLOCK_MES_KIQ Signed-off-by: Ori Messinger <Ori.Messinger@amd.com> Change-Id: If9cabdc60ffcf08f27c9e6bdc20e8a26b192a738
This commit is contained in:
committed by
Dmitrii Galantsev
parent
cf6bcbbb27
commit
aa89f2e125
@@ -2052,7 +2052,7 @@ def showFwInfo(deviceList, fwType):
|
||||
ret = rocmsmi.rsmi_dev_firmware_version_get(device, fw_block_names_l.index(fw_name), byref(fw_ver))
|
||||
if rsmi_ret_ok(ret, device, 'get_firmware_version_' + str(fw_name)):
|
||||
# The VCN, VCE, UVD, SOS and ASD firmware's value needs to be in hexadecimal
|
||||
if fw_name in ['VCN', 'VCE', 'UVD', 'SOS', 'ASD']:
|
||||
if fw_name in ['VCN', 'VCE', 'UVD', 'SOS', 'ASD', 'MES', 'MES KIQ']:
|
||||
printLog(device, '%s firmware version' % (fw_name),
|
||||
'\t0x%s' % (str(hex(fw_ver.value))[2:].zfill(8)))
|
||||
# The TA XGMI, TA RAS, and SMC firmware's hex value looks like 0x12345678
|
||||
|
||||
Reference in New Issue
Block a user