/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_rs.c | 728 struct etna_reloc reloc; in etna_try_rs_blit() local 741 memset(&reloc, 0, sizeof(struct etna_reloc)); in etna_try_rs_blit() 742 reloc.bo = src->ts_bo; in etna_try_rs_blit() 743 reloc.offset = ts_offset; in etna_try_rs_blit() 744 reloc.flags = ETNA_RELOC_READ; in etna_try_rs_blit() 745 etna_set_state_reloc(ctx->stream, VIVS_TS_COLOR_STATUS_BASE, &reloc); in etna_try_rs_blit() 747 memset(&reloc, 0, sizeof(struct etna_reloc)); in etna_try_rs_blit() 748 reloc.bo = src->bo; in etna_try_rs_blit() 749 reloc.offset = src_lev->offset + in etna_try_rs_blit() 751 reloc in etna_try_rs_blit() [all...] |
H A D | etnaviv_emit.h | 67 const struct etna_reloc *reloc) in etna_set_state_reloc() 71 etna_cmd_stream_reloc(stream, reloc); in etna_set_state_reloc() 66 etna_set_state_reloc(struct etna_cmd_stream *stream, uint32_t address, const struct etna_reloc *reloc) etna_set_state_reloc() argument
|
H A D | etnaviv_surface.h | 42 struct etna_reloc reloc[ETNA_MAX_PIXELPIPES]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 146 * reloc.presumed_offset which in turn must match the corresponding 977 relocation_target(const struct drm_i915_gem_relocation_entry *reloc, in relocation_target() argument 980 return gen8_canonical_addr((int)reloc->delta + target->node.start); in relocation_target() 1180 if (err) /* no inactive aperture space, use cpu reloc */ in reloc_iomap() 1538 const struct drm_i915_gem_relocation_entry *reloc, in relocate_entry() 1542 u64 target_addr = relocation_target(reloc, target); in relocate_entry() 1543 u64 offset = reloc->offset; in relocate_entry() 1578 const struct drm_i915_gem_relocation_entry *reloc) in eb_relocate_entry() 1585 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry() 1590 if (unlikely(reloc in eb_relocate_entry() 1537 relocate_entry(struct i915_vma *vma, const struct drm_i915_gem_relocation_entry *reloc, struct i915_execbuffer *eb, const struct i915_vma *target) relocate_entry() argument 1576 eb_relocate_entry(struct i915_execbuffer *eb, struct eb_vma *ev, const struct drm_i915_gem_relocation_entry *reloc) eb_relocate_entry() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 156 * reloc.presumed_offset which in turn must match the corresponding 1111 relocation_target(const struct drm_i915_gem_relocation_entry *reloc, in relocation_target() argument 1114 return gen8_canonical_addr((int)reloc->delta + i915_vma_offset(target)); in relocation_target() 1320 if (err) /* no inactive aperture space, use cpu reloc */ in reloc_iomap() 1391 const struct drm_i915_gem_relocation_entry *reloc, in relocate_entry() 1395 u64 target_addr = relocation_target(reloc, target); in relocate_entry() 1396 u64 offset = reloc->offset; in relocate_entry() 1424 const struct drm_i915_gem_relocation_entry *reloc) in eb_relocate_entry() 1431 target = eb_get_vma(eb, reloc->target_handle); in eb_relocate_entry() 1436 if (unlikely(reloc in eb_relocate_entry() 1390 relocate_entry(struct i915_vma *vma, const struct drm_i915_gem_relocation_entry *reloc, struct i915_execbuffer *eb, const struct i915_vma *target) relocate_entry() argument 1422 eb_relocate_entry(struct i915_execbuffer *eb, struct eb_vma *ev, const struct drm_i915_gem_relocation_entry *reloc) eb_relocate_entry() argument [all...] |
/kernel/linux/linux-6.6/tools/objtool/include/objtool/ |
H A D | arch.h | 97 bool arch_pc_relative_reloc(struct reloc *reloc);
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | v3d33_tex.c | 29 #define __gen_address_offset(reloc) (*reloc) 30 #define __gen_emit_reloc(cl, reloc)
|
/third_party/libdrm/tegra/ |
H A D | pushbuf.c | 144 buffer->reloc.target_offset = offset; in drm_tegra_pushbuf_relocate() 145 buffer->reloc.gather_offset_words = drm_tegra_pushbuf_get_offset(pushbuf, in drm_tegra_pushbuf_relocate() 147 buffer->reloc.shift = shift; in drm_tegra_pushbuf_relocate()
|
/third_party/libdrm/nouveau/ |
H A D | pushbuf.c | 45 struct drm_nouveau_gem_pushbuf_reloc reloc[NOUVEAU_GEM_MAX_RELOCS]; member 228 uint32_t reloc = data; in pushbuf_krel() local 232 krel = &krec->reloc[krec->nr_reloc++]; in pushbuf_krel() 245 reloc = (bkref->presumed.offset + data); in pushbuf_krel() 249 reloc = (bkref->presumed.offset + data) >> 32; in pushbuf_krel() 254 reloc |= vor; in pushbuf_krel() 256 reloc |= tor; in pushbuf_krel() 260 return reloc; in pushbuf_krel() 284 krel = krec->reloc; in pushbuf_dump() 339 req.relocs = (uint64_t)(unsigned long)krec->reloc; in pushbuf_submit() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | r100.c | 1267 struct radeon_bo_list *reloc; in r100_reloc_pitch_offset() local 1270 r = radeon_cs_packet_next_reloc(p, &reloc, 0); in r100_reloc_pitch_offset() 1272 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", in r100_reloc_pitch_offset() 1280 tmp += (((u32)reloc->gpu_offset) >> 10); in r100_reloc_pitch_offset() 1283 if (reloc->tiling_flags & RADEON_TILING_MACRO) in r100_reloc_pitch_offset() 1285 if (reloc->tiling_flags & RADEON_TILING_MICRO) { in r100_reloc_pitch_offset() 1306 struct radeon_bo_list *reloc; in r100_packet3_load_vbpntr() local 1323 r = radeon_cs_packet_next_reloc(p, &reloc, 0); in r100_packet3_load_vbpntr() 1325 DRM_ERROR("No reloc for packet3 %d\n", in r100_packet3_load_vbpntr() 1331 ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc in r100_packet3_load_vbpntr() 1555 struct radeon_bo_list *reloc; r100_packet0_check() local 1913 struct radeon_bo_list *reloc; r100_packet3_check() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | r100.c | 1275 struct radeon_bo_list *reloc; in r100_reloc_pitch_offset() local 1278 r = radeon_cs_packet_next_reloc(p, &reloc, 0); in r100_reloc_pitch_offset() 1280 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", in r100_reloc_pitch_offset() 1288 tmp += (((u32)reloc->gpu_offset) >> 10); in r100_reloc_pitch_offset() 1291 if (reloc->tiling_flags & RADEON_TILING_MACRO) in r100_reloc_pitch_offset() 1293 if (reloc->tiling_flags & RADEON_TILING_MICRO) { in r100_reloc_pitch_offset() 1314 struct radeon_bo_list *reloc; in r100_packet3_load_vbpntr() local 1331 r = radeon_cs_packet_next_reloc(p, &reloc, 0); in r100_packet3_load_vbpntr() 1333 DRM_ERROR("No reloc for packet3 %d\n", in r100_packet3_load_vbpntr() 1339 ib[idx+1] = radeon_get_ib_value(p, idx + 1) + ((u32)reloc in r100_packet3_load_vbpntr() 1563 struct radeon_bo_list *reloc; r100_packet0_check() local 1921 struct radeon_bo_list *reloc; r100_packet3_check() local [all...] |
/kernel/linux/linux-6.6/tools/objtool/arch/powerpc/ |
H A D | decode.c | 83 bool arch_pc_relative_reloc(struct reloc *reloc) in arch_pc_relative_reloc() argument
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_ringbuffer.h | 135 void fd_ringbuffer_reloc2(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); 136 will_be_deprecated void fd_ringbuffer_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | submit.c | 232 dma_addr_t iova = mapping->iova + buf->reloc.target_offset; in submit_write_reloc() 240 written_ptr = iova >> buf->reloc.shift; in submit_write_reloc() 242 if (buf->reloc.gather_offset_words >= bo->gather_data_words) { in submit_write_reloc() 245 buf->reloc.gather_offset_words, bo->gather_data_words); in submit_write_reloc() 249 buf->reloc.gather_offset_words = array_index_nospec(buf->reloc.gather_offset_words, in submit_write_reloc() 252 bo->gather_data[buf->reloc.gather_offset_words] = written_ptr; in submit_write_reloc()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_uniforms.c | 322 struct v3dv_cl_reloc reloc = in write_ubo_ssbo_uniforms() local 327 bo = reloc.bo; in write_ubo_ssbo_uniforms() 328 addr = reloc.bo->offset + reloc.offset + offset; in write_ubo_ssbo_uniforms() 370 struct v3dv_cl_reloc reloc = in write_inline_uniform() local 377 uint32_t *addr = reloc.bo->map + reloc.offset + 4 * offset; in write_inline_uniform()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | intel_clc.c | 200 const struct brw_shader_reloc *reloc = &kernel->prog_data.base.relocs[i]; in print_kernel() local 202 reloc->id, reloc_type_str(reloc->type), in print_kernel() 203 reloc->offset, reloc->delta); in print_kernel()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_gem.c | 595 struct drm_nouveau_gem_pushbuf_reloc *reloc, in nouveau_gem_pushbuf_reloc_apply() 602 struct drm_nouveau_gem_pushbuf_reloc *r = &reloc[i]; in nouveau_gem_pushbuf_reloc_apply() 608 NV_PRINTK(err, cli, "reloc bo index invalid\n"); in nouveau_gem_pushbuf_reloc_apply() 618 NV_PRINTK(err, cli, "reloc container bo index invalid\n"); in nouveau_gem_pushbuf_reloc_apply() 626 NV_PRINTK(err, cli, "reloc outside of bo\n"); in nouveau_gem_pushbuf_reloc_apply() 635 NV_PRINTK(err, cli, "failed kmap for reloc\n"); in nouveau_gem_pushbuf_reloc_apply() 658 NV_PRINTK(err, cli, "reloc wait_idle failed: %d\n", ret); in nouveau_gem_pushbuf_reloc_apply() 678 struct drm_nouveau_gem_pushbuf_reloc *reloc = NULL; in nouveau_gem_ioctl_pushbuf() local 721 NV_PRINTK(err, cli, "pushbuf reloc count exceeds limit: %d max %d\n", in nouveau_gem_ioctl_pushbuf() 757 if (!reloc) { in nouveau_gem_ioctl_pushbuf() 593 nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli, struct drm_nouveau_gem_pushbuf *req, struct drm_nouveau_gem_pushbuf_reloc *reloc, struct drm_nouveau_gem_pushbuf_bo *bo) nouveau_gem_pushbuf_reloc_apply() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_gem.c | 655 struct drm_nouveau_gem_pushbuf_reloc *reloc, in nouveau_gem_pushbuf_reloc_apply() 662 struct drm_nouveau_gem_pushbuf_reloc *r = &reloc[i]; in nouveau_gem_pushbuf_reloc_apply() 669 NV_PRINTK(err, cli, "reloc bo index invalid\n"); in nouveau_gem_pushbuf_reloc_apply() 679 NV_PRINTK(err, cli, "reloc container bo index invalid\n"); in nouveau_gem_pushbuf_reloc_apply() 687 NV_PRINTK(err, cli, "reloc outside of bo\n"); in nouveau_gem_pushbuf_reloc_apply() 696 NV_PRINTK(err, cli, "failed kmap for reloc\n"); in nouveau_gem_pushbuf_reloc_apply() 728 NV_PRINTK(err, cli, "reloc wait_idle failed: %d\n", in nouveau_gem_pushbuf_reloc_apply() 749 struct drm_nouveau_gem_pushbuf_reloc *reloc = NULL; in nouveau_gem_ioctl_pushbuf() local 795 NV_PRINTK(err, cli, "pushbuf reloc count exceeds limit: %d max %d\n", in nouveau_gem_ioctl_pushbuf() 831 if (!reloc) { in nouveau_gem_ioctl_pushbuf() 653 nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli, struct drm_nouveau_gem_pushbuf *req, struct drm_nouveau_gem_pushbuf_reloc *reloc, struct drm_nouveau_gem_pushbuf_bo *bo) nouveau_gem_pushbuf_reloc_apply() argument [all...] |
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | assembler.h | 691 .reloc .L0_\@, R_ARM_ALU_PC_G0_NC, \sym 692 .reloc .L1_\@, R_ARM_ALU_PC_G1_NC, \sym 693 .reloc .L2_\@, R_ARM_LDR_PC_G2, \sym 727 .reloc .L0_\@, R_ARM_ALU_PC_G0_NC, \sym 728 .reloc .L1_\@, R_ARM_ALU_PC_G1_NC, \sym 729 .reloc .L2_\@, R_ARM_LDR_PC_G2, \sym
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nvfx_fragprog.c | 271 struct nvfx_relocation reloc; in nv40_fp_cal() local 283 reloc.target = target; in nv40_fp_cal() 284 reloc.location = fpc->inst_offset + 2; in nv40_fp_cal() 285 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); in nv40_fp_cal() 307 struct nvfx_relocation reloc; in nv40_fp_rep() local 324 reloc.target = target; in nv40_fp_rep() 325 reloc.location = fpc->inst_offset + 3; in nv40_fp_rep() 326 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); in nv40_fp_rep() 336 struct nvfx_relocation reloc; 350 reloc [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | Makefile | 55 obj-$(CONFIG_ARM64_RELOC_TEST) += arm64-reloc-test.o 56 arm64-reloc-test-y := reloc_test_core.o reloc_test_syms.o
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | Makefile | 66 obj-$(CONFIG_ARM64_RELOC_TEST) += arm64-reloc-test.o 67 arm64-reloc-test-y := reloc_test_core.o reloc_test_syms.o
|
/third_party/elfutils/tests/ |
H A D | run-strip-reloc.sh | 42 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections -o $outfile2 \ 44 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; } 58 { echo "*** failure --reloc-debug-sections not smaller $infile"; status=1; } 73 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections-only \ 75 { echo "*** failure strip --reloc-debug-sections-only $debugfile1"; \ 79 { echo "*** failure --reloc-debug-sections[-only] $debugfile1 $debugfile2"; \
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_cs.h | 120 unsigned reloc = radeon_add_to_buffer_list(rctx, ring, rbo, usage); in r600_emit_reloc() local 124 radeon_emit(cs, reloc); in r600_emit_reloc()
|
H A D | evergreen_compute.c | 265 struct r600_shader_reloc *reloc = &binary->relocs[i]; in parse_relocs() local 271 reloc->offset = rel.r_offset; in parse_relocs() 272 strncpy(reloc->name, symbol_name, sizeof(reloc->name)-1); in parse_relocs() 273 reloc->name[sizeof(reloc->name)-1] = 0; in parse_relocs() 689 unsigned reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, in compute_setup_cbs() local 704 radeon_emit(cs, reloc); in compute_setup_cbs() 707 radeon_emit(cs, reloc); in compute_setup_cbs()
|