Mesa (staging/18.3): virgl: quadruple command buffer size
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 5 16:24:07 UTC 2018
Module: Mesa
Branch: staging/18.3
Commit: 4b715e3e597122e53807944682dd97595dcf461c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b715e3e597122e53807944682dd97595dcf461c
Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date: Mon Nov 26 09:54:03 2018 -0800
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 <gert.wollny at collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
(cherry picked from commit c0773315af76cd735152c322cb7f710b4b053148)
---
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 0e6cb7953f..b44f8aaa54 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;
More information about the mesa-commit
mailing list