Daniel Vetter
09cba27fdc
tests/gem_reloc_vs_gpu: fixup this mess
...
- fixup pitch mess noticed by Chris Wilson.
- we need to diable bo reuse otherwise the kernel won't do the relocs
(we might get an already gtt-bound batch from the dummy load).
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-04 14:19:30 +01:00
Daniel Vetter
b9629f2d8d
tests/gem_reloc_vs_gpu: emit special batch on blt ring on gen6+
...
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-04 13:57:51 +01:00
Daniel Vetter
28e3f9c606
tests/gem_reloc_vs_gpu: switch to COLOR_BLT instead of PIPE_CONTROL
...
Less fancy command that works everywhere. Suggested by Chris Wilons.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-04 13:46:43 +01:00
Daniel Vetter
ad6be1f0c9
tests: add gem_reloc_vs_gpu
...
Tests whether the kernel properly waits for the gpu before
applying a reloc.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-04 12:08:59 +01:00