Home
last modified time | relevance | path

Searched refs:gds (Results 1 - 25 of 29) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
H A Deg_asm.c226 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id) in eg_bytecode_gds_build() argument
228 unsigned gds_op = (r600_isa_fetch_opcode(bc->isa->hw_class, gds->op) >> 8) & 0x3f; in eg_bytecode_gds_build()
230 if (gds->op == FETCH_OP_TF_WRITE) { in eg_bytecode_gds_build()
237 S_SQ_MEM_GDS_WORD0_SRC_GPR(gds->src_gpr) | in eg_bytecode_gds_build()
238 S_SQ_MEM_GDS_WORD0_SRC_REL(gds->src_rel) | in eg_bytecode_gds_build()
239 S_SQ_MEM_GDS_WORD0_SRC_SEL_X(gds->src_sel_x) | in eg_bytecode_gds_build()
240 S_SQ_MEM_GDS_WORD0_SRC_SEL_Y(gds->src_sel_y) | in eg_bytecode_gds_build()
241 S_SQ_MEM_GDS_WORD0_SRC_SEL_Z(gds->src_sel_z); in eg_bytecode_gds_build()
243 bc->bytecode[id++] = S_SQ_MEM_GDS_WORD1_DST_GPR(gds->dst_gpr) | in eg_bytecode_gds_build()
244 S_SQ_MEM_GDS_WORD1_DST_REL(gds in eg_bytecode_gds_build()
[all...]
H A Dr600_asm.c61 list_inithead(&cf->gds); in r600_bytecode_cf()
97 struct r600_bytecode_gds *gds = CALLOC_STRUCT(r600_bytecode_gds); in r600_bytecode_gds() local
99 if (gds == NULL) in r600_bytecode_gds()
101 list_inithead(&gds->list); in r600_bytecode_gds()
102 return gds; in r600_bytecode_gds()
1580 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) in r600_bytecode_add_gds() argument
1587 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds)); in r600_bytecode_add_gds()
1590 if (gds->uav_index_mode) in r600_bytecode_add_gds()
1591 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false); in r600_bytecode_add_gds()
1605 list_addtail(&ngds->list, &bc->cf_last->gds); in r600_bytecode_add_gds()
1832 struct r600_bytecode_gds *gds; r600_bytecode_build() local
1953 struct r600_bytecode_gds *gds = NULL, *next_gds; r600_bytecode_clear() local
2177 struct r600_bytecode_gds *gds = NULL; r600_bytecode_disasm() local
[all...]
H A Dr600_asm.h210 struct list_head gds; member
294 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id);
312 const struct r600_bytecode_gds *gds);
H A Dr600_gpu_load.c92 UPDATE_COUNTER(gds, GDS_BUSY); in r600_update_mmio_counters()
215 return BUSY_INDEX(rscreen, gds); in busy_index_from_type()
H A Dr600_shader.c3339 struct r600_bytecode_gds gds; in r600_emit_tess_factor() local
3341 memset(&gds, 0, sizeof(struct r600_bytecode_gds)); in r600_emit_tess_factor()
3342 gds.src_gpr = treg[i / 2]; in r600_emit_tess_factor()
3343 gds.src_sel_x = 2 * (i % 2); in r600_emit_tess_factor()
3344 gds.src_sel_y = 1 + (2 * (i % 2)); in r600_emit_tess_factor()
3345 gds.src_sel_z = 4; in r600_emit_tess_factor()
3346 gds.dst_sel_x = 7; in r600_emit_tess_factor()
3347 gds.dst_sel_y = 7; in r600_emit_tess_factor()
3348 gds.dst_sel_z = 7; in r600_emit_tess_factor()
3349 gds in r600_emit_tess_factor()
8726 struct r600_bytecode_gds gds; tgsi_load_gds() local
9406 struct r600_bytecode_gds gds; tgsi_atomic_op_gds() local
[all...]
H A Dr600_pipe_common.h295 struct r600_mmio_counter gds; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_assembler.cpp713 struct r600_bytecode_gds gds; in visit() local
717 memset(&gds, 0, sizeof(struct r600_bytecode_gds)); in visit()
718 gds.src_gpr = value.sel(); in visit()
719 gds.src_sel_x = value[0]->chan(); in visit()
720 gds.src_sel_y = value[1]->chan(); in visit()
721 gds.src_sel_z = 4; in visit()
722 gds.dst_sel_x = 7; in visit()
723 gds.dst_sel_y = 7; in visit()
724 gds.dst_sel_z = 7; in visit()
725 gds in visit()
754 struct r600_bytecode_gds gds; visit() local
921 struct r600_bytecode_gds gds; visit() local
[all...]
H A Dsfn_instr.h160 gds, enumerator
H A Dsfn_scheduler.cpp622 if (m_current_block->type() != Block::gds || was_full) { in schedule_gds()
623 start_new_block(out_blocks, Block::gds); in schedule_gds()
H A Dsfn_instr.cpp265 case gds: in set_type()
/third_party/lame/libmp3lame/
H A Dpsymodel.c410 PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->s; in convert_partition2scalefac_s() local
413 convert_partition2scalefac(gds, eb, thr, enn, thm); in convert_partition2scalefac_s()
436 PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->l_to_s; in convert_partition2scalefac_l_to_s() local
439 convert_partition2scalefac(gds, eb, thr, enn, thm); in convert_partition2scalefac_l_to_s()
972 PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->s; in vbrpsy_calc_mask_index_s() local
983 assert((gds->numlines[b] + gds->numlines[b + 1] - 1) > 0); in vbrpsy_calc_mask_index_s()
985 / (a * (gds->numlines[b] + gds->numlines[b + 1] - 1)); in vbrpsy_calc_mask_index_s()
995 for (b = 1; b < gds in vbrpsy_calc_mask_index_s()
1046 PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->s; vbrpsy_compute_masking_s() local
1418 PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->s; L3psycho_anal_vbr() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_bc_dump.cpp480 unsigned gds = n.bc.op_ptr->flags & FF_GDS; in dump() local
481 bool gds_has_ret = gds && n.bc.op >= FETCH_OP_GDS_ADD_RET && in dump()
483 bool show_dst = !gds || (gds && gds_has_ret); in dump()
502 unsigned num_src_comp = gds ? 3 : vtx ? ctx.is_cayman() ? 2 : 1 : 4; in dump()
511 if (!gds) in dump()
514 if (gds) { in dump()
H A Dsb_bc_parser.cpp661 unsigned gds = flags & FF_GDS; in prepare_fetch_clause() local
662 unsigned num_src = gds ? 2 : vtx ? ctx.vtx_src_num : 4; in prepare_fetch_clause()
666 if (gds) { in prepare_fetch_clause()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_gpu_load.c89 UPDATE_COUNTER(gds, GDS_BUSY); in si_update_mmio_counters()
226 return BUSY_INDEX(sscreen, gds); in busy_index_from_type()
H A Dsi_gfx_cs.c212 if (sctx->screen->gds) { in si_add_gds_to_buffer_list()
213 sctx->ws->cs_add_buffer(&sctx->gfx_cs, sctx->screen->gds, RADEON_USAGE_READWRITE, 0); in si_add_gds_to_buffer_list()
224 if (sctx->screen->gds && sctx->screen->gds_oa) in si_allocate_gds()
231 if (!sctx->screen->gds) in si_allocate_gds()
232 sctx->screen->gds = ws->buffer_create(ws, 256, 4, RADEON_DOMAIN_GDS, RADEON_FLAG_DRIVER_INTERNAL); in si_allocate_gds()
237 assert(sctx->screen->gds && sctx->screen->gds_oa); in si_allocate_gds()
H A Dsi_pipe.h506 struct si_mmio_counter gds; member
709 struct pb_buffer *gds; member
H A Dsi_pipe.c977 radeon_bo_reference(sscreen->ws, &sscreen->gds, NULL); in si_destroy_screen()
/third_party/mesa3d/src/amd/compiler/
H A Daco_insert_waitcnt.cpp293 (it->second.events & lgkm_events) == (instr->ds().gds ? event_gds : event_lds)) in check_instr()
670 update_counters(ctx, ds.gds ? event_gds : event_lds, ds.sync); in gen()
671 if (ds.gds) in gen()
675 insert_wait_entry(ctx, instr->definitions[0], ds.gds ? event_gds : event_lds); in gen()
677 if (ds.gds) { in gen()
H A Daco_opt_value_numbering.cpp249 return aD.sync == bD.sync && aD.pass_flags == bD.pass_flags && aD.gds == bD.gds && in operator ()()
H A Daco_statistics.cpp138 return instr->ds().gds ? perf_info{0, WAIT_USE(export_gds, 1)} in get_perf_info()
167 return instr->ds().gds ? perf_info{4, WAIT_USE(export_gds, 4)} in get_perf_info()
H A Daco_assembler.cpp355 encoding |= (ds.gds ? 1 : 0) << 16; in emit_instruction()
358 encoding |= (ds.gds ? 1 : 0) << 17; in emit_instruction()
H A Daco_insert_NOPs.cpp402 } else if (instr->isDS() && instr->ds().gds) { in handle_instruction_gfx6()
H A Daco_print_ir.cpp361 if (ds.gds) in print_instr_format_specific()
362 fprintf(output, " gds"); in print_instr_format_specific()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device.c4447 if (!queue->ring_info.gds && needs->gds) { in radv_update_preamble_cs()
4532 !needs->task_rings && !needs->mesh_scratch_ring && !needs->gds && !needs->gds_oa && !needs->sample_positions) in radv_update_preamble_cs()
4915 needs.gds |= cmd_buffer->gds_needed; in radv_update_preambles()
4944 queue->ring_info.gds == needs.gds && in radv_update_preambles()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp111 AMDGPU::OpName::gds); in isSendMsgTraceDataOrGDS()

Completed in 55 milliseconds

12