mesa/src
Gurchetan Singh d058dc4aa3 virgl: avoid large inline transfers
We flush everytime the command buffer (16 kB) is full, which is
quite costly.

This improves

dEQP-GLES3.performance.buffer.data_upload.function_call.buffer_data.new_buffer.usage_stream_draw

from 111.16 MB/s to 1930.36 MB/s.

In addition, I made the benchmark produce buffers from 0 --> VIRGL_MAX_CMDBUF_DWORDS * 4,
and tried ((VIRGL_MAX_CMDBUF_DWORDS * 4) / 2), ((VIRGL_MAX_CMDBUF_DWORDS * 4) / 4), etc.

I didn't notice any clear differences, so let's just go with the most obvious
heuristic.

Tested-By: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
(cherry picked from commit d18492c64f)
2018-12-03 16:51:22 +01:00
..
amd radv: Clamp gfx9 image view extents to the allocated image extents. 2018-11-30 11:32:39 +01:00
broadcom android: broadcom/cle: export the broadcom top level path headers 2018-09-17 17:02:30 +02:00
compiler glsl: free or reuse memory allocated for TF varying 2018-11-26 12:22:16 +01:00
egl egl/wayland: rather obvious build fix 2018-11-30 10:45:43 +01:00
gallium virgl: avoid large inline transfers 2018-12-03 16:51:22 +01:00
gbm gbm: remove unnecessary meson include 2018-11-21 10:12:24 +01:00
getopt
glx glx: make xf86vidmode mandatory for direct rendering 2018-11-21 10:12:25 +01:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel anv: correctly use vulkan 1.0 by default 2018-11-30 11:28:47 +01:00
loader loader/dri3: Also wait for front buffer fence if we triggered it 2018-10-22 11:47:25 +02:00
mapi glapi: add missing visibility args 2018-11-23 10:30:24 +01:00
mesa mesa/main: remove bogus error for zero-sized images 2018-11-26 12:44:18 +01:00
util util/ralloc: Make sizeof(linear_header) a multiple of 8 2018-11-14 09:41:14 +01:00
vulkan vulkan/wsi: fix s/,/;/ typo 2018-11-30 12:16:36 +01:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am egl: rewire the build systems to use libwayland-egl 2018-06-06 12:11:57 -07:00
meson.build meson: fix wayland-less builds 2018-11-21 10:12:24 +01:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00