diff options
author | Chia-I Wu <[email protected]> | 2019-07-08 16:45:36 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-07-09 14:26:55 -0700 |
commit | b44bb8bdeddf7c7279ff54466a74f5ce507e3ef1 (patch) | |
tree | bc805814dedc47f363c9afb39db2bc84b29304cd /src/gallium/drivers/virgl/virgl_transfer_queue.h | |
parent | 48aefcbd6bc1c9cca6bbe94ea98a8e94dd629ec1 (diff) |
virgl: remove virgl_transfer_queue_lists
COMPLETED_LIST is always empty. We only need one list.
Signed-off-by: Chia-I Wu <[email protected]>
Reviewed-by: Alexandros Frantzis <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_transfer_queue.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_transfer_queue.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/virgl/virgl_transfer_queue.h b/src/gallium/drivers/virgl/virgl_transfer_queue.h index 3fad28ea7b5..e377e08b746 100644 --- a/src/gallium/drivers/virgl/virgl_transfer_queue.h +++ b/src/gallium/drivers/virgl/virgl_transfer_queue.h @@ -32,14 +32,8 @@ struct virgl_screen; struct virgl_context; struct virgl_transfer; -enum virgl_transfer_queue_lists { - PENDING_LIST = 0, - COMPLETED_LIST = 1, - MAX_LISTS = 2, -}; - struct virgl_transfer_queue { - struct list_head lists[MAX_LISTS]; + struct list_head transfer_list; struct virgl_screen *vs; struct virgl_context *vctx; struct virgl_cmd_buf *tbuf; |