Merge amd-staging into amd-master 20240828

Signed-off-by: Zhang Ava <niandong.zhang@amd.com>
Change-Id: I13187d5772ee1e5e74d9daf4268b90819b4198d0


[ROCm/rocm_smi_lib commit: ad511e9b0d]
Cette révision appartient à :
Zhang Ava
2024-08-29 20:09:31 +08:00
révision 454af241e3
+1 -1
Voir le fichier
@@ -2327,7 +2327,7 @@ def showFwInfo(deviceList, fwType):
for fw_name in firmware_blocks:
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, 'get_firmware_version_' + str(fw_name)):
if rsmi_ret_ok(ret, device, 'get_firmware_version_' + str(fw_name), silent=True):
# The VCN, VCE, UVD, SOS and ASD firmware's value needs to be in hexadecimal
if fw_name in ['VCN', 'VCE', 'UVD', 'SOS', 'ASD', 'MES', 'MES KIQ']:
printLog(device, '%s firmware version' % (fw_name),