Home
last modified time | relevance | path

Searched refs:ndw (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pm4.c38 state->last_pm4 = state->ndw++; in si_pm4_cmd_begin()
43 state->pm4[state->ndw++] = dw; in si_pm4_cmd_add()
49 count = state->ndw - state->last_pm4 - 2; in si_pm4_cmd_end()
53 assert(state->ndw <= SI_PM4_MAX_DW); in si_pm4_cmd_end()
114 if (state->ndw == offs) { in si_pm4_sh_data_end()
115 state->ndw--; in si_pm4_sh_data_end()
123 state->relocs[state->nrelocs++] = state->ndw; in si_pm4_sh_data_end()
199 count += state->ndw; in si_pm4_dirty_dw()
213 memcpy(&cs->buf[cs->cdw], state->pm4, state->ndw * 4); in si_pm4_emit()
219 cs->cdw += state->ndw; in si_pm4_emit()
Dradeonsi_pm4.h50 unsigned ndw; member
/external/libdrm/radeon/
Dradeon_cs_int.h16 unsigned ndw; member
37 uint32_t ndw);
44 uint32_t ndw,
Dradeon_cs.c10 radeon_cs_create(struct radeon_cs_manager *csm, uint32_t ndw) in radeon_cs_create() argument
12 struct radeon_cs_int *csi = csm->funcs->cs_create(csm, ndw); in radeon_cs_create()
31 radeon_cs_begin(struct radeon_cs *cs, uint32_t ndw, in radeon_cs_begin() argument
35 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin()
Dradeon_cs_gem.c126 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()
Dradeon_cs.h56 unsigned ndw; member
66 uint32_t ndw);
69 uint32_t ndw,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c284 bc->ndw += 2; in r600_bytecode_add_cf()
289 bc->ndw += 2; in r600_bytecode_add_cf()
1173 bc->cf_last->ndw -= align(prev_nliteral, 2); in merge_inst_groups()
1385 if ((bc->cf_last->ndw>>1) >= 110) in load_ar_r6xx()
1415 if ((bc->cf_last->ndw>>1) >= 110) in load_ar()
1497 bc->cf_last->ndw += 2; in r600_bytecode_add_alu_type()
1498 bc->ndw += 2; in r600_bytecode_add_alu_type()
1533 bc->cf_last->ndw += align(nliteral, 2); in r600_bytecode_add_alu_type()
1537 if ((bc->cf_last->ndw >> 1) >= 120) { in r600_bytecode_add_alu_type()
1627 bc->cf_last->ndw += 4; in r600_bytecode_add_vtx()
[all …]
Dr600_asm.h155 unsigned ndw; member
204 unsigned ndw; member
Deg_asm.c65 S_SQ_CF_ALU_WORD1_COUNT((cf->ndw / 2) - 1); in eg_bytecode_cf_build()
72 S_SQ_CF_WORD1_COUNT((cf->ndw / 4) - 1); in eg_bytecode_cf_build()
Dr700_asm.c28 unsigned count = (cf->ndw / 4) - 1; in r700_bytecode_cf_vtx_build()
Devergreen_compute.c150 shader->bc.ndw * 4); in evergreen_create_compute_state()
155 memcpy(p, shader->bc.bytecode, shader->bc.ndw * 4); in evergreen_create_compute_state()
Dr600_shader.c70 pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, PIPE_USAGE_IMMUTABLE, rshader->bc.ndw * 4); in r600_pipe_shader()
76 for (i = 0; i < rshader->bc.ndw; ++i) { in r600_pipe_shader()
80 memcpy(ptr, rshader->bc.bytecode, rshader->bc.ndw * sizeof(*ptr)); in r600_pipe_shader()