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
+2 -2
View File
@@ -464,12 +464,12 @@ static struct igt_hang_ring no_hang(void)
static struct igt_hang_ring bcs_hang(void)
{
return igt_hang_ring(fd, gen, I915_EXEC_BLT);
return igt_hang_ring(fd, I915_EXEC_BLT);
}
static struct igt_hang_ring rcs_hang(void)
{
return igt_hang_ring(fd, gen, I915_EXEC_RENDER);
return igt_hang_ring(fd, I915_EXEC_RENDER);
}
static void hang_require(void)