Searched refs:mcs_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/accel/habanalabs/common/ |
D | command_submission.c | 2719 static int hl_cs_poll_fences(struct multi_cs_data *mcs_data, struct multi_cs_completion *mcs_compl) in hl_cs_poll_fences() argument 2721 struct hl_fence **fence_ptr = mcs_data->fence_arr; in hl_cs_poll_fences() 2722 struct hl_device *hdev = mcs_data->ctx->hdev; in hl_cs_poll_fences() 2723 int i, rc, arr_len = mcs_data->arr_len; in hl_cs_poll_fences() 2724 u64 *seq_arr = mcs_data->seq_arr; in hl_cs_poll_fences() 2731 rc = hl_ctx_get_fences(mcs_data->ctx, seq_arr, fence_ptr, arr_len); in hl_cs_poll_fences() 2773 rc = hl_wait_for_fence(mcs_data->ctx, seq_arr[i], fence, &status, 0, NULL); in hl_cs_poll_fences() 2805 mcs_data->completion_bitmap |= BIT(i); in hl_cs_poll_fences() 2811 if (fence && mcs_data->update_ts && in hl_cs_poll_fences() 2816 mcs_data->update_ts = false; in hl_cs_poll_fences() [all …]
|