Home
last modified time | relevance | path

Searched refs:gpuaddr (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/freedreno/decode/
Dbuffers.c39 uint64_t gpuaddr; member
59 if (buf1->gpuaddr > buf2->gpuaddr) in buffer_insert_cmp()
61 else if (buf1->gpuaddr < buf2->gpuaddr) in buffer_insert_cmp()
70 uint64_t gpuaddr = *(uint64_t *)addrptr; in buffer_search_cmp() local
71 if (buf->gpuaddr + buf->len <= gpuaddr) in buffer_search_cmp()
73 else if (buf->gpuaddr > gpuaddr) in buffer_search_cmp()
79 get_buffer(uint64_t gpuaddr) in get_buffer() argument
81 if (gpuaddr == 0) in get_buffer()
83 return (struct buffer *)rb_tree_search(&buffers, &gpuaddr, in get_buffer()
94 gpuaddr(void *hostptr) in gpuaddr() function
[all …]
Dcffdump.c245 parse_addr(uint32_t *buf, int sz, unsigned int *len, uint64_t *gpuaddr) in parse_addr() argument
247 *gpuaddr = buf[0]; in parse_addr()
250 *gpuaddr |= ((uint64_t)(buf[2])) << 32; in parse_addr()
285 uint64_t gpuaddr; in handle_file() member
286 } gpuaddr = {0}; in handle_file() local
347 parse_addr(buf, sz, &gpuaddr.len, &gpuaddr.gpuaddr); in handle_file()
350 add_buffer(gpuaddr.gpuaddr, gpuaddr.len, buf); in handle_file()
356 uint64_t gpuaddr; in handle_file() local
357 parse_addr(buf, sz, &sizedwords, &gpuaddr); in handle_file()
362 dump_commands(hostptr(gpuaddr), sizedwords, 0); in handle_file()
Dbuffers.h30 uint64_t gpuaddr(void *hostptr);
31 uint64_t gpubaseaddr(uint64_t gpuaddr);
32 void *hostptr(uint64_t gpuaddr);
33 unsigned hostlen(uint64_t gpuaddr);
34 bool has_dumped(uint64_t gpuaddr, unsigned enable_mask);
37 void add_buffer(uint64_t gpuaddr, unsigned int len, void *hostptr);
Dcffdec.c169 highlight_gpuaddr(uint64_t gpuaddr) in highlight_gpuaddr() argument
186 bool triggered = (start <= gpuaddr) && (gpuaddr <= end); in highlight_gpuaddr()
224 uint64_t addr = gpuaddr(&dwords[i]); in dump_hex()
256 printf("%016" PRIx64 ":%s", gpuaddr(dwords), levels[level]); in dump_float()
258 printf("%08x:%s", (uint32_t)gpuaddr(dwords), levels[level]); in dump_float()
277 parse_dword_addr(uint32_t dword, uint32_t *gpuaddr, uint32_t *flags, in parse_dword_addr() argument
281 *gpuaddr = dword & ~mask; in parse_dword_addr()
365 dump_gpuaddr_size(uint64_t gpuaddr, int level, int sizedwords, int quietlvl) in dump_gpuaddr_size() argument
372 buf = hostptr(gpuaddr); in dump_gpuaddr_size()
379 dump_gpuaddr(uint64_t gpuaddr, int level) in dump_gpuaddr() argument
[all …]
Dscript.c571 uint64_t gpubaseaddr(uint64_t gpuaddr);
572 unsigned hostlen(uint64_t gpuaddr);
/third_party/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c43 uint32_t gpuaddr; member
60 .gpuaddr = bo->gpuaddr, in kgsl_rb_bo_del()
95 bo->gpuaddr = req.gpuaddr; in kgsl_rb_bo_new()
98 MAP_SHARED, pipe->fd, req.gpuaddr); in kgsl_rb_bo_new()
120 .gpuaddr = kgsl_ring->bo->gpuaddr + offset, in kgsl_ringbuffer_flush()
143 ibdesc.gpuaddr = kgsl_ring->bo->gpuaddr; in kgsl_ringbuffer_flush()
182 (*ring->cur++) = target_ring->bo->gpuaddr; in kgsl_ringbuffer_emit_reloc_ring()
Dmsm_kgsl.h133 unsigned int gpuaddr; member
197 unsigned int gpuaddr; member
288 unsigned int gpuaddr; member
328 unsigned int gpuaddr; /*output param */ member
351 unsigned int gpuaddr; member
363 unsigned int gpuaddr; /*output param */ member
373 unsigned int gpuaddr; member
402 unsigned int gpuaddr; member
423 unsigned int gpuaddr; /*output param */ member
462 unsigned long gpuaddr; member
[all …]
Dkgsl_bo.c212 kgsl_bo->gpuaddr = req.gpuaddr; in fd_bo_from_fbdev()
226 if (!kgsl_bo->gpuaddr) { in kgsl_bo_gpuaddr()
244 kgsl_bo->gpuaddr = req.gpuaddr[0]; in kgsl_bo_gpuaddr()
246 return kgsl_bo->gpuaddr + offset; in kgsl_bo_gpuaddr()
Dkgsl_priv.h81 uint32_t gpuaddr; member
Dkgsl_drm.h157 uint32_t gpuaddr[DRM_KGSL_GEM_MAX_BUFFERS]; member
/third_party/mesa3d/src/freedreno/vulkan/
Dmsm_kgsl.h344 unsigned long gpuaddr; member
350 uint64_t gpuaddr; member
355 uint64_t gpuaddr; member
442 unsigned long gpuaddr; member
560 unsigned long gpuaddr; member
603 unsigned long gpuaddr; /*output param */ member
625 unsigned long gpuaddr; member
637 unsigned long gpuaddr; /*output param */ member
647 unsigned long gpuaddr; member
676 unsigned long gpuaddr; member
[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()
/third_party/mesa3d/src/freedreno/afuc/
Demu.c400 check_access(struct emu *emu, uintptr_t gpuaddr, unsigned sz) in check_access() argument
402 if ((gpuaddr % sz) != 0) { in check_access()
403 printf("unaligned access fault: %p\n", (void *)gpuaddr); in check_access()
407 if ((gpuaddr + sz) >= EMU_MEMORY_SIZE) { in check_access()
408 printf("iova fault: %p\n", (void *)gpuaddr); in check_access()
414 emu_mem_read_dword(struct emu *emu, uintptr_t gpuaddr) in emu_mem_read_dword() argument
416 check_access(emu, gpuaddr, 4); in emu_mem_read_dword()
417 return *(uint32_t *)(emu->gpumem + gpuaddr); in emu_mem_read_dword()
421 mem_write_dword(struct emu *emu, uintptr_t gpuaddr, uint32_t val) in mem_write_dword() argument
423 check_access(emu, gpuaddr, 4); in mem_write_dword()
[all …]
Demu.h234 uint32_t emu_mem_read_dword(struct emu *emu, uintptr_t gpuaddr);
235 void emu_mem_write_dword(struct emu *emu, uintptr_t gpuaddr, uint32_t val);
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnve4_compute.c822 struct nv04_resource *res, uint64_t gpuaddr, in nve4_upload_indirect_desc() argument
826 PUSH_DATAh(push, gpuaddr); in nve4_upload_indirect_desc()
827 PUSH_DATA (push, gpuaddr); in nve4_upload_indirect_desc()
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
DdEQP-GLES2.functional.texture.specification.basic_teximage2d.rgba16f_2d.log3728 gpuaddr:0100903c
4415 gpuaddr:0100903c
4468 gpuaddr:0100903c
4521 gpuaddr:0100903c
Dcrash.log1707 gpuaddr:0001000000000038
1744 gpuaddr:0001000000000030
1750 gpuaddr:0001000000000040
Dfd-clouds.log1215 gpuaddr:0000000001d90010
1491 gpuaddr:0000000001d90010
1505 gpuaddr:0000000001d90008
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3650 - freedreno/cffdec: Fix gpuaddr comparision