Searched refs:mcs_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/misc/habanalabs/common/ |
D | command_submission.c | 2565 static int hl_cs_poll_fences(struct multi_cs_data *mcs_data, struct multi_cs_completion *mcs_compl) in hl_cs_poll_fences() argument 2567 struct hl_fence **fence_ptr = mcs_data->fence_arr; in hl_cs_poll_fences() 2568 struct hl_device *hdev = mcs_data->ctx->hdev; in hl_cs_poll_fences() 2569 int i, rc, arr_len = mcs_data->arr_len; in hl_cs_poll_fences() 2570 u64 *seq_arr = mcs_data->seq_arr; in hl_cs_poll_fences() 2577 rc = hl_ctx_get_fences(mcs_data->ctx, seq_arr, fence_ptr, arr_len); in hl_cs_poll_fences() 2619 rc = hl_wait_for_fence(mcs_data->ctx, seq_arr[i], fence, &status, 0, NULL); in hl_cs_poll_fences() 2651 mcs_data->completion_bitmap |= BIT(i); in hl_cs_poll_fences() 2657 if (fence && mcs_data->update_ts && in hl_cs_poll_fences() 2662 mcs_data->update_ts = false; in hl_cs_poll_fences() [all …]
|