gem_ring_sync_copy: Add a ring to ring synchronization test
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 29 Jan 2014 15:53:33 +0000 (15:53 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 4 Feb 2014 10:55:42 +0000 (10:55 +0000)
commitd8ea09f24d9e0c75593bc6e89c742998c23087fc
tree084ce7cb4b4969fef72b71c5baa49845bd43a4a7
parent09bcb0ab4b79273cfccdfa87f860b0be1addcc7b
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>
tests/.gitignore
tests/Makefile.sources
tests/gem_ring_sync_copy.c [new file with mode: 0644]