gem_ring_sync_copy: Add a ring to ring synchronization test

The goal of this test is to ensure that we respect inter ring
dependencies. A more detailed description of what it tests is in a
comment.

The tests relies on having a blit function for the ring, so is currently
only checking synchronization between the render and blitter ring.

v2: Actually create an inter-ring dependency by making the first copy on
ring2 and the second on ring2, not both on ring2.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2014-01-29 15:53:33 +00:00
parent 09bcb0ab4b
commit d8ea09f24d
3 changed files with 369 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@ gem_render_linear_blits
gem_render_tiled_blits
gem_reset_stats
gem_ringfill
gem_ring_sync_copy
gem_ring_sync_loop
gem_seqno_wrap
gem_set_tiling_vs_blt