Quoting Andi Shyti (2019-10-27 19:01:24) > Hi Chris, > > > @@ -216,6 +217,8 @@ static void nohangcheck_hostile(int i915) > > * we forcibly terminate that context. > > */ > > > > + hang = igt_allow_hang(i915, 0, 0); > > + > > why ctx = 0? Imagine, * we forcibly terminate that context. */ - hang = igt_allow_hang(i915, 0, 0); - dir = igt_sysfs_open_parameters(i915); igt_require(dir != -1); ctx = gem_context_create(i915); + hang = igt_allow_hang(i915, ctx, 0); igt_require(__enable_hangcheck(dir, false)); _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx