Home
last modified time | relevance | path

Searched refs:bo_sync (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_bo_sync.c222 struct anv_bo_sync *bo_sync; in anv_create_sync_for_memory() local
224 bo_sync = vk_zalloc(&device->alloc, sizeof(*bo_sync), 8, in anv_create_sync_for_memory()
226 if (bo_sync == NULL) in anv_create_sync_for_memory()
229 bo_sync->sync.type = &anv_bo_sync_type; in anv_create_sync_for_memory()
230 bo_sync->state = signal_memory ? ANV_BO_SYNC_STATE_RESET : in anv_create_sync_for_memory()
232 bo_sync->bo = anv_bo_ref(mem->bo); in anv_create_sync_for_memory()
234 *sync_out = &bo_sync->sync; in anv_create_sync_for_memory()
Danv_batch_chain.c1656 struct anv_bo_sync *bo_sync = in anv_execbuf_add_sync() local
1659 assert(is_signal == (bo_sync->state == ANV_BO_SYNC_STATE_RESET)); in anv_execbuf_add_sync()
1661 return anv_execbuf_add_bo(device, execbuf, bo_sync->bo, NULL, in anv_execbuf_add_sync()
2361 struct anv_bo_sync *bo_sync = in anv_queue_submit_locked() local
2374 assert(bo_sync->state == ANV_BO_SYNC_STATE_RESET); in anv_queue_submit_locked()
2375 bo_sync->state = ANV_BO_SYNC_STATE_SUBMITTED; in anv_queue_submit_locked()