crosvm/rutabaga_gfx
Ryan Neph d255742197 gfxstream: add support for per-context fencing
This adds the asynchronous interrupts in crosvm-gpu for gfxstream.
This will allow gfxstream to alternate between the main signalling
method (ASG [1]) and the more traditional interrupts when it
makes sense performance-wise.

gfxstream also requires new write fence callbacks that take into
account the ring_idx and ctx_id where the fence is on.

[1] goto.google.com/address-space-graphics

BUG=b:175527587
BUG=b:192614792
TEST=cargo build --features=virgl_renderer,virgl_renderer_next,gfxstream
TEST=Run glxgears and vkcube in a crosvm guest VM with virglrenderer

Change-Id: I52b8eb0e70671e8b43bae6e9e5264268bfb076df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3628301
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Ryan Neph <ryanneph@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Kaiyi Li <kaiyili@google.com>
2022-05-11 19:44:15 +00:00
..
ffi rutabaga_gfx: add context_name param to ffi/lib.rs 2022-05-03 23:08:55 +00:00
src gfxstream: add support for per-context fencing 2022-05-11 19:44:15 +00:00
build.rs rutabaga_gfx: add gfxstream search path by using env 2022-05-06 22:50:21 +00:00
Cargo.toml rutabaga_gfx: do not support GLX if x feature is not enabled 2022-03-23 02:12:23 +00:00