summaryrefslogtreecommitdiff
path: root/benchmarks/gem_exec_fault.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-19 16:59:37 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-19 17:00:47 +0100
commitbde2aeea008910bb38361ff92285f0d9df9f1c1e (patch)
tree255a40cc66c53780096ad87af03b92cf6eb8dcd9 /benchmarks/gem_exec_fault.c
parent096056594cd6c58151b6bff8625f678e057dd7a8 (diff)
benchmarks/gem_exec_fault: Reset alignment to 0
Oops, because -nightly doesn't handle 64bit alignments correctly, this was not working quite as expected. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_exec_fault.c')
-rw-r--r--benchmarks/gem_exec_fault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/gem_exec_fault.c b/benchmarks/gem_exec_fault.c
index d23db3ba..a5446ea1 100644
--- a/benchmarks/gem_exec_fault.c
+++ b/benchmarks/gem_exec_fault.c
@@ -122,6 +122,7 @@ static int loop(int size, unsigned ring, int reps, int ncpus, unsigned flags)
execbuf.flags &= ~ENGINE_FLAGS;
execbuf.flags |= engines[count++ % nengine];
/* fault in */
+ obj.alignment = 0;
gem_execbuf(fd, &execbuf);
/* fault out */