Home
last modified time | relevance | path

Searched refs:reloc_idx (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer.c259 unsigned idx = cmd->relocs[i].reloc_idx; in handle_stateobj_relocs()
263 relocs[i].reloc_idx = append_bo(submit, bo); in handle_stateobj_relocs()
484 unsigned reloc_idx; in msm_ringbuffer_emit_reloc() local
492 reloc_idx = idx; in msm_ringbuffer_emit_reloc()
498 reloc_idx = append_bo(msm_submit, reloc->bo); in msm_ringbuffer_emit_reloc()
505 .reloc_idx = reloc_idx, in msm_ringbuffer_emit_reloc()
518 .reloc_idx = reloc_idx, in msm_ringbuffer_emit_reloc()
Dmsm_priv.h127 j, r->submit_offset, r->or, r->shift, r->reloc_idx, in msm_dump_submit()
/third_party/libdrm/freedreno/msm/
Dmsm_ringbuffer.c412 r->reloc_idx, r->reloc_offset); in dump_submit()
426 unsigned idx = orig_relocs[i].reloc_idx; in handle_stateobj_relocs()
436 relocs[i].reloc_idx = bo2idx(parent, bo, flags); in handle_stateobj_relocs()
571 reloc->reloc_idx = bo2idx(parent, r->bo, r->flags); in msm_ringbuffer_emit_reloc()
591 uint32_t reloc_idx = reloc->reloc_idx; in msm_ringbuffer_emit_reloc() local
597 reloc_hi->reloc_idx = reloc_idx; in msm_ringbuffer_emit_reloc()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_vce.c519 int reloc_idx; in rvce_add_buffer() local
521 reloc_idx = enc->ws->cs_add_buffer(&enc->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, in rvce_add_buffer()
531 RVCE_CS(reloc_idx * 4); in rvce_add_buffer()
Dradeon_uvd.c120 int reloc_idx; in send_cmd() local
122 reloc_idx = dec->ws->cs_add_buffer(&dec->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, in send_cmd()
133 set_reg(dec, RUVD_GPCOM_VCPU_DATA1, reloc_idx * 4); in send_cmd()
Dr600_state.c1558 unsigned reloc_idx; in r600_emit_db_state() local
1563 reloc_idx = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, &rtex->resource, in r600_emit_db_state()
1566 radeon_emit(cs, reloc_idx); in r600_emit_db_state()
Devergreen_state.c2059 unsigned reloc_idx; in evergreen_emit_db_state() local
2065 reloc_idx = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, &rtex->resource, in evergreen_emit_db_state()
2068 radeon_emit(cs, reloc_idx); in evergreen_emit_db_state()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce.c542 int reloc_idx; in si_vce_add_buffer() local
544 reloc_idx = enc->ws->cs_add_buffer(&enc->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, domain, 0); in si_vce_add_buffer()
553 RVCE_CS(reloc_idx * 4); in si_vce_add_buffer()
Dradeon_uvd.c113 int reloc_idx; in send_cmd() local
115 reloc_idx = dec->ws->cs_add_buffer(&dec->cs, buf, usage | RADEON_USAGE_SYNCHRONIZED, domain, 0); in send_cmd()
125 set_reg(dec, RUVD_GPCOM_VCPU_DATA1, reloc_idx * 4); in send_cmd()
/third_party/libdrm/include/drm/
Dmsm_drm.h153 __u32 reloc_idx; /* in, index of reloc_bo buffer */ member
/third_party/libdrm/etnaviv/
Detnaviv_drm.h136 __u32 reloc_idx; /* in, index of reloc_bo buffer */ member
Detnaviv_cmd_stream.c257 reloc->reloc_idx = bo2idx(stream, r->bo, r->flags); in etna_cmd_stream_reloc()
/third_party/mesa3d/src/intel/vulkan/
DgenX_query.c941 uint32_t reloc_idx = 0; in genX() local
953 cmd_buffer->self_mod_locations[reloc_idx++] = mi_store_address(&b, reg_addr); in genX()
964 cmd_buffer->self_mod_locations[reloc_idx++] = mi_store_address(&b, reg_addr); in genX()
977 cmd_buffer->self_mod_locations[reloc_idx++] = in genX()
980 assert(reloc_idx == pdevice->n_perf_query_commands); in genX()
Danv_batch_chain.c493 uint32_t reloc_idx = prev_bbo->relocs.num_relocs - 1; in anv_batch_bo_link() local
494 assert(prev_bbo->relocs.relocs[reloc_idx].offset == bb_start_offset + 4); in anv_batch_bo_link()
496 prev_bbo->relocs.reloc_bos[reloc_idx] = next_bbo->bo; in anv_batch_bo_link()
497 prev_bbo->relocs.relocs[reloc_idx].delta = next_bbo_offset; in anv_batch_bo_link()
500 prev_bbo->relocs.relocs[reloc_idx].presumed_offset = -1; in anv_batch_bo_link()
/third_party/mesa3d/include/drm-uapi/
Dmsm_drm.h173 __u32 reloc_idx; /* in, index of reloc_bo buffer */ member
Detnaviv_drm.h140 __u32 reloc_idx; /* in, index of reloc_bo buffer */ member
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c284 reloc->reloc_idx = bo_idx; in etna_cmd_stream_reloc()