diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-13 16:07:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-13 16:10:57 +0100 |
commit | 60568210a5616f2961a832fcb2f15daa5be918d1 (patch) | |
tree | 6baef6c709e594a984c3506278d37210bd899b59 /tools/aubdump.c | |
parent | c7eb3bd634c7af6d8a6e2235f37c628830c14e70 (diff) |
iget/gem_exec_reloc: Fix simulated relocations
The contract with the kernel is that the presumed_offset matches the
value written into the batch. In the case where we were creating a new
object to simulate the old being relocation, we were writing some other
value into the batch. It just happens that using GGTT read back on !llc
was causing the original batch to migrated into the aperture, leaving a
hole suitable for the new batch, and the kernel could therefore skip the
relocation (causing us to complain).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100674
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/aubdump.c')
0 files changed, 0 insertions, 0 deletions