Home
last modified time | relevance | path

Searched refs:gds (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
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->dst_rel) | in eg_bytecode_gds_build()
[all …]
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()
[all …]
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);
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()
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.dst_sel_w = 7; in r600_emit_tess_factor()
[all …]
Dr600_pipe_common.h295 struct r600_mmio_counter gds; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
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.dst_sel_w = 7; in visit()
[all …]
Dsfn_instr.h160 gds, enumerator
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()
Dsfn_instr.cpp265 case gds: in set_type()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DDSInstructions.td48 bits<1> gdsValue = 0; // if has_gds == 0 set gds to this value
71 bits<1> gds;
89 (ins rc:$data0, offset:$offset, gds:$gds),
90 "$data0$offset$gds"> {
100 (ins VGPR_32:$addr, rc:$data0, offset:$offset, gds:$gds),
101 "$addr, $data0$offset$gds"> {
120 (ins VGPR_32:$addr, rc:$data0, rc:$data1, offset:$offset, gds:$gds),
121 "$addr, $data0, $data1"#"$offset"#"$gds"> {
140 offset0:$offset0, offset1:$offset1, gds:$gds),
141 "$addr, $data0, $data1$offset0$offset1$gds"> {
[all …]
DGCNHazardRecognizer.cpp111 AMDGPU::OpName::gds); in isSendMsgTraceDataOrGDS()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
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()
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/
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()
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()
Dsi_pipe.h506 struct si_mmio_counter gds; member
709 struct pb_buffer *gds; member
Dsi_pipe.c977 radeon_bo_reference(sscreen->ws, &sscreen->gds, NULL); in si_destroy_screen()
/third_party/mesa3d/src/amd/compiler/
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()
Daco_opt_value_numbering.cpp249 return aD.sync == bD.sync && aD.pass_flags == bD.pass_flags && aD.gds == bD.gds && in operator ()()
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()
Daco_assembler.cpp355 encoding |= (ds.gds ? 1 : 0) << 16; in emit_instruction()
358 encoding |= (ds.gds ? 1 : 0) << 17; in emit_instruction()
Daco_insert_NOPs.cpp402 } else if (instr->isDS() && instr->ds().gds) { in handle_instruction_gfx6()
Daco_print_ir.cpp361 if (ds.gds) in print_instr_format_specific()
/third_party/mesa3d/src/amd/vulkan/
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… 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()

12