Home
last modified time | relevance | path

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

12

/external/mesa3d/src/freedreno/decode/
Dcffdec.c196 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 …]
Dcrashdec.c155 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 …]
Dcffdump.c343 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()
Dscript.c61 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()
Dscript.h55 void script_packet(uint32_t *dwords, uint32_t sizedwords,
Dcffdec.h88 void dump_commands(uint32_t *dwords, uint32_t sizedwords, int level);
/external/mesa3d/src/freedreno/common/
Ddisasm.h53 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/
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()
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()
Dfd6_pack.h148 #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/
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()
82 for (i = 0; i < info->sizedwords; i++) in emit()
222 if (!vp->variant[variant].info.sizedwords) { in fd2_program_emit()
Dir2_assemble.c532 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()
Dir2.h54 uint16_t sizedwords; member
/external/mesa3d/src/freedreno/ir3/
Dir3_disk_cache.c129 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()
Ddisasm-a3xx.c1616 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/freedreno/computerator/
Da6xx.c187 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()
Dir3_asm.c45 unsigned sz = v->info.sizedwords * 4; in ir3_asm_assemble()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c56 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/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c59 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/
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()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c62 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/
Dkgsl_ringbuffer.c122 .sizedwords = ring->cur - last_start, in kgsl_ringbuffer_flush()
145 ibdesc.sizedwords = 0x145; in kgsl_ringbuffer_flush()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.c63 v->info.sizedwords, in dump_shader_info()
89 unsigned sz = v->info.sizedwords * 4; in upload_shader_variant()
Dir3_const.h67 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/
Dfreedreno_screen.h109 unsigned sizedwords);

12