Renamed API amdsmi_set_event_notification_mask
to amdsmi_set_gpu_event_notification_mask grep -rli 'amdsmi_set_event_notification_mask' * | xargs -i@ sed -i 's/amdsmi_set_event_notification_mask/amdsmi_set_gpu_event_notification_mask/g' @ Change-Id: Id4b9b6bc31f438b6d4d584142c8814f091b4b553
此提交包含在:
@@ -316,7 +316,7 @@ class AmdSmiEventReader:
|
||||
mask |= (1 << (int(event_type) - 1))
|
||||
|
||||
_check_res(amdsmi_wrapper.amdsmi_init_event_notification(processor_handle))
|
||||
_check_res(amdsmi_wrapper. amdsmi_set_event_notification_mask(
|
||||
_check_res(amdsmi_wrapper. amdsmi_set_gpu_event_notification_mask(
|
||||
processor_handle, ctypes.c_uint64(mask)))
|
||||
|
||||
def read(self, timestamp, num_elem=10):
|
||||
|
||||
新增問題並參考
封鎖使用者