Check only the minor ioctl version for event support

Change-Id: I70ddab4298a62178b2509a0365ee4cd6937302c1


[ROCm/rocm_smi_lib commit: 42c10633b6]
此提交包含在:
Chris Freehill committed 2020-05-27 09:27:01 -04:00
1 父節點 506f71a01c
當前提交 430e52c394
1 file changed
+1 -1
+1 -1
查看文件
@@ -3401,7 +3401,7 @@ static bool check_evt_notif_support(int kfd_fd) {
return RSMI_STATUS_INIT_ERROR;
}
if (args.major_version < 2 && args.minor_version < 3) {
if (args.minor_version < 3) {
return false;
}
return true;