Searched refs:mcs_data (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | command_submission.c | 2735 static int hl_cs_poll_fences(struct multi_cs_data *mcs_data, struct multi_cs_completion *mcs_compl) in hl_cs_poll_fences() argument 2737 struct hl_fence **fence_ptr = mcs_data->fence_arr; in hl_cs_poll_fences() 2738 struct hl_device *hdev = mcs_data->ctx->hdev; in hl_cs_poll_fences() 2739 int i, rc, arr_len = mcs_data->arr_len; in hl_cs_poll_fences() 2740 u64 *seq_arr = mcs_data->seq_arr; in hl_cs_poll_fences() 2747 rc = hl_ctx_get_fences(mcs_data->ctx, seq_arr, fence_ptr, arr_len); in hl_cs_poll_fences() 2789 rc = hl_wait_for_fence(mcs_data->ctx, seq_arr[i], fence, &status, 0, NULL); in hl_cs_poll_fences() 2821 mcs_data->completion_bitmap |= BIT(i); in hl_cs_poll_fences() 2827 if (fence && mcs_data->update_ts && in hl_cs_poll_fences() 2832 mcs_data->update_ts = false; in hl_cs_poll_fences() [all …]
|