Lines Matching defs:fences
510 static int amdgpu_ioctl_wait_fences(struct amdgpu_cs_fence *fences,
518 amdgpu_device_handle dev = fences[0].context->dev;
525 drm_fences[i].ctx_id = fences[i].context->id;
526 drm_fences[i].ip_type = fences[i].ip_type;
527 drm_fences[i].ip_instance = fences[i].ip_instance;
528 drm_fences[i].ring = fences[i].ring;
529 drm_fences[i].seq_no = fences[i].fence;
533 args.in.fences = (uint64_t)(uintptr_t)drm_fences;
550 drm_public int amdgpu_cs_wait_fences(struct amdgpu_cs_fence *fences,
560 if (!fences || !status || !fence_count)
564 if (NULL == fences[i].context)
566 if (fences[i].ip_type >= AMDGPU_HW_IP_NUM)
568 if (fences[i].ring >= AMDGPU_CS_MAX_RINGS)
574 return amdgpu_ioctl_wait_fences(fences, fence_count, wait_all,