Skip to content

Commit

Permalink
Fixed a issue which is causing lsf. This is related to CR-1177852 (#8188
Browse files Browse the repository at this point in the history
)

Signed-off-by: Saifuddin <[email protected]>
  • Loading branch information
saifuddin-xilinx authored May 22, 2024
1 parent c678a94 commit 687eac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime_src/core/common/drv/kds_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,9 @@ kds_submit_ert(struct kds_sched *kds, struct kds_command *xcmd)
return -EINVAL;
}

ert->submit(ert, xcmd);
set_xcmd_timestamp(xcmd, KDS_QUEUED);
ert->submit(ert, xcmd);

return 0;
}

Expand Down
2 changes: 2 additions & 0 deletions src/runtime_src/core/pcie/driver/linux/xocl/userpf/xocl_kds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,8 @@ static int xocl_kds_update_xgq(struct xocl_dev *xdev, int slot_hdl,
XDEV(xdev)->kds.ert_disable = true;
goto create_regular_cu;
}
else
XDEV(xdev)->kds.ert_disable = false;

// Soft Kernel Info
scu_info = kzalloc(MAX_CUS * sizeof(struct xrt_cu_info), GFP_KERNEL);
Expand Down

0 comments on commit 687eac7

Please sign in to comment.