util: remove LIST_ADDTAIL macro
Just use the inlined function directly. The macro was replaced with
the function in ebe304fa54
.
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
@@ -167,7 +167,7 @@ int r600_bytecode_add_cf(struct r600_bytecode *bc)
|
||||
|
||||
if (!cf)
|
||||
return -ENOMEM;
|
||||
LIST_ADDTAIL(&cf->list, &bc->cf);
|
||||
list_addtail(&cf->list, &bc->cf);
|
||||
if (bc->cf_last) {
|
||||
cf->id = bc->cf_last->id + 2;
|
||||
if (bc->cf_last->eg_alu_extended) {
|
||||
@@ -930,7 +930,7 @@ static int merge_inst_groups(struct r600_bytecode *bc, struct r600_bytecode_alu
|
||||
if (result[i]) {
|
||||
LIST_DEL(&result[i]->list);
|
||||
result[i]->last = 0;
|
||||
LIST_ADDTAIL(&result[i]->list, &bc->cf_last->alu);
|
||||
list_addtail(&result[i]->list, &bc->cf_last->alu);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1266,7 +1266,7 @@ int r600_bytecode_add_alu_type(struct r600_bytecode *bc,
|
||||
if (nalu->dst.sel >= bc->ngpr) {
|
||||
bc->ngpr = nalu->dst.sel + 1;
|
||||
}
|
||||
LIST_ADDTAIL(&nalu->list, &bc->cf_last->alu);
|
||||
list_addtail(&nalu->list, &bc->cf_last->alu);
|
||||
/* each alu use 2 dwords */
|
||||
bc->cf_last->ndw += 2;
|
||||
bc->ndw += 2;
|
||||
@@ -1407,7 +1407,7 @@ static int r600_bytecode_add_vtx_internal(struct r600_bytecode *bc, const struct
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
LIST_ADDTAIL(&nvtx->list, &bc->cf_last->vtx);
|
||||
list_addtail(&nvtx->list, &bc->cf_last->vtx);
|
||||
/* each fetch use 4 dwords */
|
||||
bc->cf_last->ndw += 4;
|
||||
bc->ndw += 4;
|
||||
@@ -1477,7 +1477,7 @@ int r600_bytecode_add_tex(struct r600_bytecode *bc, const struct r600_bytecode_t
|
||||
if (ntex->dst_gpr >= bc->ngpr) {
|
||||
bc->ngpr = ntex->dst_gpr + 1;
|
||||
}
|
||||
LIST_ADDTAIL(&ntex->list, &bc->cf_last->tex);
|
||||
list_addtail(&ntex->list, &bc->cf_last->tex);
|
||||
/* each texture fetch use 4 dwords */
|
||||
bc->cf_last->ndw += 4;
|
||||
bc->ndw += 4;
|
||||
@@ -1511,7 +1511,7 @@ int r600_bytecode_add_gds(struct r600_bytecode *bc, const struct r600_bytecode_g
|
||||
bc->cf_last->op = CF_OP_GDS;
|
||||
}
|
||||
|
||||
LIST_ADDTAIL(&ngds->list, &bc->cf_last->gds);
|
||||
list_addtail(&ngds->list, &bc->cf_last->gds);
|
||||
bc->cf_last->ndw += 4; /* each GDS uses 4 dwords */
|
||||
if ((bc->cf_last->ndw / 4) >= r600_bytecode_num_tex_and_vtx_instructions(bc))
|
||||
bc->force_add_cf = 1;
|
||||
|
Reference in New Issue
Block a user