virgl: simplify virgl_transfer_queue_extend
authorChia-I Wu <olvaffe@gmail.com>
Mon, 8 Jul 2019 23:31:46 +0000 (16:31 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 9 Jul 2019 21:26:55 +0000 (14:26 -0700)
commit48aefcbd6bc1c9cca6bbe94ea98a8e94dd629ec1
tree137dfdacd6536ec95ea5cfc8e851d9de1c374bab
parenteae4527551d13fb6df7280b79649d08b1c60f712
virgl: simplify virgl_transfer_queue_extend

We can reuse virgl_transfer_queue_find_pending.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
src/gallium/drivers/virgl/virgl_transfer_queue.c