Lines Matching refs:gds
61 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()
1750 struct r600_bytecode_gds *gds; in r600_bytecode_build() local
1835 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_build()
1836 r = eg_bytecode_gds_build(bc, gds, addr); in r600_bytecode_build()
1871 struct r600_bytecode_gds *gds = NULL, *next_gds; in r600_bytecode_clear() local
1891 LIST_FOR_EACH_ENTRY_SAFE(gds, next_gds, &cf->gds, list) { in r600_bytecode_clear()
1892 free(gds); in r600_bytecode_clear()
1895 list_inithead(&cf->gds); in r600_bytecode_clear()
2095 struct r600_bytecode_gds *gds = NULL; in r600_bytecode_disasm() local
2420 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_disasm()
2425 o += fprintf(stderr, "%s ", r600_isa_fetch(gds->op)->name); in r600_bytecode_disasm()
2427 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2428 o += fprintf(stderr, "R%d.", gds->dst_gpr); in r600_bytecode_disasm()
2429 o += print_swizzle(gds->dst_sel_x); in r600_bytecode_disasm()
2430 o += print_swizzle(gds->dst_sel_y); in r600_bytecode_disasm()
2431 o += print_swizzle(gds->dst_sel_z); in r600_bytecode_disasm()
2432 o += print_swizzle(gds->dst_sel_w); in r600_bytecode_disasm()
2435 o += fprintf(stderr, ", R%d.", gds->src_gpr); in r600_bytecode_disasm()
2436 o += print_swizzle(gds->src_sel_x); in r600_bytecode_disasm()
2437 o += print_swizzle(gds->src_sel_y); in r600_bytecode_disasm()
2438 o += print_swizzle(gds->src_sel_z); in r600_bytecode_disasm()
2440 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2441 o += fprintf(stderr, ", R%d.", gds->src_gpr2); in r600_bytecode_disasm()
2443 if (gds->alloc_consume) { in r600_bytecode_disasm()
2444 o += fprintf(stderr, " UAV: %d", gds->uav_id); in r600_bytecode_disasm()
2445 if (gds->uav_index_mode) in r600_bytecode_disasm()
2446 o += fprintf(stderr, "[%s]", index_mode[gds->uav_index_mode]); in r600_bytecode_disasm()