virgl: Allow transfer queue entries to be found and extended.
authorDavid Riley <davidriley@chromium.org>
Wed, 24 Apr 2019 23:11:37 +0000 (16:11 -0700)
committerGurchetan Singh <gurchetansingh@chromium.org>
Wed, 1 May 2019 22:48:46 +0000 (15:48 -0700)
commita54c231b56005f172cbd744fb7c592922b077526
treed340c4868716b43269ad6bea6a94f3e490055728
parente94a9a7f38de13230d1fb8767c45e6c8f4e59c64
virgl: Allow transfer queue entries to be found and extended.

Intersecting transfer queue entries allow for the possibility of
extending an existing transfer instead of creating a new one (and all
the associated mappign/unmapping).

Signed-off-by: David Riley <davidriley@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_transfer_queue.c
src/gallium/drivers/virgl/virgl_transfer_queue.h