/external/mesa3d/src/freedreno/decode/ |
D | cffdec.c | 196 dump_hex(uint32_t *dwords, uint32_t sizedwords, int level) in dump_hex() argument 204 for (i = 0; i < sizedwords; i += 8) { in dump_hex() 211 for (j = 0; (j < 8) && (i+j < sizedwords) && zero; j++) in dump_hex() 240 for (j = 0; (j < 8) && (i+j < sizedwords); j++) { in dump_hex() 249 dump_float(float *dwords, uint32_t sizedwords, int level) in dump_float() argument 252 for (i = 0; i < sizedwords; i++) { in dump_float() 358 dump_gpuaddr_size(uint64_t gpuaddr, int level, int sizedwords, int quietlvl) in dump_gpuaddr_size() argument 367 dump_hex(buf, sizedwords, level+1); in dump_gpuaddr_size() 425 uint32_t sizedwords = hostlen(gpuaddr) / 4; in disasm_gpuaddr() local 428 dump_hex(buf, min(64, sizedwords), level+1); in disasm_gpuaddr() [all …]
|
D | crashdec.c | 155 popline_ascii85(uint32_t sizedwords) in popline_ascii85() argument 167 uint32_t *buf = calloc(1, 4 * sizedwords); in popline_ascii85() 830 uint32_t sizedwords = 0; in decode_indexed_registers() local 837 parseline(line, " dwords: %u", &sizedwords); in decode_indexed_registers() 839 uint32_t *buf = popline_ascii85(sizedwords); in decode_indexed_registers() 860 dump_hex_ascii(buf, 4 * sizedwords, 1); in decode_indexed_registers() 879 uint32_t sizedwords = 0; in decode_shader_blocks() local 886 parseline(line, " size: %u", &sizedwords); in decode_shader_blocks() 888 uint32_t *buf = popline_ascii85(sizedwords); in decode_shader_blocks() 904 try_disasm_a3xx(buf, sizedwords, 1, stdout, options.gpu_id); in decode_shader_blocks() [all …]
|
D | script.c | 61 uint32_t sizedwords; member 74 if (!rnndec->sizedwords) { in rnn_val() 76 } else if (regbase < rnndec->sizedwords) { in rnn_val() 456 rnndec->sizedwords = 0; in l_rnn_init() 693 void script_packet(uint32_t *dwords, uint32_t sizedwords, in script_packet() argument 713 rnndec->sizedwords = sizedwords; in script_packet() 721 lua_pushnumber(L, sizedwords); in script_packet()
|
D | cffdump.c | 343 unsigned int sizedwords; in handle_file() local 345 parse_addr(buf, sz, &sizedwords, &gpuaddr); in handle_file() 347 printl(2, "cmdstream: %d dwords\n", sizedwords); in handle_file() 350 dump_commands(hostptr(gpuaddr), sizedwords, 0); in handle_file()
|
D | script.h | 55 void script_packet(uint32_t *dwords, uint32_t sizedwords,
|
D | cffdec.h | 88 void dump_commands(uint32_t *dwords, uint32_t sizedwords, int level);
|
/external/mesa3d/src/freedreno/common/ |
D | disasm.h | 53 int disasm_a2xx(uint32_t *dwords, int sizedwords, int level, gl_shader_stage type); 54 int disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id); 55 int disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, 57 int try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id);
|
/external/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() 56 .num_unit = DIV_ROUND_UP(sizedwords, 4) in fd6_emit_const_user() 68 .num_unit = DIV_ROUND_UP(sizedwords, 4) in fd6_emit_const_user() 78 uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd6_emit_const_bo() argument 82 uint32_t num_unit = DIV_ROUND_UP(sizedwords, 4); in fd6_emit_const_bo() 85 emit_const_asserts(ring, v, regid, sizedwords); in fd6_emit_const_bo() 296 unsigned sizedwords = (4 * packets) + size; in user_consts_cmdstream_size() local 297 ubo_state->cmdstream_size = sizedwords * 4; in user_consts_cmdstream_size()
|
D | fd6_pack.h | 148 #define OUT_PKTBUF(ring, opcode, dwords, sizedwords, ...) \ argument 154 count += sizedwords; \ 179 memcpy(p, dwords, 4 * sizedwords); \ 180 p += sizedwords; \
|
/external/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() 82 for (i = 0; i < info->sizedwords; i++) in emit() 222 if (!vp->variant[variant].info.sizedwords) { in fd2_program_emit()
|
D | ir2_assemble.c | 532 uint32_t sizedwords = cfdwords + alufetchdwords; in assemble() local 533 uint32_t *dwords = malloc(sizedwords * 4); in assemble() 540 ctx->info->sizedwords = sizedwords; in assemble() 546 disasm_a2xx(dwords, sizedwords, 0, ctx->so->type); in assemble()
|
D | ir2.h | 54 uint16_t sizedwords; member
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 129 v->bin = rzalloc_size(v, 4 * v->info.sizedwords); in retrieve_variant() 130 blob_copy_bytes(blob, v->bin, 4 * v->info.sizedwords); in retrieve_variant() 150 blob_write_bytes(blob, v->bin, 4 * v->info.sizedwords); in store_variant()
|
D | disasm-a3xx.c | 1616 int disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, in disasm_a3xx_stat() argument 1624 ir3_assert((sizedwords % 2) == 0); in disasm_a3xx_stat() 1638 for (i = 0; i < sizedwords; i += 2) { in disasm_a3xx_stat() 1686 int disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id) in disasm_a3xx() argument 1689 return disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats); in disasm_a3xx() 1692 int try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id) in try_disasm_a3xx() argument 1696 TRY(ret = disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats)); in try_disasm_a3xx()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 56 const struct ir3_shader_variant *v, uint32_t regid, uint32_t sizedwords, 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() 74 uint32_t regid, uint32_t offset, uint32_t sizedwords, 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() 926 unsigned sizedwords) in fd4_mem_to_mem() argument 932 for (i = 0; i < sizedwords; i++) { in fd4_mem_to_mem()
|
/external/mesa3d/src/freedreno/computerator/ |
D | a6xx.c | 187 uint32_t sizedwords, const uint32_t *dwords) in emit_const() argument 193 align_sz = align(sizedwords, 4); in emit_const() 200 CP_LOAD_STATE6_0_NUM_UNIT(DIV_ROUND_UP(sizedwords, 4))); in emit_const() 204 for (uint32_t i = 0; i < sizedwords; i++) { in emit_const() 209 for (uint32_t i = sizedwords; i < align_sz; i++) { in emit_const()
|
D | ir3_asm.c | 45 unsigned sz = v->info.sizedwords * 4; in ir3_asm_assemble()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 59 const struct ir3_shader_variant *v, uint32_t regid, uint32_t sizedwords, 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() 78 uint32_t regid, uint32_t offset, uint32_t sizedwords, struct fd_bo *bo) in fd5_emit_const_bo() argument 82 uint32_t num_unit = sizedwords / 4; in fd5_emit_const_bo() 85 emit_const_asserts(ring, v, regid, sizedwords); in fd5_emit_const_bo() 1123 unsigned sizedwords) in fd5_mem_to_mem() argument 1129 for (i = 0; i < sizedwords; i++) { in fd5_mem_to_mem()
|
/external/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 62 uint32_t regid, 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() 79 uint32_t regid, uint32_t offset, uint32_t sizedwords, 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()
|
/external/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.c | 63 v->info.sizedwords, in dump_shader_info() 89 unsigned sz = v->info.sizedwords * 4; in upload_shader_variant()
|
D | ir3_const.h | 67 uint32_t regid, 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()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_screen.h | 109 unsigned sizedwords);
|