2 Commits

Author SHA1 Message Date
Chris Wilson
a0d6645d45 igt/gem_exec_flush: Add a read-only variation
Alternate between two values written by the GPU so that we can look for
stale cachelines without having to overwrite the value with the CPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-05-01 15:16:18 +01:00
Chris Wilson
ef3f61a6d3 tests: Add gem_exec_flush
A basic check that the execbuf flushes writes from the batch and that
they are coherent afterwards.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-04-29 21:05:58 +01:00