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>
This commit is contained in:
Daniel Vetter
2015-02-10 17:46:43 +01:00
parent 25c4347078
commit 3cd45dec2e
23 changed files with 300 additions and 246 deletions
+1 -1
View File
@@ -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,