Home
last modified time | relevance | path

Searched refs:sizedwords (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/freedreno/decode/
Dcffdec.c197 dump_hex(uint32_t *dwords, uint32_t sizedwords, int level) in dump_hex() argument
205 for (i = 0; i < sizedwords; i += 8) { in dump_hex()
212 for (j = 0; (j < 8) && (i + j < sizedwords) && zero; j++) in dump_hex()
241 for (j = 0; (j < 8) && (i + j < sizedwords); j++) { in dump_hex()
250 dump_float(float *dwords, uint32_t sizedwords, int level) in dump_float() argument
253 for (i = 0; i < sizedwords; i++) { in dump_float()
365 dump_gpuaddr_size(uint64_t gpuaddr, int level, int sizedwords, int quietlvl) in dump_gpuaddr_size() argument
374 dump_hex(buf, sizedwords, level + 1); in dump_gpuaddr_size()
437 uint32_t sizedwords = hostlen(gpuaddr) / 4; in disasm_gpuaddr() local
440 dump_hex(buf, min(64, sizedwords), level + 1); in disasm_gpuaddr()
[all …]
Dcrashdec.c167 popline_ascii85(uint32_t sizedwords) in popline_ascii85() argument
179 uint32_t *buf = calloc(1, 4 * sizedwords); in popline_ascii85()
856 uint32_t sizedwords = 0; in decode_indexed_registers() local
863 parseline(line, " dwords: %u", &sizedwords); in decode_indexed_registers()
865 uint32_t *buf = popline_ascii85(sizedwords); in decode_indexed_registers()
884 dump_hex_ascii(buf, 4 * sizedwords, 1); in decode_indexed_registers()
903 uint32_t sizedwords = 0; in decode_shader_blocks() local
910 parseline(line, " size: %u", &sizedwords); in decode_shader_blocks()
912 uint32_t *buf = popline_ascii85(sizedwords); in decode_shader_blocks()
926 try_disasm_a3xx(buf, sizedwords, 1, stdout, options.gpu_id); in decode_shader_blocks()
[all …]
Dscript.c64 uint32_t sizedwords; member
79 if (!rnndec->sizedwords) { in rnn_val()
81 } else if (regbase < rnndec->sizedwords) { in rnn_val()
474 rnndec->sizedwords = 0; in l_rnn_init()
720 script_packet(uint32_t *dwords, uint32_t sizedwords, struct rnn *rnn, in script_packet() argument
740 rnndec->sizedwords = sizedwords; in script_packet()
748 lua_pushnumber(L, sizedwords); in script_packet()
Dcffdump.c355 unsigned int sizedwords; in handle_file() local
357 parse_addr(buf, sz, &sizedwords, &gpuaddr); in handle_file()
359 printl(2, "cmdstream: %d dwords\n", sizedwords); in handle_file()
362 dump_commands(hostptr(gpuaddr), sizedwords, 0); in handle_file()
Dscript.h54 void script_packet(uint32_t *dwords, uint32_t sizedwords,
Dcffdec.h93 void dump_commands(uint32_t *dwords, uint32_t sizedwords, int level);
/third_party/mesa3d/src/freedreno/common/
Ddisasm.h56 int disasm_a2xx(uint32_t *dwords, int sizedwords, int level,
58 int disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out,
60 int disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out,
62 int try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out,
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_const.c39 uint32_t sizedwords, const uint32_t *dwords) in fd6_emit_const_user() argument
41 emit_const_asserts(ring, v, regid, sizedwords); in fd6_emit_const_user()
47 uint32_t align_sz = align(sizedwords, 4); in fd6_emit_const_user()
55 .num_unit = DIV_ROUND_UP(sizedwords, 4)), in fd6_emit_const_user()
63 .num_unit = DIV_ROUND_UP(sizedwords, 4)), in fd6_emit_const_user()
70 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd6_emit_const_bo() argument
74 uint32_t num_unit = DIV_ROUND_UP(sizedwords, 4); in fd6_emit_const_bo()
77 emit_const_asserts(ring, v, regid, sizedwords); in fd6_emit_const_bo()
275 unsigned sizedwords = (4 * packets) + size; in user_consts_cmdstream_size() local
276 ubo_state->cmdstream_size = sizedwords * 4; in user_consts_cmdstream_size()
Dfd6_pack.h137 #define OUT_PKTBUF(ring, opcode, dwords, sizedwords, ...) \ argument
143 count += sizedwords; \
165 memcpy(p, dwords, 4 * sizedwords); \
166 p += sizedwords; \
/third_party/mesa3d/src/freedreno/afuc/
Ddisasm.c712 setup_packet_table(uint32_t *jmptbl, uint32_t sizedwords) in setup_packet_table() argument
716 for (unsigned i = 0; i < sizedwords; i++) { in setup_packet_table()
724 setup_labels(uint32_t *instrs, uint32_t sizedwords) in setup_labels() argument
731 for (unsigned i = 0; i < sizedwords; i++) { in setup_labels()
763 uint32_t sizedwords = emu->sizedwords; in disasm() local
785 sizedwords = lpac_offset; in disasm()
789 setup_labels(emu->instrs, emu->sizedwords); in disasm()
804 for (int i = 0; i < sizedwords; i++) { in disasm()
819 emu->sizedwords -= lpac_offset; in disasm()
825 setup_labels(emu->instrs, emu->sizedwords); in disasm()
[all …]
Demu.c448 for (unsigned i = 0; i < emu->sizedwords; i++) { in emu_init()
473 unsigned sizedwords = emu->sizedwords; in emu_fini() local
480 emu->sizedwords = sizedwords; in emu_fini()
/third_party/mesa3d/src/freedreno/computerator/
Da4xx.c159 emit_const(struct fd_ringbuffer *ring, struct kernel *kernel, uint32_t constid, uint32_t sizedwords, in emit_const() argument
167 struct fd_bo **replacements = calloc(sizedwords, sizeof(struct fd_bo *)); in emit_const()
171 assert(idx < sizedwords); in emit_const()
177 align_sz = align(sizedwords, 4); in emit_const()
183 CP_LOAD_STATE4_0_NUM_UNIT(DIV_ROUND_UP(sizedwords, 4))); in emit_const()
186 for (unsigned i = 0; i < sizedwords; i++) { in emit_const()
194 for (uint32_t i = sizedwords; i < align_sz; i++) { in emit_const()
Da6xx.c211 emit_const(struct fd_ringbuffer *ring, uint32_t regid, uint32_t sizedwords, in emit_const() argument
218 align_sz = align(sizedwords, 4); in emit_const()
225 CP_LOAD_STATE6_0_NUM_UNIT(DIV_ROUND_UP(sizedwords, 4))); in emit_const()
229 for (uint32_t i = 0; i < sizedwords; i++) { in emit_const()
234 for (uint32_t i = sizedwords; i < align_sz; i++) { in emit_const()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_program.c73 assert(info->sizedwords); in emit()
75 OUT_PKT3(ring, CP_IM_LOAD_IMMEDIATE, 2 + info->sizedwords); in emit()
77 OUT_RING(ring, info->sizedwords); in emit()
83 for (i = 0; i < info->sizedwords; i++) in emit()
224 if (!vp->variant[variant].info.sizedwords) { in fd2_program_emit()
Dir2_assemble.c537 uint32_t sizedwords = cfdwords + alufetchdwords; in assemble() local
538 uint32_t *dwords = malloc(sizedwords * 4); in assemble()
545 ctx->info->sizedwords = sizedwords; in assemble()
551 disasm_a2xx(dwords, sizedwords, 0, ctx->so->type); in assemble()
Dir2.h54 uint16_t sizedwords; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c57 uint32_t sizedwords, const uint32_t *dwords) in fd4_emit_const_user() argument
59 emit_const_asserts(ring, v, regid, sizedwords); in fd4_emit_const_user()
61 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + sizedwords); in fd4_emit_const_user()
65 CP_LOAD_STATE4_0_NUM_UNIT(sizedwords / 4)); in fd4_emit_const_user()
68 for (int i = 0; i < sizedwords; i++) in fd4_emit_const_user()
75 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd4_emit_const_bo() argument
79 uint32_t num_unit = sizedwords / 4; in fd4_emit_const_bo()
82 emit_const_asserts(ring, v, regid, sizedwords); in fd4_emit_const_bo()
927 unsigned sizedwords) in fd4_mem_to_mem() argument
933 for (i = 0; i < sizedwords; i++) { in fd4_mem_to_mem()
/third_party/mesa3d/src/freedreno/ir3/
Ddisasm-a3xx.c525 disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, in disasm_a3xx_stat() argument
548 isa_decode(dwords, sizedwords * 4, out, &decode_options); in disasm_a3xx_stat()
590 disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, in disasm_a3xx() argument
594 return disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats); in disasm_a3xx()
598 try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, in try_disasm_a3xx() argument
603 TRY(ret = disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats)); in try_disasm_a3xx()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disasm.h38 etna_disasm(uint32_t *dwords, int sizedwords, enum debug_t debug);
Detnaviv_disasm.c618 etna_disasm(uint32_t *dwords, int sizedwords, enum debug_t debug) in etna_disasm() argument
622 assert((sizedwords % 2) == 0); in etna_disasm()
624 for (i = 0; i < sizedwords; i += 4) in etna_disasm()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c60 uint32_t sizedwords, const uint32_t *dwords) in fd5_emit_const_user() argument
62 emit_const_asserts(ring, v, regid, sizedwords); in fd5_emit_const_user()
64 OUT_PKT7(ring, CP_LOAD_STATE4, 3 + sizedwords); in fd5_emit_const_user()
68 CP_LOAD_STATE4_0_NUM_UNIT(sizedwords / 4)); in fd5_emit_const_user()
72 for (int i = 0; i < sizedwords; i++) in fd5_emit_const_user()
79 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd5_emit_const_bo() argument
83 uint32_t num_unit = sizedwords / 4; in fd5_emit_const_bo()
86 emit_const_asserts(ring, v, regid, sizedwords); in fd5_emit_const_bo()
1171 unsigned sizedwords) in fd5_mem_to_mem() argument
1177 for (i = 0; i < sizedwords; i++) { in fd5_mem_to_mem()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c62 uint32_t sizedwords, const uint32_t *dwords) in fd3_emit_const_user() argument
64 emit_const_asserts(ring, v, regid, sizedwords); in fd3_emit_const_user()
66 OUT_PKT3(ring, CP_LOAD_STATE, 2 + sizedwords); in fd3_emit_const_user()
70 CP_LOAD_STATE_0_NUM_UNIT(sizedwords / 2)); in fd3_emit_const_user()
73 for (int i = 0; i < sizedwords; i++) in fd3_emit_const_user()
80 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd3_emit_const_bo() argument
88 uint32_t num_unit = sizedwords / 2; in fd3_emit_const_bo()
91 emit_const_asserts(ring, v, regid, sizedwords); in fd3_emit_const_bo()
/third_party/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c122 .sizedwords = ring->cur - last_start, in kgsl_ringbuffer_flush()
145 ibdesc.sizedwords = 0x145; in kgsl_ringbuffer_flush()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h67 uint32_t sizedwords) in emit_const_asserts() argument
70 assert((sizedwords % 4) == 0); in emit_const_asserts()
71 assert(regid + sizedwords <= v->constlen * 4); in emit_const_asserts()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h134 unsigned src_off, unsigned sizedwords);

12