Home
last modified time | relevance | path

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

/external/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 …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sync.c60 struct brw_bo *batch_bo; member
85 fence->batch_bo = NULL; in brw_fence_init()
98 if (fence->batch_bo) in brw_fence_finish()
99 brw_bo_unreference(fence->batch_bo); in brw_fence_finish()
146 assert(!fence->batch_bo); in brw_fence_insert_locked()
149 fence->batch_bo = brw->batch.batch.bo; in brw_fence_insert_locked()
150 brw_bo_reference(fence->batch_bo); in brw_fence_insert_locked()
153 brw_bo_unreference(fence->batch_bo); in brw_fence_insert_locked()
154 fence->batch_bo = NULL; in brw_fence_insert_locked()
206 if (!fence->batch_bo) { in brw_fence_has_completed_locked()
[all …]
/external/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
322 batch_bo = get_bo(fd, exec_objects[batch_index].handle); in dump_execbuffer2()
335 if (bo == batch_bo) { in dump_execbuffer2()
354 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()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c787 struct anv_batch_bo *batch_bo; in anv_cmd_buffer_init_batch_bo_chain() local
792 result = anv_batch_bo_create(cmd_buffer, &batch_bo); in anv_cmd_buffer_init_batch_bo_chain()
796 list_addtail(&batch_bo->link, &cmd_buffer->batch_bos); in anv_cmd_buffer_init_batch_bo_chain()
807 anv_batch_bo_start(batch_bo, &cmd_buffer->batch, in anv_cmd_buffer_init_batch_bo_chain()
816 *(struct anv_batch_bo **)u_vector_add(&cmd_buffer->seen_bbos) = batch_bo; in anv_cmd_buffer_init_batch_bo_chain()
842 anv_batch_bo_destroy(batch_bo, cmd_buffer); in anv_cmd_buffer_init_batch_bo_chain()
905 struct anv_batch_bo *batch_bo = anv_cmd_buffer_current_batch_bo(cmd_buffer); in anv_cmd_buffer_end_batch_buffer() local
915 assert(cmd_buffer->batch.end == batch_bo->bo->map + batch_bo->bo->size); in anv_cmd_buffer_end_batch_buffer()
961 batch_bo = anv_cmd_buffer_current_batch_bo(cmd_buffer); in anv_cmd_buffer_end_batch_buffer()
984 assert(cmd_buffer->batch.start == batch_bo->bo->map); in anv_cmd_buffer_end_batch_buffer()
[all …]
Danv_queue.c778 struct anv_bo *batch_bo, *sync_bo; in anv_queue_submit_simple_batch() local
806 result = anv_bo_pool_alloc(&device->batch_bo_pool, size, &batch_bo); in anv_queue_submit_simple_batch()
810 memcpy(batch_bo->map, batch->start, size); in anv_queue_submit_simple_batch()
812 gen_flush_range(batch_bo->map, size); in anv_queue_submit_simple_batch()
814 submit->simple_bo = batch_bo; in anv_queue_submit_simple_batch()
834 anv_bo_pool_free(&device->batch_bo_pool, batch_bo); in anv_queue_submit_simple_batch()
/external/igt-gpu-tools/tools/
Daubdump.c908 struct bo *bo, *batch_bo; in dump_execbuffer2() local
985 batch_bo = get_bo(exec_objects[batch_index].handle); in dump_execbuffer2()
995 if (bo == batch_bo) { in dump_execbuffer2()
1007 aub_dump_execlist(batch_bo->offset + in dump_execbuffer2()
1011 aub_dump_ringbuffer(batch_bo->offset + in dump_execbuffer2()