Home
last modified time | relevance | path

Searched refs:iova (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer_sp.h37 (*ring->cur++) = (uint32_t)reloc->iova; in X()
39 (*ring->cur++) = (uint32_t)(reloc->iova >> 32); in X()
96 .iova = bo->iova + msm_target->offset, in X()
102 .iova = bo->iova + msm_target->offset, in X()
Dfreedreno_ringbuffer.h198 uint64_t iova; member
292 uint64_t iova = fd_bo_get_iova(bo) + offset; in OUT_RELOC() local
295 iova >>= -shift; in OUT_RELOC()
297 iova <<= shift; in OUT_RELOC()
299 iova |= or ; in OUT_RELOC()
303 .iova = iova, in OUT_RELOC()
Dfreedreno_bo.c79 bo->iova = bo->funcs->iova(bo); in bo_from_handle()
254 assert(bo->iova != 0); in fd_bo_get_iova()
255 return bo->iova; in fd_bo_get_iova()
Dfreedreno_priv.h269 uint64_t (*iova)(struct fd_bo *bo); member
291 uint64_t iova; member
Dmsm_bo.c161 .iova = msm_bo_iova,
Dmsm_ringbuffer.c568 .iova = bo->iova + msm_target->offset, in msm_ringbuffer_emit_reloc_ring()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.h68 .iova = entry.bo->iova + entry.offset, in tu_cs_end_draw_state()
88 .iova = memory.iova, in tu_cs_draw_state()
255 tu_cs_emit_qw(cs, entry->bo->iova + entry->offset); in tu_cs_emit_ib()
265 tu_cs_emit_qw(cs, state.iova); in tu_cs_emit_state_ib()
334 uint64_t v = regs[i].bo->iova + regs[i].bo_offset; \
Dtu_image.c239 uint64_t base_addr = image->bo->iova + image->bo_offset + in tu_image_view_init()
241 uint64_t ubwc_addr = image->bo->iova + image->bo_offset + in tu_image_view_init()
313 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init()
318 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init()
450 iview->stencil_base_addr = image->bo->iova + image->bo_offset + in tu_image_view_init()
872 uint64_t iova = tu_buffer_iova(buffer) + pCreateInfo->offset; in tu_buffer_view_init() local
889 view->descriptor[4] = iova; in tu_buffer_view_init()
890 view->descriptor[5] = iova >> 32; in tu_buffer_view_init()
Dtu_cmd_buffer.c547 tu_cs_emit_qw(cs, state.iova); in tu_cs_emit_draw_state()
1138 tu_cs_emit_qw(&cs, texture.iova); in tu_emit_input_attachments()
1140 tu_cs_emit_regs(&cs, A6XX_SP_FS_TEX_CONST(.qword = texture.iova)); in tu_emit_input_attachments()
1668 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT()
1693 cmd->state.dynamic_state[TU_DYNAMIC_STATE_VB_STRIDE].iova = in tu_CmdBindVertexBuffers2EXT()
1694 tu_cs_draw_state(&cmd->sub_cs, &cs, 2 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT()
1742 cmd->state.index_va = buf->bo->iova + buf->bo_offset + offset; in tu_CmdBindIndexBuffer()
1825 addr[MAX_SETS] = dynamic_desc_set.iova | 3; in tu_CmdBindDescriptorSets()
1894 set->va = set_mem.iova; in tu_CmdPushDescriptorSetKHR()
1933 set->va = set_mem.iova; in tu_CmdPushDescriptorSetWithTemplateKHR()
[all …]
Dtu_kgsl.c106 .iova = req.gpuaddr, in tu_bo_init_new()
148 .iova = info_req.gpuaddr, in tu_bo_init_dmabuf()
389 .gpuaddr = perf_cs_entry->bo->iova, in tu_QueueSubmit()
399 .gpuaddr = cs->entries[k].bo->iova, in tu_QueueSubmit()
Dtu_private.h315 uint64_t iova; member
361 #define global_iova(cmd, member) ((cmd)->device->global_bo.iova + gb_offset(member))
504 uint64_t iova; member
508 uint64_t iova : 48; member
715 return buffer->bo->iova + buffer->bo_offset; in tu_buffer_iova()
1301 uint64_t iova; member
Dtu_cs.c292 memory->iova = bo->iova + offset * sizeof(uint32_t); in tu_cs_alloc()
Dtu_query.c114 pool->bo.iova + pool->stride * (query) + offsetof(type, field)
120 pool->bo.iova + pool->stride * (query) + \
128 pool->bo.iova + pool->stride * (query) + \
137 pool->bo.iova + pool->stride * (query) + \
Dtu_drm.c244 uint64_t iova = tu_gem_info(dev, gem_handle, MSM_INFO_GET_IOVA); in tu_bo_init() local
245 if (!iova) { in tu_bo_init()
253 .iova = iova, in tu_bo_init()
290 .presumed = iova, in tu_bo_init()
Dtu_pipeline.c534 assert((pvtmem->iova & 0x1f) == 0); in tu6_emit_xs()
541 tu_cs_emit_qw(cs, pvtmem->iova); in tu6_emit_xs()
576 uint64_t iova = binary_iova + xs->info.constant_data_offset; in tu6_emit_xs() local
590 iova | in tu6_emit_xs()
614 tu_cs_emit_qw(cs, iova + start); in tu6_emit_xs()
2163 config->iova = pipeline->pvtmem_bo.iova; in tu_setup_pvtmem()
2291 return memory.iova; in tu_upload_variant()
Dtu_clear_blit.c563 dev->global_shader_va[idx] = dev->global_bo.iova + in compile_shader()
838 tu_cs_emit_qw(cs, texture.iova + A6XX_TEX_CONST_DWORDS * 4); in r3d_src_common()
840 tu_cs_emit_regs(cs, A6XX_SP_FS_TEX_SAMP(.qword = texture.iova + A6XX_TEX_CONST_DWORDS * 4)); in r3d_src_common()
848 tu_cs_emit_qw(cs, texture.iova); in r3d_src_common()
850 tu_cs_emit_regs(cs, A6XX_SP_FS_TEX_CONST(.qword = texture.iova)); in r3d_src_common()
1241 image->bo->iova + image->bo_offset + image->lrz_offset, in tu6_clear_lrz()
1947 copy_buffer(cmd, tu_buffer_iova(buffer) + dstOffset, tmp.iova, dataSize, 4); in tu_CmdUpdateBuffer()
Dtu_descriptor_set.c493 set->va = pool->host_bo ? 0 : pool->bo.iova + pool->current_offset; in tu_descriptor_set_create()
518 set->va = pool->host_bo ? 0 : pool->bo.iova + offset; in tu_descriptor_set_create()
/third_party/mesa3d/src/freedreno/decode/
Dcrashdec.c250 uint64_t iova; member
267 parseline(line, " iova: %" PRIx64, &ringbuffers[id].iova); in decode_ringbuffer()
276 add_buffer(ringbuffers[id].iova, ringbuffers[id].size, in decode_ringbuffer()
335 if (ringbuffers[id].iova != rb_base) in dump_cmdstream()
394 uint64_t iova = 0; in decode_bos() local
398 parseline(line, " - iova: %" PRIx64, &iova); in decode_bos()
407 add_buffer(iova, size, buf); in decode_bos()
/third_party/mesa3d/src/freedreno/computerator/
Da6xx.c263 uint64_t iova = fd_bo_get_iova(kernel->bufs[i]); in cs_const_emit() local
265 const_state->immediates[idx * 4 + 1] = iova >> 32; in cs_const_emit()
266 const_state->immediates[idx * 4 + 0] = (iova << 32) >> 32; in cs_const_emit()
DREADME.rst20 The iova of the buffer is written as a vec2 to ``cN.c``
/third_party/libdrm/freedreno/msm/
Dmsm_bo.c131 .iova = msm_bo_iova,
/third_party/libdrm/freedreno/
Dfreedreno_priv.h153 uint64_t (*iova)(struct fd_bo *bo); member
Dfreedreno_bo.c219 return bo->funcs->iova(bo); in fd_bo_get_iova()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c637 uint64_t iova = fd_bo_get_iova(rsc->bo); in fd_set_global_binding() local
639 *handles[i] += iova; in fd_set_global_binding()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c291 uint64_t iova = fd_bo_get_iova(rsc->bo) + fd_resource_offset(rsc, lvl, layer); in patch_fb_read_sysmem() local
308 patch->cs[4] = A6XX_TEX_CONST_4_BASE_LO(iova); in patch_fb_read_sysmem()
309 patch->cs[5] = A6XX_TEX_CONST_5_BASE_HI(iova >> 32) | in patch_fb_read_sysmem()

12