Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_syncobj.c48 drm_intel_bo *batch_bo; member
62 if (fence->batch_bo) in intel_fence_finish()
63 drm_intel_bo_unreference(fence->batch_bo); in intel_fence_finish()
69 assert(!fence->batch_bo); in intel_fence_insert()
73 fence->batch_bo = intel->batch.bo; in intel_fence_insert()
74 drm_intel_bo_reference(fence->batch_bo); in intel_fence_insert()
84 if (fence->batch_bo && !drm_intel_bo_busy(fence->batch_bo)) { in intel_fence_has_completed_locked()
85 drm_intel_bo_unreference(fence->batch_bo); in intel_fence_has_completed_locked()
86 fence->batch_bo = NULL; in intel_fence_has_completed_locked()
113 assert(fence->batch_bo); in intel_fence_client_wait_locked()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sync.c63 struct brw_bo *batch_bo; member
172 fence->batch_bo = NULL; in brw_fence_init()
185 if (fence->batch_bo) in brw_fence_finish()
186 brw_bo_unreference(fence->batch_bo); in brw_fence_finish()
233 assert(!fence->batch_bo); in brw_fence_insert_locked()
236 fence->batch_bo = brw->batch.batch.bo; in brw_fence_insert_locked()
237 brw_bo_reference(fence->batch_bo); in brw_fence_insert_locked()
240 brw_bo_unreference(fence->batch_bo); in brw_fence_insert_locked()
241 fence->batch_bo = NULL; in brw_fence_insert_locked()
293 if (!fence->batch_bo) { in brw_fence_has_completed_locked()
[all …]
/third_party/mesa3d/src/intel/tools/
Derror2aub.c436 struct bo *batch_bo = NULL; in main() local
439 batch_bo = bo_entry; in main()
443 fail_if(!batch_bo, "Failed to find batch buffer.\n"); in main()
466 if (bo_entry->engine_class == batch_bo->engine_class && in main()
467 bo_entry->engine_instance == batch_bo->engine_instance && in main()
534 aub_write_exec(&aub, 0, batch_bo->addr, 0, I915_ENGINE_CLASS_RENDER); in main()
Dintel_dump_gpu.c215 struct bo *bo, *batch_bo; in dump_execbuffer2() local
324 batch_bo = get_bo(fd, exec_objects[batch_index].handle); in dump_execbuffer2()
337 if (bo == batch_bo) { in dump_execbuffer2()
356 batch_bo->offset + execbuffer2->batch_start_offset, in dump_execbuffer2()
Dintel_sanitize_gpu.c254 uint32_t batch_bo = exec->flags & I915_EXEC_BATCH_FIRST ? objects[0].handle : in exec_and_check_padding() local
258 .bo_handle = batch_bo, in exec_and_check_padding()
/third_party/mesa3d/src/intel/vulkan/
Danv_batch_chain.c837 struct anv_batch_bo *batch_bo; in anv_cmd_buffer_init_batch_bo_chain() local
846 &batch_bo); in anv_cmd_buffer_init_batch_bo_chain()
850 list_addtail(&batch_bo->link, &cmd_buffer->batch_bos); in anv_cmd_buffer_init_batch_bo_chain()
861 anv_batch_bo_start(batch_bo, &cmd_buffer->batch, in anv_cmd_buffer_init_batch_bo_chain()
869 *(struct anv_batch_bo **)u_vector_add(&cmd_buffer->seen_bbos) = batch_bo; in anv_cmd_buffer_init_batch_bo_chain()
893 anv_batch_bo_destroy(batch_bo, cmd_buffer); in anv_cmd_buffer_init_batch_bo_chain()
962 struct anv_batch_bo *batch_bo = anv_cmd_buffer_current_batch_bo(cmd_buffer); in anv_cmd_buffer_end_batch_buffer() local
972 assert(cmd_buffer->batch.start == batch_bo->bo->map); in anv_cmd_buffer_end_batch_buffer()
973 assert(cmd_buffer->batch.end == batch_bo->bo->map + batch_bo->bo->size); in anv_cmd_buffer_end_batch_buffer()
981 batch_bo->chained = anv_cmd_buffer_is_chainable(cmd_buffer); in anv_cmd_buffer_end_batch_buffer()
[all …]
Danv_queue.c756 struct anv_bo *batch_bo, *sync_bo; in anv_queue_submit_simple_batch() local
785 result = anv_bo_pool_alloc(&device->batch_bo_pool, size, &batch_bo); in anv_queue_submit_simple_batch()
789 memcpy(batch_bo->map, batch->start, size); in anv_queue_submit_simple_batch()
791 intel_flush_range(batch_bo->map, size); in anv_queue_submit_simple_batch()
793 submit->simple_bo = batch_bo; in anv_queue_submit_simple_batch()
813 anv_bo_pool_free(&device->batch_bo_pool, batch_bo); in anv_queue_submit_simple_batch()