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

12

/xsrc/external/mit/MesaLib.old/dist/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) argument
228 unsigned gds_op = (r600_isa_fetch_opcode(bc->isa->hw_class, gds->op) >> 8) & 0x3f;
230 if (gds->op == FETCH_OP_TF_WRITE) {
237 S_SQ_MEM_GDS_WORD0_SRC_GPR(gds->src_gpr) |
238 S_SQ_MEM_GDS_WORD0_SRC_REL(gds->src_rel) |
239 S_SQ_MEM_GDS_WORD0_SRC_SEL_X(gds->src_sel_x) |
240 S_SQ_MEM_GDS_WORD0_SRC_SEL_Y(gds->src_sel_y) |
241 S_SQ_MEM_GDS_WORD0_SRC_SEL_Z(gds->src_sel_z);
243 bc->bytecode[id++] = S_SQ_MEM_GDS_WORD1_DST_GPR(gds->dst_gpr) |
244 S_SQ_MEM_GDS_WORD1_DST_REL(gds
[all...]
H A Dr600_asm.h206 struct list_head gds; member in struct:r600_bytecode_cf
286 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id);
304 const struct r600_bytecode_gds *gds);
H A Dr600_asm.c61 LIST_INITHEAD(&cf->gds);
97 struct r600_bytecode_gds *gds = CALLOC_STRUCT(r600_bytecode_gds); local in function:r600_bytecode_gds
99 if (gds == NULL)
101 LIST_INITHEAD(&gds->list);
102 return gds;
1489 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) argument
1496 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds));
1499 if (gds->uav_index_mode)
1500 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false);
1514 LIST_ADDTAIL(&ngds->list, &bc->cf_last->gds);
1743 struct r600_bytecode_gds *gds; local in function:r600_bytecode_build
1864 struct r600_bytecode_gds *gds = NULL, *next_gds; local in function:r600_bytecode_clear
2088 struct r600_bytecode_gds *gds = NULL; local in function:r600_bytecode_disasm
[all...]
H A Dr600_gpu_load.c92 UPDATE_COUNTER(gds, GDS_BUSY);
212 return BUSY_INDEX(rscreen, gds);
H A Dr600_shader.c3239 struct r600_bytecode_gds gds; local in function:r600_emit_tess_factor
3241 memset(&gds, 0, sizeof(struct r600_bytecode_gds));
3242 gds.src_gpr = treg[i / 2];
3243 gds.src_sel_x = 2 * (i % 2);
3244 gds.src_sel_y = 1 + (2 * (i % 2));
3245 gds.src_sel_z = 4;
3246 gds.dst_sel_x = 7;
3247 gds.dst_sel_y = 7;
3248 gds.dst_sel_z = 7;
3249 gds
8620 struct r600_bytecode_gds gds; local in function:tgsi_load_gds
9279 struct r600_bytecode_gds gds; local in function:tgsi_atomic_op_gds
[all...]
/xsrc/external/mit/MesaLib/dist/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) argument
228 unsigned gds_op = (r600_isa_fetch_opcode(bc->isa->hw_class, gds->op) >> 8) & 0x3f;
230 if (gds->op == FETCH_OP_TF_WRITE) {
237 S_SQ_MEM_GDS_WORD0_SRC_GPR(gds->src_gpr) |
238 S_SQ_MEM_GDS_WORD0_SRC_REL(gds->src_rel) |
239 S_SQ_MEM_GDS_WORD0_SRC_SEL_X(gds->src_sel_x) |
240 S_SQ_MEM_GDS_WORD0_SRC_SEL_Y(gds->src_sel_y) |
241 S_SQ_MEM_GDS_WORD0_SRC_SEL_Z(gds->src_sel_z);
243 bc->bytecode[id++] = S_SQ_MEM_GDS_WORD1_DST_GPR(gds->dst_gpr) |
244 S_SQ_MEM_GDS_WORD1_DST_REL(gds
[all...]
H A Dr600_asm.h210 struct list_head gds; member in struct:r600_bytecode_cf
293 int eg_bytecode_gds_build(struct r600_bytecode *bc, struct r600_bytecode_gds *gds, unsigned id);
311 const struct r600_bytecode_gds *gds);
H A Dr600_asm.c61 list_inithead(&cf->gds);
97 struct r600_bytecode_gds *gds = CALLOC_STRUCT(r600_bytecode_gds); local in function:r600_bytecode_gds
99 if (gds == NULL)
101 list_inithead(&gds->list);
102 return gds;
1496 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) argument
1503 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds));
1506 if (gds->uav_index_mode)
1507 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false);
1521 list_addtail(&ngds->list, &bc->cf_last->gds);
1750 struct r600_bytecode_gds *gds; local in function:r600_bytecode_build
1871 struct r600_bytecode_gds *gds = NULL, *next_gds; local in function:r600_bytecode_clear
2095 struct r600_bytecode_gds *gds = NULL; local in function:r600_bytecode_disasm
[all...]
H A Dr600_gpu_load.c92 UPDATE_COUNTER(gds, GDS_BUSY);
212 return BUSY_INDEX(rscreen, gds);
H A Dr600_shader.c3328 struct r600_bytecode_gds gds; local in function:r600_emit_tess_factor
3330 memset(&gds, 0, sizeof(struct r600_bytecode_gds));
3331 gds.src_gpr = treg[i / 2];
3332 gds.src_sel_x = 2 * (i % 2);
3333 gds.src_sel_y = 1 + (2 * (i % 2));
3334 gds.src_sel_z = 4;
3335 gds.dst_sel_x = 7;
3336 gds.dst_sel_y = 7;
3337 gds.dst_sel_z = 7;
3338 gds
8719 struct r600_bytecode_gds gds; local in function:tgsi_load_gds
9378 struct r600_bytecode_gds gds; local in function:tgsi_atomic_op_gds
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_ir_to_assembly.cpp851 struct r600_bytecode_gds gds; local in function:r600::AssemblyFromShaderLegacyImpl::visit
862 memset(&gds, 0, sizeof(struct r600_bytecode_gds));
864 gds.op = ds_opcode_map.at(instr.op());
865 gds.dst_gpr = instr.dest_sel();
866 gds.uav_id = (uav_idx >= 0 ? uav_idx : 0) + instr.uav_base();
867 gds.uav_index_mode = uav_idx >= 0 ? bim_none : bim_one;
868 gds.src_gpr = instr.src_sel();
870 gds.src_sel_x = instr.src_swizzle(0);
871 gds.src_sel_y = instr.src_swizzle(1);
872 gds
891 struct r600_bytecode_gds gds; local in function:r600::AssemblyFromShaderLegacyImpl::visit
1033 struct r600_bytecode_gds gds; local in function:r600::AssemblyFromShaderLegacyImpl::visit
[all...]
H A Dsfn_instruction_base.h92 gds, enumerator in enum:r600::Instruction::instr_type
H A Dsfn_instruction_gds.cpp34 Instruction(gds),
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc_dump.cpp478 unsigned gds = n.bc.op_ptr->flags & FF_GDS; local in function:r600_sb::bc_dump::dump
479 bool gds_has_ret = gds && n.bc.op >= FETCH_OP_GDS_ADD_RET &&
481 bool show_dst = !gds || (gds && gds_has_ret);
500 unsigned num_src_comp = gds ? 3 : vtx ? ctx.is_cayman() ? 2 : 1 : 4;
509 if (!gds)
512 if (gds) {
H A Dsb_bc_parser.cpp649 unsigned gds = flags & FF_GDS; local in function:r600_sb::bc_parser::prepare_fetch_clause
650 unsigned num_src = gds ? 2 : vtx ? ctx.vtx_src_num : 4;
654 if (gds) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc_dump.cpp480 unsigned gds = n.bc.op_ptr->flags & FF_GDS; local in function:r600_sb::bc_dump::dump
481 bool gds_has_ret = gds && n.bc.op >= FETCH_OP_GDS_ADD_RET &&
483 bool show_dst = !gds || (gds && gds_has_ret);
502 unsigned num_src_comp = gds ? 3 : vtx ? ctx.is_cayman() ? 2 : 1 : 4;
511 if (!gds)
514 if (gds) {
H A Dsb_bc_parser.cpp661 unsigned gds = flags & FF_GDS; local in function:r600_sb::bc_parser::prepare_fetch_clause
662 unsigned num_src = gds ? 2 : vtx ? ctx.vtx_src_num : 4;
666 if (gds) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_gpu_load.c90 UPDATE_COUNTER(gds, GDS_BUSY);
230 return BUSY_INDEX(sscreen, gds);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_gpu_load.c89 UPDATE_COUNTER(gds, GDS_BUSY);
223 return BUSY_INDEX(sscreen, gds);
H A Dsi_gfx_cs.c204 if (sctx->gds) {
205 sctx->ws->cs_add_buffer(&sctx->gfx_cs, sctx->gds, RADEON_USAGE_READWRITE, 0, 0);
216 if (sctx->gds)
224 sctx->gds = ws->buffer_create(ws, 256, 4, RADEON_DOMAIN_GDS, RADEON_FLAG_DRIVER_INTERNAL);
227 assert(sctx->gds && sctx->gds_oa);
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_insert_waitcnt.cpp282 (it->second.events & lgkm_events) == (instr->ds().gds ? event_gds : event_lds))
659 update_counters(ctx, ds.gds ? event_gds : event_lds, ds.sync);
660 if (ds.gds)
664 insert_wait_entry(ctx, instr->definitions[0], ds.gds ? event_gds : event_lds);
666 if (ds.gds) {
H A Daco_opt_value_numbering.cpp240 return aD.sync == bD.sync && aD.pass_flags == bD.pass_flags && aD.gds == bD.gds &&
H A Daco_statistics.cpp138 return instr->ds().gds ? perf_info{0, WAIT_USE(export_gds, 1)}
167 return instr->ds().gds ? perf_info{4, WAIT_USE(export_gds, 4)}
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_gpu_info.c104 struct amdgpu_gds_resource_info gds = {}; local in function:ac_query_gpu_info
247 r = amdgpu_query_gds_info(dev, &gds);
355 info->gds_size = gds.gds_total_size;
356 info->gds_gfx_partition_size = gds.gds_gfx_partition_size;
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_gpu_info.c341 struct amdgpu_gds_resource_info gds = {0}; local in function:ac_query_gpu_info
482 r = amdgpu_query_gds_info(dev, &gds);
683 info->gds_size = gds.gds_total_size;
684 info->gds_gfx_partition_size = gds.gds_gfx_partition_size;

Completed in 36 milliseconds

12