To inject a hang, we execute a spinning batch. This means we require GEM to be operation before the hang, so check. Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- lib/igt_gt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 89b318ae6..86c6e1972 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -118,6 +118,7 @@ void igt_require_hang_ring(int fd, int ring) if (!igt_check_boolean_env_var("IGT_HANG", true)) igt_skip("hang injection disabled by user"); + igt_require_gem(fd); gem_require_ring(fd, ring); gem_context_require_bannable(fd); if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false)) -- 2.18.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx