summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 10:11:53 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commitc578600489e35abb481816c87124b1dc6b279655 (patch)
tree84b6a694d1bebdd4d2e6414718c5fcf0294d4bef /src/gallium/drivers/r600
parentc976b427c4e376d93396325a4c1ca47349f618e8 (diff)
util: remove LIST_DEL macro
Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_asm.c2
-rw-r--r--src/gallium/drivers/r600/radeon_vce.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 4856abe75c1..6affa3d3a79 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -928,7 +928,7 @@ static int merge_inst_groups(struct r600_bytecode *bc, struct r600_bytecode_alu
for (i = 0; i < max_slots; ++i) {
slots[i] = result[i];
if (result[i]) {
- LIST_DEL(&result[i]->list);
+ list_del(&result[i]->list);
result[i]->last = 0;
list_addtail(&result[i]->list, &bc->cf_last->alu);
}
diff --git a/src/gallium/drivers/r600/radeon_vce.c b/src/gallium/drivers/r600/radeon_vce.c
index 89ac8b276a6..4051d73533d 100644
--- a/src/gallium/drivers/r600/radeon_vce.c
+++ b/src/gallium/drivers/r600/radeon_vce.c
@@ -131,12 +131,12 @@ static void sort_cpb(struct rvce_encoder *enc)
}
if (l1) {
- LIST_DEL(&l1->list);
+ list_del(&l1->list);
list_add(&l1->list, &enc->cpb_slots);
}
if (l0) {
- LIST_DEL(&l0->list);
+ list_del(&l0->list);
list_add(&l0->list, &enc->cpb_slots);
}
}
@@ -341,7 +341,7 @@ static void rvce_end_frame(struct pipe_video_codec *encoder,
slot->frame_num = enc->pic.frame_num;
slot->pic_order_cnt = enc->pic.pic_order_cnt;
if (!enc->pic.not_referenced) {
- LIST_DEL(&slot->list);
+ list_del(&slot->list);
list_add(&slot->list, &enc->cpb_slots);
}
}