Home
last modified time | relevance | path

Searched refs:length_dw (Results 1 – 11 of 11) sorted by relevance

/external/virglrenderer/vtest/
Dvtest.h34 int vtest_submit_cmd(uint32_t length_dw);
36 int vtest_transfer_get(uint32_t length_dw);
37 int vtest_transfer_put(uint32_t length_dw);
Dvtest_renderer.c278 int vtest_submit_cmd(uint32_t length_dw) in vtest_submit_cmd() argument
283 if (length_dw > UINT_MAX / 4) in vtest_submit_cmd()
286 cbuf = malloc(length_dw * 4); in vtest_submit_cmd()
290 ret = vtest_block_read(renderer.in_fd, cbuf, length_dw * 4); in vtest_submit_cmd()
291 if (ret != (int)length_dw * 4) { in vtest_submit_cmd()
296 virgl_renderer_submit_cmd(cbuf, ctx_id, length_dw); in vtest_submit_cmd()
318 int vtest_transfer_get(UNUSED uint32_t length_dw) in vtest_transfer_get() argument
357 int vtest_transfer_put(UNUSED uint32_t length_dw) in vtest_transfer_put() argument
/external/libdrm/radeon/
Dradeon_cs_gem.c164 csg->chunks[0].length_dw = 0; in cs_gem_create()
167 csg->chunks[1].length_dw = 0; in cs_gem_create()
266 csg->chunks[1].length_dw += RELOC_SIZE; in cs_gem_write_reloc()
437 csg->chunks[0].length_dw = cs->cdw; in cs_gem_emit()
492 csg->chunks[0].length_dw = 0; in cs_gem_erase()
493 csg->chunks[1].length_dw = 0; in cs_gem_erase()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c94 csc->chunks[0].length_dw = 0; in radeon_init_cs_context()
97 csc->chunks[1].length_dw = 0; in radeon_init_cs_context()
100 csc->chunks[2].length_dw = 2; in radeon_init_cs_context()
131 csc->chunks[0].length_dw = 0; in radeon_cs_context_cleanup()
132 csc->chunks[1].length_dw = 0; in radeon_cs_context_cleanup()
280 csc->chunks[1].length_dw += RELOC_DWORDS; in radeon_lookup_or_add_real_buffer()
462 for (i = 0; i < csc->chunks[0].length_dw; i++) { in radeon_drm_cs_emit_ioctl_oneshot()
626 cs->cst->chunks[0].length_dw = cs->base.current.cdw; in radeon_drm_cs_flush()
/external/libdrm/amdgpu/
Damdgpu_cs.c220 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_ib) / 4; in amdgpu_cs_submit_one()
242 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_fence) / 4; in amdgpu_cs_submit_one()
275 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_dep) / 4 in amdgpu_cs_submit_one()
308 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_dep) / 4 * sem_count; in amdgpu_cs_submit_one()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1309 chunks[num_chunks].length_dw = sizeof(struct drm_amdgpu_cs_chunk_ib) / 4; in amdgpu_cs_submit_ib()
1316 chunks[num_chunks].length_dw = sizeof(struct drm_amdgpu_cs_chunk_fence) / 4; in amdgpu_cs_submit_ib()
1344 chunks[num_chunks].length_dw = sizeof(dep_chunk[0]) / 4 * num; in amdgpu_cs_submit_ib()
1367 chunks[num_chunks].length_dw = sizeof(sem_chunk[0]) / 4 * num; in amdgpu_cs_submit_ib()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1269 chunk->length_dw = sizeof(struct drm_amdgpu_cs_chunk_sem) / 4 * counts->syncobj_count; in radv_amdgpu_cs_alloc_syncobj_chunk()
1302 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_ib) / 4; in radv_amdgpu_cs_submit()
1320 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_fence) / 4; in radv_amdgpu_cs_submit()
1363 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_dep) / 4 * sem_count; in radv_amdgpu_cs_submit()
/external/libdrm/include/drm/
Damdgpu_drm.h488 __u32 length_dw; member
Dradeon_drm.h970 __u32 length_dw; member
/external/kernel-headers/original/uapi/drm/
Damdgpu_drm.h529 __u32 length_dw; member
Dradeon_drm.h969 __u32 length_dw; member