Chris Wilson 4c14aa18c1 benchmarks/gem_blt: Fixup a couple of non-llc foibles
When extending the batch for multiple copies, we need to remember to
flag it as being in the CPU write domain so that the new values get
flushed out to main memory before execution. We also have to be careful
not to specify NO_RELOC for the extended batch as the execobjects will
have been updated but we write the wrong presumed offsets. Subsequent
iterations will be correct and we can tell the kernel then to skip the
relocations entirely.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-11-12 10:54:11 +00:00
..
2015-11-10 14:04:58 +00:00
2015-11-10 14:04:58 +00:00

These benchmarks are designed to be used from within a benchmark framework
like http://cgit.freedesktop.org/~mperes/ezbench/.

A typical way to run them would be:

$ ~/ezbench/ezbench.sh -p ./linux,git -m '' -b gem: -r 15

which executes the set of gem benchmarks, 15 times each, using HEAD of
./linux.git as the reference commit.