summaryrefslogtreecommitdiff
path: root/tests/gem_reloc_vs_gpu.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-10 17:46:43 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 09:35:36 +0100
commit3cd45dec2e4be3edacdfc233089b6bd3651fa595 (patch)
treeae12a86adb402916187eca5bf4715d12546788a4 /tests/gem_reloc_vs_gpu.c
parent25c4347078f181a938eaaefbed7e2e27c9dc1a3f (diff)
lib/igt_gt: Document and consolidate
Also move forcewake and stop_rings code from igt_debugfs to igt_gt since it fits better. And move the hang injection fork helpers from igt_aux to igt_gt, too. Also push the intel_gen call into igt_hang_ring while at it. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/gem_reloc_vs_gpu.c')
-rw-r--r--tests/gem_reloc_vs_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_reloc_vs_gpu.c b/tests/gem_reloc_vs_gpu.c
index 68bd17d3..79f182b4 100644
--- a/tests/gem_reloc_vs_gpu.c
+++ b/tests/gem_reloc_vs_gpu.c
@@ -198,7 +198,7 @@ static struct igt_hang_ring no_hang(int fd)
static struct igt_hang_ring bcs_hang(int fd)
{
- return igt_hang_ring(fd, batch->gen, I915_EXEC_BLT);
+ return igt_hang_ring(fd, I915_EXEC_BLT);
}
static void do_test(int fd, bool faulting_reloc,