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/
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()
1496 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) in r600_bytecode_add_gds() argument
1503 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds)); in r600_bytecode_add_gds()
1506 if (gds->uav_index_mode) in r600_bytecode_add_gds()
1507 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false); in r600_bytecode_add_gds()
1521 list_addtail(&ngds->list, &bc->cf_last->gds); in r600_bytecode_add_gds()
[all …]
Dr600_asm.h210 struct list_head gds; member
293 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id);
311 const struct r600_bytecode_gds *gds);
Dr600_gpu_load.c92 UPDATE_COUNTER(gds, GDS_BUSY); in r600_update_mmio_counters()
212 return BUSY_INDEX(rscreen, gds); in busy_index_from_type()
Dr600_shader.c3328 struct r600_bytecode_gds gds; in r600_emit_tess_factor() local
3330 memset(&gds, 0, sizeof(struct r600_bytecode_gds)); in r600_emit_tess_factor()
3331 gds.src_gpr = treg[i / 2]; in r600_emit_tess_factor()
3332 gds.src_sel_x = 2 * (i % 2); in r600_emit_tess_factor()
3333 gds.src_sel_y = 1 + (2 * (i % 2)); in r600_emit_tess_factor()
3334 gds.src_sel_z = 4; in r600_emit_tess_factor()
3335 gds.dst_sel_x = 7; in r600_emit_tess_factor()
3336 gds.dst_sel_y = 7; in r600_emit_tess_factor()
3337 gds.dst_sel_z = 7; in r600_emit_tess_factor()
3338 gds.dst_sel_w = 7; in r600_emit_tess_factor()
[all …]
Dr600_pipe_common.h302 struct r600_mmio_counter gds; member
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_ir_to_assembly.cpp851 struct r600_bytecode_gds gds; in visit() local
862 memset(&gds, 0, sizeof(struct r600_bytecode_gds)); in visit()
864 gds.op = ds_opcode_map.at(instr.op()); in visit()
865 gds.dst_gpr = instr.dest_sel(); in visit()
866 gds.uav_id = (uav_idx >= 0 ? uav_idx : 0) + instr.uav_base(); in visit()
867 gds.uav_index_mode = uav_idx >= 0 ? bim_none : bim_one; in visit()
868 gds.src_gpr = instr.src_sel(); in visit()
870 gds.src_sel_x = instr.src_swizzle(0); in visit()
871 gds.src_sel_y = instr.src_swizzle(1); in visit()
872 gds.src_sel_z = instr.src_swizzle(2); in visit()
[all …]
Dsfn_instruction_base.h92 gds, enumerator
Dsfn_instruction_gds.cpp34 Instruction(gds), in GDSInstr()
/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()
DSIInsertWaitcnts.cpp1220 TII->hasModifiersSet(Inst, AMDGPU::OpName::gds)) { in updateEventWaitcntAfter()
/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()
223 return BUSY_INDEX(sscreen, gds); in busy_index_from_type()
Dsi_gfx_cs.c204 if (sctx->gds) { in si_add_gds_to_buffer_list()
205 sctx->ws->cs_add_buffer(&sctx->gfx_cs, sctx->gds, RADEON_USAGE_READWRITE, 0, 0); in si_add_gds_to_buffer_list()
216 if (sctx->gds) in si_allocate_gds()
224 sctx->gds = ws->buffer_create(ws, 256, 4, RADEON_DOMAIN_GDS, RADEON_FLAG_DRIVER_INTERNAL); in si_allocate_gds()
227 assert(sctx->gds && sctx->gds_oa); in si_allocate_gds()
Dsi_pipe.h465 struct si_mmio_counter gds; member
978 struct pb_buffer *gds; member
Dsi_pipe.c332 radeon_bo_reference(sctx->screen->ws, &sctx->gds, NULL); in si_destroy_context()
/third_party/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp282 (it->second.events & lgkm_events) == (instr->ds().gds ? event_gds : event_lds)) in check_instr()
659 update_counters(ctx, ds.gds ? event_gds : event_lds, ds.sync); in gen()
660 if (ds.gds) in gen()
664 insert_wait_entry(ctx, instr->definitions[0], ds.gds ? event_gds : event_lds); in gen()
666 if (ds.gds) { in gen()
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_opt_value_numbering.cpp240 return aD.sync == bD.sync && aD.pass_flags == bD.pass_flags && aD.gds == bD.gds && in operator ()()
Daco_assembler.cpp357 encoding |= (ds.gds ? 1 : 0) << 16; in emit_instruction()
360 encoding |= (ds.gds ? 1 : 0) << 17; in emit_instruction()
Daco_print_ir.cpp359 if (ds.gds) in print_instr_format_specific()
Daco_insert_NOPs.cpp396 } else if (instr->isDS() && instr->ds().gds) { in handle_instruction_gfx6()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c341 struct amdgpu_gds_resource_info gds = {0}; in ac_query_gpu_info() local
482 r = amdgpu_query_gds_info(dev, &gds); in ac_query_gpu_info()
683 info->gds_size = gds.gds_total_size; in ac_query_gpu_info()
684 info->gds_gfx_partition_size = gds.gds_gfx_partition_size; in ac_query_gpu_info()

12