diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-11-12 10:50:17 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-11-12 10:54:11 +0000 |
commit | 4c14aa18c18f578825253769e97901bc963b40d2 (patch) | |
tree | 867fe9055dd2d86c13af631841e6add21246db2c /tests/kms_setmode.c | |
parent | 143a2160583a3223ebfc1fd1376a23cec1b81484 (diff) |
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>
Diffstat (limited to 'tests/kms_setmode.c')
0 files changed, 0 insertions, 0 deletions