diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-04-25 15:46:46 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-04-25 15:46:46 +0100 |
commit | 18909982c3a1b4987bc5befc8dfb9670b9ca5466 (patch) | |
tree | 15ff67ef8a4eb28e303ab7aee3860d3dda6ea1a7 | |
parent | 544e9f8368a95f758887eb88b5c92a77abbd11dc (diff) |
benchmarks/gem_wsim: Fix no reloc handling
One copy and paste error sneaked in the no reloc changes.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | benchmarks/gem_wsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c index 21445cac..25c0576d 100644 --- a/benchmarks/gem_wsim.c +++ b/benchmarks/gem_wsim.c @@ -809,7 +809,7 @@ update_bb_rt(struct w_step *w, enum intel_engine_id engine) *w->rt0_value = *REG(RCS_TIMESTAMP); *w->rt0_address = w->reloc[1].presumed_offset + w->reloc[1].delta; - *w->rt1_address = w->reloc[1].presumed_offset + w->reloc[1].delta; + *w->rt1_address = w->reloc[2].presumed_offset + w->reloc[2].delta; /* If not using NO_RELOC, force the relocations */ if (!(w->eb.flags & I915_EXEC_NO_RELOC)) { |