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()
1461 int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_gds *gds) in r600_bytecode_add_gds() argument
1468 memcpy(ngds, gds, sizeof(struct r600_bytecode_gds)); in r600_bytecode_add_gds()
1471 if (gds->uav_index_mode) in r600_bytecode_add_gds()
1472 egcm_load_index_reg(bc, gds->uav_index_mode - 1, false); in r600_bytecode_add_gds()
1486 LIST_ADDTAIL(&ngds->list, &bc->cf_last->gds); in r600_bytecode_add_gds()
1706 struct r600_bytecode_gds *gds; in r600_bytecode_build() local
1791 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_build()
1792 r = eg_bytecode_gds_build(bc, gds, addr); in r600_bytecode_build()
1827 struct r600_bytecode_gds *gds = NULL, *next_gds; in r600_bytecode_clear() local
1847 LIST_FOR_EACH_ENTRY_SAFE(gds, next_gds, &cf->gds, list) { in r600_bytecode_clear()
1848 free(gds); in r600_bytecode_clear()
1851 LIST_INITHEAD(&cf->gds); in r600_bytecode_clear()
2045 struct r600_bytecode_gds *gds = NULL; in r600_bytecode_disasm() local
2346 LIST_FOR_EACH_ENTRY(gds, &cf->gds, list) { in r600_bytecode_disasm()
2351 o += fprintf(stderr, "%s ", r600_isa_fetch(gds->op)->name); in r600_bytecode_disasm()
2353 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2354 o += fprintf(stderr, "R%d.", gds->dst_gpr); in r600_bytecode_disasm()
2355 o += print_swizzle(gds->dst_sel_x); in r600_bytecode_disasm()
2356 o += print_swizzle(gds->dst_sel_y); in r600_bytecode_disasm()
2357 o += print_swizzle(gds->dst_sel_z); in r600_bytecode_disasm()
2358 o += print_swizzle(gds->dst_sel_w); in r600_bytecode_disasm()
2361 o += fprintf(stderr, ", R%d.", gds->src_gpr); in r600_bytecode_disasm()
2362 o += print_swizzle(gds->src_sel_x); in r600_bytecode_disasm()
2363 o += print_swizzle(gds->src_sel_y); in r600_bytecode_disasm()
2364 o += print_swizzle(gds->src_sel_z); in r600_bytecode_disasm()
2366 if (gds->op != FETCH_OP_TF_WRITE) { in r600_bytecode_disasm()
2367 o += fprintf(stderr, ", R%d.", gds->src_gpr2); in r600_bytecode_disasm()
2369 if (gds->alloc_consume) { in r600_bytecode_disasm()
2370 o += fprintf(stderr, " UAV: %d", gds->uav_id); in r600_bytecode_disasm()
2371 if (gds->uav_index_mode) in r600_bytecode_disasm()
2372 o += fprintf(stderr, "[%s]", index_mode[gds->uav_index_mode]); in r600_bytecode_disasm()