Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c952 struct drm_i915_gem_execbuffer2 execbuf; member
1293 setup_execbuf_for_cmd_buffer(struct anv_execbuf *execbuf, in setup_execbuf_for_cmd_buffer() argument
1302 VkResult result = anv_execbuf_add_bo(execbuf, &ss_pool->block_pool.bo, in setup_execbuf_for_cmd_buffer()
1316 result = anv_execbuf_add_bo(execbuf, &(*bbo)->bo, &(*bbo)->relocs, 0, in setup_execbuf_for_cmd_buffer()
1336 if (first_batch_bo->bo.index != execbuf->bo_count - 1) { in setup_execbuf_for_cmd_buffer()
1338 uint32_t last_idx = execbuf->bo_count - 1; in setup_execbuf_for_cmd_buffer()
1340 struct drm_i915_gem_exec_object2 tmp_obj = execbuf->objects[idx]; in setup_execbuf_for_cmd_buffer()
1341 assert(execbuf->bos[idx] == &first_batch_bo->bo); in setup_execbuf_for_cmd_buffer()
1343 execbuf->objects[idx] = execbuf->objects[last_idx]; in setup_execbuf_for_cmd_buffer()
1344 execbuf->bos[idx] = execbuf->bos[last_idx]; in setup_execbuf_for_cmd_buffer()
[all …]
Danv_queue.c39 struct drm_i915_gem_execbuffer2 *execbuf, in anv_device_execbuf() argument
42 int ret = anv_gem_execbuffer(device, execbuf); in anv_device_execbuf()
51 (void *)(uintptr_t)execbuf->buffers_ptr; in anv_device_execbuf()
52 for (uint32_t k = 0; k < execbuf->buffer_count; k++) in anv_device_execbuf()
62 struct drm_i915_gem_execbuffer2 execbuf; in anv_device_submit_simple_batch() local
88 execbuf.buffers_ptr = (uintptr_t) exec2_objects; in anv_device_submit_simple_batch()
89 execbuf.buffer_count = 1; in anv_device_submit_simple_batch()
90 execbuf.batch_start_offset = 0; in anv_device_submit_simple_batch()
91 execbuf.batch_len = size; in anv_device_submit_simple_batch()
92 execbuf.cliprects_ptr = 0; in anv_device_submit_simple_batch()
[all …]
Danv_gem.c187 struct drm_i915_gem_execbuffer2 *execbuf) in anv_gem_execbuffer() argument
189 if (execbuf->flags & I915_EXEC_FENCE_OUT) in anv_gem_execbuffer()
190 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2_WR, execbuf); in anv_gem_execbuffer()
192 return anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf); in anv_gem_execbuffer()
364 struct drm_i915_gem_execbuffer2 execbuf = { in anv_gem_supports_48b_addresses() local
370 int ret = anv_ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf); in anv_gem_supports_48b_addresses()
Danv_gem_stubs.c99 struct drm_i915_gem_execbuffer2 *execbuf) in anv_gem_execbuffer() argument
Danv_private.h904 struct drm_i915_gem_execbuffer2 *execbuf,
920 struct drm_i915_gem_execbuffer2 *execbuf);
/external/libdrm/intel/
Dintel_bufmgr_gem.c2293 struct drm_i915_gem_execbuffer execbuf; in drm_intel_gem_bo_exec() local
2308 memclear(execbuf); in drm_intel_gem_bo_exec()
2309 execbuf.buffers_ptr = (uintptr_t) bufmgr_gem->exec_objects; in drm_intel_gem_bo_exec()
2310 execbuf.buffer_count = bufmgr_gem->exec_count; in drm_intel_gem_bo_exec()
2311 execbuf.batch_start_offset = 0; in drm_intel_gem_bo_exec()
2312 execbuf.batch_len = used; in drm_intel_gem_bo_exec()
2313 execbuf.cliprects_ptr = (uintptr_t) cliprects; in drm_intel_gem_bo_exec()
2314 execbuf.num_cliprects = num_cliprects; in drm_intel_gem_bo_exec()
2315 execbuf.DR1 = 0; in drm_intel_gem_bo_exec()
2316 execbuf.DR4 = DR4; in drm_intel_gem_bo_exec()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c840 struct drm_i915_gem_execbuffer2 execbuf = { in execbuffer() local
852 execbuf.rsvd2 = in_fence; in execbuffer()
853 execbuf.flags |= I915_EXEC_FENCE_IN; in execbuffer()
859 execbuf.flags |= I915_EXEC_FENCE_OUT; in execbuffer()
862 int ret = drmIoctl(fd, cmd, &execbuf); in execbuffer()
882 *out_fence = execbuf.rsvd2 >> 32; in execbuffer()
Dintel_screen.c1941 struct drm_i915_gem_execbuffer2 execbuf = { in intel_detect_pipelined_register() local
1952 drmIoctl(dri_screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf); in intel_detect_pipelined_register()