summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-07-08 14:35:27 -0700
committerChia-I Wu <[email protected]>2019-07-09 14:26:55 -0700
commiteae4527551d13fb6df7280b79649d08b1c60f712 (patch)
tree785a9552d8d69f96403fbe5bf25ae094d42b79af /src/gallium/drivers/virgl
parentbec2a85c480dbdafcc468cdd13e7616031be35bd (diff)
virgl: remove transfer after transfer_write
Now that virgl_transfer_queue_is_queued does not search COMPLETED_LIST, we don't need to move transfers to that list. Signed-off-by: Chia-I Wu <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r--src/gallium/drivers/virgl/virgl_transfer_queue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/virgl/virgl_transfer_queue.c b/src/gallium/drivers/virgl/virgl_transfer_queue.c
index 4511d2f12d2..ea1e759bc69 100644
--- a/src/gallium/drivers/virgl/virgl_transfer_queue.c
+++ b/src/gallium/drivers/virgl/virgl_transfer_queue.c
@@ -212,8 +212,7 @@ static void transfer_write(struct virgl_transfer_queue *queue,
// the exec buffer command.
virgl_encode_transfer(queue->vs, buf, queued, VIRGL_TRANSFER_TO_HOST);
- list_delinit(&queued->queue_link);
- list_addtail(&queued->queue_link, &queue->lists[COMPLETED_LIST]);
+ remove_transfer(queue, args);
}
static void compare_and_perform_action(struct virgl_transfer_queue *queue,