/third_party/mesa3d/src/freedreno/decode/ |
D | cffdec.c | 197 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 …]
|
D | crashdec.c | 133 popline_ascii85(uint32_t sizedwords) in popline_ascii85() argument 145 uint32_t *buf = calloc(1, 4 * sizedwords); in popline_ascii85() 610 uint32_t sizedwords = 0; in decode_indexed_registers() local 617 parseline(line, " dwords: %u", &sizedwords); in decode_indexed_registers() 619 uint32_t *buf = popline_ascii85(sizedwords); in decode_indexed_registers() 638 dump_hex_ascii(buf, 4 * sizedwords, 1); in decode_indexed_registers() 657 uint32_t sizedwords = 0; in decode_shader_blocks() local 664 parseline(line, " size: %u", &sizedwords); in decode_shader_blocks() 666 uint32_t *buf = popline_ascii85(sizedwords); in decode_shader_blocks() 680 try_disasm_a3xx(buf, sizedwords, 1, stdout, options.gpu_id); in decode_shader_blocks() [all …]
|
D | script.c | 65 uint32_t sizedwords; member 80 if (!rnndec->sizedwords) { in rnn_val() 82 } else if (regbase < rnndec->sizedwords) { in rnn_val() 477 rnndec->sizedwords = 0; in l_rnn_init() 723 script_packet(uint32_t *dwords, uint32_t sizedwords, struct rnn *rnn, in script_packet() argument 743 rnndec->sizedwords = sizedwords; in script_packet() 751 lua_pushnumber(L, sizedwords); in script_packet()
|
D | cffdump.c | 355 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()
|
D | script.h | 54 void script_packet(uint32_t *dwords, uint32_t sizedwords,
|
D | cffdec.h | 93 void dump_commands(uint32_t *dwords, uint32_t sizedwords, int level);
|
/third_party/mesa3d/src/freedreno/common/ |
D | disasm.h | 56 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/ |
D | fd6_const.c | 39 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() 54 .num_unit = DIV_ROUND_UP(sizedwords, 4)), in fd6_emit_const_user() 62 .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() 255 unsigned sizedwords = (4 * packets) + size; in user_consts_cmdstream_size() local 256 ubo_state->cmdstream_size = sizedwords * 4; in user_consts_cmdstream_size()
|
D | fd6_pack.h | 137 #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/ |
D | disasm.c | 712 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 …]
|
D | emu.c | 448 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/ |
D | a4xx.c | 159 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()
|
D | a6xx.c | 230 emit_const(struct fd_ringbuffer *ring, uint32_t regid, uint32_t sizedwords, in emit_const() argument 237 align_sz = align(sizedwords, 4); in emit_const() 244 CP_LOAD_STATE6_0_NUM_UNIT(DIV_ROUND_UP(sizedwords, 4))); in emit_const() 248 for (uint32_t i = 0; i < sizedwords; i++) { in emit_const() 253 for (uint32_t i = sizedwords; i < align_sz; i++) { in emit_const()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_program.c | 73 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()
|
D | ir2_assemble.c | 537 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()
|
D | ir2.h | 54 uint16_t sizedwords; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 60 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() 1163 unsigned sizedwords) in fd5_mem_to_mem() argument 1169 for (i = 0; i < sizedwords; i++) { in fd5_mem_to_mem()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 58 uint32_t sizedwords, const uint32_t *dwords) in fd4_emit_const_user() argument 60 emit_const_asserts(ring, v, regid, sizedwords); in fd4_emit_const_user() 62 OUT_PKT3(ring, CP_LOAD_STATE4, 2 + sizedwords); in fd4_emit_const_user() 66 CP_LOAD_STATE4_0_NUM_UNIT(sizedwords / 4)); in fd4_emit_const_user() 69 for (int i = 0; i < sizedwords; i++) in fd4_emit_const_user() 76 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd4_emit_const_bo() argument 80 uint32_t num_unit = sizedwords / 4; in fd4_emit_const_bo() 83 emit_const_asserts(ring, v, regid, sizedwords); in fd4_emit_const_bo() 1102 unsigned sizedwords) in fd4_mem_to_mem() argument 1108 for (i = 0; i < sizedwords; i++) { in fd4_mem_to_mem()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 62 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/mesa3d/src/freedreno/ir3/ |
D | disasm-a3xx.c | 574 disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, in disasm_a3xx_stat() argument 597 isa_decode(dwords, sizedwords * 4, out, &decode_options); in disasm_a3xx_stat() 639 disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, in disasm_a3xx() argument 643 return disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats); in disasm_a3xx() 647 try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, in try_disasm_a3xx() argument 652 TRY(ret = disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats)); in try_disasm_a3xx()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disasm.h | 38 etna_disasm(uint32_t *dwords, int sizedwords, enum debug_t debug);
|
D | etnaviv_disasm.c | 618 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/libdrm/freedreno/kgsl/ |
D | kgsl_ringbuffer.c | 122 .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/ |
D | ir3_const.h | 67 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/ |
D | freedreno_screen.h | 134 unsigned src_off, unsigned sizedwords);
|