Re: [PATCH i-g-t 2/2] i915/gem_ctx_exec: Enable resets for basic-nohangcheck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux