virgl: resize resource bo allocation if we need to.
authorDave Airlie <airlied@redhat.com>
Mon, 12 Mar 2018 00:21:21 +0000 (10:21 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Mar 2018 02:26:39 +0000 (12:26 +1000)
commit4b15b5e803eb4705f8532e6cc41cfdc8bd065de9
treea01ae21b9629003b9711da0c73790bbac7c90932
parentc1e47a3c1fb380b36b7e403c248fbb5ce9e74ffe
virgl: resize resource bo allocation if we need to.

This fixes an illegal command buffer on the host seen with
piglit arb_internalformat_query2-max-dimensions

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c