Merge amd-staging into amd-master 20230907

Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: If27857b677876229d45a9f686b1a7ec7c1316e15


[ROCm/rocm_smi_lib commit: 26c6f96d71]
Este cometimento está contido em:
Hao Zhou cometeu 2023-09-07 10:19:41 +08:00
2 ascendentes f0d78767e0 a044785231
cometimento 4ea74e3905
3 ficheiros modificados
+16 -11

Não existem ficheiros que correspondam à sua pesquisa

+2 -6
Ver ficheiro
@@ -804,12 +804,8 @@ def resetFans(deviceList):
for device in deviceList:
sensor_ind = c_uint32(0)
ret = rocmsmi.rsmi_dev_fan_reset(device, sensor_ind)
if (ret == rsmi_status_t.RSMI_STATUS_NOT_SUPPORTED) or (ret == rsmi_status_t.RSMI_STATUS_PERMISSION):
if not rsmi_ret_ok(rsmi_status_t.RSMI_STATUS_NOT_SUPPORTED, device, 'reset_fan'):
continue
else:
if rsmi_ret_ok(ret, device, 'reset_fan'):
printLog(device, 'Successfully reset fan speed to driver control', None)
if rsmi_ret_ok(ret, device, 'reset_fan'):
printLog(device, 'Successfully reset fan speed to driver control', None)
printLogSpacer()