mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user