diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-10 17:46:43 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-13 09:35:36 +0100 |
commit | 3cd45dec2e4be3edacdfc233089b6bd3651fa595 (patch) | |
tree | ae12a86adb402916187eca5bf4715d12546788a4 /tests/gem_concurrent_blit.c | |
parent | 25c4347078f181a938eaaefbed7e2e27c9dc1a3f (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_concurrent_blit.c')
-rw-r--r-- | tests/gem_concurrent_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_concurrent_blit.c b/tests/gem_concurrent_blit.c index 0b0adce7..e1693ba7 100644 --- a/tests/gem_concurrent_blit.c +++ b/tests/gem_concurrent_blit.c @@ -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) |