Home
last modified time | relevance | path

Searched refs:num_dw (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h105 unsigned num_dw; member
530 assert(cs->current.cdw + cb->num_dw <= cs->current.max_dw); in r600_emit_command_buffer()
531 memcpy(cs->current.buf + cs->current.cdw, cb->buf, 4 * cb->num_dw); in r600_emit_command_buffer()
532 cs->current.cdw += cb->num_dw; in r600_emit_command_buffer()
574 state->atom.num_dw = cb ? cb->num_dw : 0; in r600_set_cso_state_with_cb()
674 void r600_need_cs_space(struct r600_context *ctx, unsigned num_dw, boolean count_draw_in);
725 unsigned num_dw);
789 cb->buf[cb->num_dw++] = value; in r600_store_value()
794 assert(cb->num_dw+num <= cb->max_num_dw); in r600_store_array()
795 memcpy(&cb->buf[cb->num_dw], ptr, num * sizeof(ptr[0])); in r600_store_array()
[all …]
Dr600_hw_context.c33 void r600_need_cs_space(struct r600_context *ctx, unsigned num_dw, in r600_need_cs_space() argument
58 num_dw += ctx->atoms[u_bit_scan64(&mask)]->num_dw; in r600_need_cs_space()
61 num_dw += R600_MAX_FLUSH_CS_DWORDS + R600_MAX_DRAW_CS_DWORDS; in r600_need_cs_space()
65 num_dw += ctx->b.num_cs_dw_queries_suspend; in r600_need_cs_space()
69 num_dw += ctx->b.streamout.num_dw_for_end; in r600_need_cs_space()
74 num_dw += 3; in r600_need_cs_space()
78 num_dw += R600_MAX_FLUSH_CS_DWORDS; in r600_need_cs_space()
81 num_dw += 10; in r600_need_cs_space()
84 if (!ctx->b.ws->cs_check_space(ctx->b.gfx.cs, num_dw)) { in r600_need_cs_space()
Dr600_state_common.c40 void r600_init_command_buffer(struct r600_command_buffer *cb, unsigned num_dw) in r600_init_command_buffer() argument
43 cb->buf = CALLOC(1, 4 * num_dw); in r600_init_command_buffer()
44 cb->max_num_dw = num_dw; in r600_init_command_buffer()
66 unsigned num_dw) in r600_init_atom() argument
69 atom->num_dw = num_dw; in r600_init_atom()
403 state->atom.num_dw = in r600_sampler_states_dirty()
538 rctx->vertex_buffer_state.atom.num_dw = (rctx->b.chip_class >= EVERGREEN ? 12 : 11) * in r600_vertex_buffers_dirty()
594 state->atom.num_dw = (rctx->b.chip_class >= EVERGREEN ? 14 : 13) * in r600_sampler_views_dirty()
1052 state->atom.num_dw = rctx->b.chip_class >= EVERGREEN ? util_bitcount(state->dirty_mask)*20 in r600_constant_buffers_dirty()
1307 state->atom.num_dw = shader->command_buffer.num_dw; in update_shader_atom()
[all …]
Devergreen_state.c356 memcpy(blend->buffer_no_blend.buf, blend->buffer.buf, blend->buffer.num_dw * 4); in evergreen_create_blend_state_mode()
357 blend->buffer_no_blend.num_dw = blend->buffer.num_dw; in evergreen_create_blend_state_mode()
1379 rctx->framebuffer.atom.num_dw = 4; /* SCISSOR */ in evergreen_set_framebuffer_state()
1383 rctx->framebuffer.atom.num_dw += 17; /* Evergreen */ in evergreen_set_framebuffer_state()
1385 rctx->framebuffer.atom.num_dw += 28; /* Cayman */ in evergreen_set_framebuffer_state()
1388 rctx->framebuffer.atom.num_dw += state->nr_cbufs * 23; in evergreen_set_framebuffer_state()
1389 rctx->framebuffer.atom.num_dw += state->nr_cbufs * 2; in evergreen_set_framebuffer_state()
1390 rctx->framebuffer.atom.num_dw += (12 - state->nr_cbufs) * 3; in evergreen_set_framebuffer_state()
1394 rctx->framebuffer.atom.num_dw += 24; in evergreen_set_framebuffer_state()
1395 rctx->framebuffer.atom.num_dw += 2; in evergreen_set_framebuffer_state()
[all …]
Dr600_state.c374 memcpy(blend->buffer_no_blend.buf, blend->buffer.buf, blend->buffer.num_dw * 4); in r600_create_blend_state_mode()
375 blend->buffer_no_blend.num_dw = blend->buffer.num_dw; in r600_create_blend_state_mode()
1182 rctx->framebuffer.atom.num_dw = in r600_set_framebuffer_state()
1186 rctx->framebuffer.atom.num_dw += 15 * rctx->framebuffer.state.nr_cbufs; in r600_set_framebuffer_state()
1187 rctx->framebuffer.atom.num_dw += 3 * (2 + rctx->framebuffer.state.nr_cbufs); in r600_set_framebuffer_state()
1190 rctx->framebuffer.atom.num_dw += 16; in r600_set_framebuffer_state()
1192 rctx->framebuffer.atom.num_dw += 3; in r600_set_framebuffer_state()
1195 rctx->framebuffer.atom.num_dw += 2; in r600_set_framebuffer_state()
2423 cb->num_dw = 0; in r600_update_ps_state()
Devergreen_compute.c509 …rctx->cs_vertex_buffer_state.atom.num_dw = 12 * util_bitcount(rctx->cs_vertex_buffer_state.dirty_m… in compute_emit_cs()
/external/mesa3d/src/amd/common/
Dac_debug.c141 static uint32_t *ac_parse_packet3(FILE *f, uint32_t *ib, int *num_dw, in ac_parse_packet3() argument
323 *num_dw -= count + 2; in ac_parse_packet3()
340 void ac_parse_ib(FILE *f, uint32_t *ib, int num_dw, int trace_id, in ac_parse_ib() argument
346 while (num_dw > 0) { in ac_parse_ib()
351 ib = ac_parse_packet3(f, ib, &num_dw, trace_id, in ac_parse_ib()
360 num_dw--; in ac_parse_ib()
371 if (num_dw < 0) { in ac_parse_ib()
Dac_debug.h42 void ac_parse_ib(FILE *f, uint32_t *ib, int num_dw, int trace_id,
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_streamout.c91 begin->num_dw = 12; /* flush_vgt_streamout */ in r600_streamout_buffers_dirty()
94 begin->num_dw += num_bufs * 4; /* SET_CONTEXT_REG */ in r600_streamout_buffers_dirty()
96 begin->num_dw += num_bufs * 7; /* SET_CONTEXT_REG */ in r600_streamout_buffers_dirty()
99 begin->num_dw += num_bufs * 5; /* STRMOUT_BASE_UPDATE */ in r600_streamout_buffers_dirty()
102 begin->num_dw += in r600_streamout_buffers_dirty()
380 rctx->streamout.enable_atom.num_dw = 6; in r600_streamout_init()
Dr600_pipe_common.h451 unsigned num_dw; member
523 unsigned num_dw; member
669 void (*need_gfx_cs_space)(struct pipe_context *ctx, unsigned num_dw,
743 void r600_need_dma_space(struct r600_common_context *ctx, unsigned num_dw,
Dr600_query.c1529 atom->num_dw = 0; in r600_render_condition()
1532 atom->num_dw += (qbuf->results_end / rquery->result_size) * 5; in r600_render_condition()
1552 unsigned num_dw = 0; in r600_queries_num_cs_dw_for_resuming() local
1556 num_dw += query->num_cs_dw_begin + query->num_cs_dw_end; in r600_queries_num_cs_dw_for_resuming()
1563 num_dw += query->num_cs_dw_end; in r600_queries_num_cs_dw_for_resuming()
1566 num_dw += ctx->streamout.enable_atom.num_dw; in r600_queries_num_cs_dw_for_resuming()
1568 num_dw += 13; in r600_queries_num_cs_dw_for_resuming()
1570 return num_dw; in r600_queries_num_cs_dw_for_resuming()
Dr600_pipe_common.c242 void r600_need_dma_space(struct r600_common_context *ctx, unsigned num_dw, in r600_need_dma_space() argument
279 num_dw++; /* for emit_wait_idle below */ in r600_need_dma_space()
280 if (!ctx->ws->cs_check_space(ctx->dma.cs, num_dw) || in r600_need_dma_space()
284 assert((num_dw + ctx->dma.cs->current.cdw) <= ctx->dma.cs->current.max_dw); in r600_need_dma_space()
452 saved->num_dw = cs->prev_dw + cs->current.cdw; in radeon_save_cs()
453 saved->ib = MALLOC(4 * saved->num_dw); in radeon_save_cs()
Dradeon_winsys.h755 static inline bool radeon_emitted(struct radeon_winsys_cs *cs, unsigned num_dw) in radeon_emitted() argument
757 return cs && (cs->prev_dw + cs->current.cdw > num_dw); in radeon_emitted()
Dr600_viewport.c428 rctx->scissors.atom.num_dw = (2 + 16 * 2) + 6; in r600_init_viewport_functions()
429 rctx->viewports.atom.num_dw = 2 + 16 * 6; in r600_init_viewport_functions()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c233 ac_parse_ib(f, sctx->last_gfx.ib, sctx->last_gfx.num_dw, in si_dump_last_ib()
520 for (i = 0; i < saved->num_dw; ++i) { in si_dump_dma()
Dsi_state.c3597 static void si_need_gfx_cs_space(struct pipe_context *ctx, unsigned num_dw, in si_need_gfx_cs_space() argument
/external/valgrind/VEX/priv/
Dguest_s390_helpers.c316 ULong hoststfle[S390_NUM_FACILITY_DW], cc, num_dw, i; in s390x_dirtyhelper_STFLE() local
324 num_dw = reg0 + 1; /* number of double words written */ in s390x_dirtyhelper_STFLE()
335 for (i = 0; i < num_dw; ++i) in s390x_dirtyhelper_STFLE()