virgl: Use virgl_resource_transfer_map for buffers
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Fri, 5 Jul 2019 11:23:19 +0000 (14:23 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 7 Jul 2019 02:30:34 +0000 (19:30 -0700)
commitf8975f8f2f51e265609d17875b6850c7b2ac5313
tree9d0d78b5cbbd73ca2f4bd62aae0eefa314e933ad
parentbb0a38d8197e1480dc5aedb3520741c840d01e91
virgl: Use virgl_resource_transfer_map for buffers

Replace custom buffer map code with virgl_resource_transfer_map.

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