Print ASD firmware version in hex instead of decimal format
Change-Id: Idf113f63b79f2d2903ae795d272d232a43680516
[ROCm/amdsmi commit: cf2f0b0508]
Этот коммит содержится в:
коммит произвёл
Harish Kasiviswanathan
родитель
fcbb9e5945
Коммит
304636c27d
@@ -1517,8 +1517,8 @@ def showFwInfo(deviceList, fwType):
|
||||
fw_name = fw_name.upper()
|
||||
ret = rocmsmi.rsmi_dev_firmware_version_get(device, fw_block_names_l.index(fw_name), byref(fw_ver))
|
||||
if rsmi_ret_ok(ret, device, fw_name):
|
||||
# The VCN, VCE, UVD, and SOS firmware's value needs to be in hexadecimal
|
||||
if fw_name in ['VCN', 'VCE', 'UVD', 'SOS']:
|
||||
# The VCN, VCE, UVD, SOS and ASD firmware's value needs to be in hexadecimal
|
||||
if fw_name in ['VCN', 'VCE', 'UVD', 'SOS', 'ASD']:
|
||||
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
|
||||
|
||||
Ссылка в новой задаче
Block a user