Home
last modified time | relevance | path

Searched refs:fence_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/
Ddrm_atomic_uapi.c320 struct drm_crtc *crtc, s32 __user *fence_ptr) in set_out_fence_for_crtc() argument
322 state->crtcs[drm_crtc_index(crtc)].out_fence_ptr = fence_ptr; in set_out_fence_for_crtc()
328 s32 __user *fence_ptr; in get_out_fence_for_crtc() local
330 fence_ptr = state->crtcs[drm_crtc_index(crtc)].out_fence_ptr; in get_out_fence_for_crtc()
333 return fence_ptr; in get_out_fence_for_crtc()
338 s32 __user *fence_ptr) in set_out_fence_for_connector() argument
342 if (!fence_ptr) in set_out_fence_for_connector()
345 if (put_user(-1, fence_ptr)) in set_out_fence_for_connector()
348 state->connectors[index].out_fence_ptr = fence_ptr; in set_out_fence_for_connector()
357 s32 __user *fence_ptr; in get_out_fence_for_connector() local
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h130 __le32 fence_ptr; member
Ddbg.c92 fifo_hdr->fence_ptr = in iwl_fwrt_dump_rxf()
147 fifo_hdr->fence_ptr = in iwl_fwrt_dump_txf()
277 fifo_hdr->fence_ptr = in iwl_fw_dump_txf()
/linux-6.6.21/drivers/accel/habanalabs/goya/
Dgoya.c3078 u32 *fence_ptr; in goya_send_job_on_qman0() local
3095 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in goya_send_job_on_qman0()
3096 if (!fence_ptr) { in goya_send_job_on_qman0()
3123 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, in goya_send_job_on_qman0()
3135 hl_asic_dma_pool_free(hdev, (void *) fence_ptr, fence_dma_addr); in goya_send_job_on_qman0()
3166 u32 *fence_ptr; in goya_test_queue() local
3171 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in goya_test_queue()
3172 if (!fence_ptr) { in goya_test_queue()
3179 *fence_ptr = 0; in goya_test_queue()
3208 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, (tmp == fence_val), in goya_test_queue()
[all …]
/linux-6.6.21/drivers/accel/habanalabs/common/
Dcommand_submission.c2721 struct hl_fence **fence_ptr = mcs_data->fence_arr; in hl_cs_poll_fences() local
2728 memset(fence_ptr, 0, arr_len * sizeof(struct hl_fence *)); 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()
2751 for (i = 0; i < arr_len; i++, fence_ptr++) { in hl_cs_poll_fences()
2752 struct hl_fence *fence = *fence_ptr; in hl_cs_poll_fences()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c4706 u32 *fence_ptr; in gaudi_test_queue() local
4716 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in gaudi_test_queue()
4717 if (!fence_ptr) { in gaudi_test_queue()
4724 *fence_ptr = 0; in gaudi_test_queue()
4754 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, (tmp == fence_val), in gaudi_test_queue()
4769 hl_asic_dma_pool_free(hdev, (void *) fence_ptr, fence_dma_addr); in gaudi_test_queue()
6352 u32 *fence_ptr; in gaudi_send_job_on_qman0() local
6363 fence_ptr = hl_asic_dma_pool_zalloc(hdev, 4, GFP_KERNEL, &fence_dma_addr); in gaudi_send_job_on_qman0()
6364 if (!fence_ptr) { in gaudi_send_job_on_qman0()
6395 rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, in gaudi_send_job_on_qman0()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_2.c352 struct dma_fence **fence_ptr) in gfx_v9_4_2_run_shader() argument
412 r = amdgpu_ib_schedule(ring, 1, ib, NULL, fence_ptr); in gfx_v9_4_2_run_shader()