From c0773315af76cd735152c322cb7f710b4b053148 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Mon, 26 Nov 2018 09:54:03 -0800 Subject: [PATCH] virgl: quadruple command buffer size Tested running WebGL aquarium on Nvidia host (10,000 fishes) This moves us from 7 fps to 9 fps. After quadrupling, performance gains diminish. v2: Remove change ID (Erik) Tested-By: Gert Wollny Reviewed-by: Erik Faye-Lund --- src/gallium/drivers/virgl/virgl_winsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/virgl/virgl_winsys.h b/src/gallium/drivers/virgl/virgl_winsys.h index d13212c5e84..96726b409d9 100644 --- a/src/gallium/drivers/virgl/virgl_winsys.h +++ b/src/gallium/drivers/virgl/virgl_winsys.h @@ -31,7 +31,7 @@ struct pipe_fence_handle; struct winsys_handle; struct virgl_hw_res; -#define VIRGL_MAX_CMDBUF_DWORDS (16*1024) +#define VIRGL_MAX_CMDBUF_DWORDS (64 * 1024) struct virgl_drm_caps { union virgl_caps caps; -- 2.30.2