/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_pm4.c | 32 state->last_pm4 = state->ndw++; in si_pm4_cmd_begin() 37 state->pm4[state->ndw++] = dw; in si_pm4_cmd_add() 43 count = state->ndw - state->last_pm4 - 2; in si_pm4_cmd_end() 47 assert(state->ndw <= SI_PM4_MAX_DW); in si_pm4_cmd_end() 106 state->ndw = 0; in si_pm4_clear_state() 134 radeon_emit_array(cs, state->pm4, state->ndw); in si_pm4_emit() 159 unsigned aligned_ndw = align(state->ndw, 8); in si_pm4_upload_indirect_buffer() 165 assert(state->ndw); in si_pm4_upload_indirect_buffer() 179 for (int i = state->ndw; i < aligned_ndw; i++) in si_pm4_upload_indirect_buffer() 182 for (int i = state->ndw; i < aligned_ndw; i++) in si_pm4_upload_indirect_buffer()
|
D | si_pm4.h | 46 unsigned ndw; member
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_core.cpp | 120 bc_dump(*sh, bc->bytecode, bc->ndw).run(); in r600_sb_bytecode_process() 129 sh->src_stats.ndw = bc->ndw; in r600_sb_bytecode_process() 259 bc->ndw = nbc.ndw(); in r600_sb_bytecode_process() 260 bc->bytecode = (uint32_t*) malloc(bc->ndw << 2); in r600_sb_bytecode_process() 275 sh->opt_stats.ndw = bc->ndw; in r600_sb_bytecode_process()
|
D | sb_bc_dump.cpp | 417 s << "===== " << ndw << " dw ===== " << sh.ngpr in init() 442 vpass(s), bc_data(), ndw(), id(), in bc_dump() 447 ndw = bc->ndw(); in bc_dump() 535 assert(dw_id + count <= ndw); in dump_dw()
|
D | sb_bc.h | 593 unsigned ndw; member 606 shader_stats() : ndw(), ngpr(), nstack(), cf(), alu(), alu_clauses(), in shader_stats() 746 unsigned ndw; variable 751 : ctx(sctx), dw(data), ndw(size) {} in bc_decoder() 904 unsigned ndw() { return bc.size(); } in ndw() function 934 if (pos == ndw()) {
|
D | sb_bc_decoder.cpp | 35 assert(i+1 <= ndw); in decode_cf() 114 assert(i <= ndw); in decode_cf_alu() 179 assert(i <= ndw); in decode_cf_exp() 233 assert(i <= ndw); in decode_cf_mem() 294 assert(i <= ndw); in decode_alu() 409 assert(i + 4 <= ndw); in decode_fetch() 503 assert(i <= ndw); in decode_fetch_gds() 537 assert(i <= ndw); in decode_fetch_vtx()
|
D | sb_bc_builder.cpp | 71 bb.seek(bb.ndw()); in build() 72 cf->bc.addr = bb.ndw() >> 1; in build() 74 cf->bc.count = (bb.ndw() >> 1) - cf->bc.addr - 1; in build() 77 bb.seek(bb.ndw()); in build() 78 cf->bc.addr = bb.ndw() >> 1; in build() 80 cf->bc.count = (((bb.ndw() >> 1) - cf->bc.addr) >> 1) - 1; in build() 122 bb.seek(bb.ndw()); in build_alu_group()
|
D | sb_shader.cpp | 640 ndw += s.ndw; in accumulate() 653 sblog << "dw:" << ndw << ", gpr:" << ngpr << ", stk:" << nstack in dump() 675 sblog << "dw:"; print_diff(ndw, s.ndw); in dump_diff()
|
D | sb_pass.h | 91 unsigned ndw; variable 101 bc_dump(shader &s, uint32_t *bc_ptr, unsigned ndw) : in bc_dump() argument 102 vpass(s), bc_data(bc_ptr), ndw(ndw), id(), new_group(), group_index() {} in bc_dump()
|
/external/libdrm/radeon/ |
D | radeon_cs.c | 7 radeon_cs_create(struct radeon_cs_manager *csm, uint32_t ndw) in radeon_cs_create() argument 9 struct radeon_cs_int *csi = csm->funcs->cs_create(csm, ndw); in radeon_cs_create() 28 radeon_cs_begin(struct radeon_cs *cs, uint32_t ndw, in radeon_cs_begin() argument 32 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin()
|
D | radeon_cs_int.h | 16 unsigned ndw; member 37 uint32_t ndw); 44 uint32_t ndw,
|
D | radeon_cs_gem.c | 126 uint32_t ndw) in cs_gem_create() argument 131 if (ndw > (64 * 1024 / 4)) { in cs_gem_create() 139 csg->base.ndw = 64 * 1024 / 4; in cs_gem_create() 277 uint32_t ndw, in cs_gem_begin() argument 290 cs->section_ndw = ndw; in cs_gem_begin() 296 if (cs->cdw + ndw > cs->ndw) { in cs_gem_begin() 300 tmp = (cs->cdw + ndw + 0x3FF) & (~0x3FF); in cs_gem_begin() 306 cs->ndw = tmp; in cs_gem_begin()
|
D | radeon_cs.h | 56 unsigned ndw; member 66 uint32_t ndw); 69 uint32_t ndw,
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 176 bc->ndw += 2; in r600_bytecode_add_cf() 181 bc->ndw += 2; in r600_bytecode_add_cf() 906 bc->cf_last->ndw -= align(prev_nliteral, 2); in merge_inst_groups() 1125 if ((bc->cf_last->ndw>>1) >= 110) in load_ar_r6xx() 1156 if ((bc->cf_last->ndw>>1) >= 110) in load_ar() 1252 bc->cf_last->ndw += 2; in r600_bytecode_add_alu_type() 1253 bc->ndw += 2; in r600_bytecode_add_alu_type() 1288 bc->cf_last->ndw += align(nliteral, 2); in r600_bytecode_add_alu_type() 1292 if ((bc->cf_last->ndw >> 1) >= 120) { in r600_bytecode_add_alu_type() 1384 bc->cf_last->ndw += 4; in r600_bytecode_add_vtx_internal() [all …]
|
D | r600_asm.h | 178 unsigned ndw; member 245 unsigned ndw; member
|
D | eg_asm.c | 70 S_SQ_CF_ALU_WORD1_COUNT((cf->ndw / 2) - 1); in eg_bytecode_cf_build() 77 S_SQ_CF_WORD1_COUNT((cf->ndw / 4) - 1); in eg_bytecode_cf_build()
|
D | r700_asm.c | 28 unsigned count = (cf->ndw / 4) - 1; in r700_bytecode_cf_vtx_build()
|
D | evergreen_compute.c | 393 bc->ndw = binary->code_size / 4; in r600_create_shader() 439 shader->bc.ndw * 4); in evergreen_create_compute_state() 442 memcpy(p, shader->bc.bytecode, shader->bc.ndw * 4); in evergreen_create_compute_state()
|
/external/virglrenderer/src/ |
D | virglrenderer.c | 98 int ndw) in virgl_renderer_submit_cmd() argument 100 return vrend_decode_block(ctx_id, buffer, ndw); in virgl_renderer_submit_cmd()
|
D | virglrenderer.h | 123 int ndw);
|
D | vrend_renderer.h | 299 int vrend_decode_block(uint32_t ctx_id, uint32_t *block, int ndw);
|
/external/libdrm/tests/amdgpu/ |
D | vcn_tests.c | 147 static int submit(unsigned ndw, unsigned ip) in submit() argument 156 ib_info.size = ndw; in submit()
|
D | cs_tests.c | 149 static int submit(unsigned ndw, unsigned ip) in submit() argument 158 ib_info.size = ndw; in submit()
|
D | uvd_enc_tests.c | 153 static int submit(unsigned ndw, unsigned ip) in submit() argument 162 ib_info.size = ndw; in submit()
|
D | vce_tests.c | 162 static int submit(unsigned ndw, unsigned ip) in submit() argument 171 ib_info.size = ndw; in submit()
|