Re: [PATCH 1/2] drm/i915/selftests: Calculate maximum ring size for preemption chain

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

 



Quoting Chris Wilson (2019-03-21 18:38:53)
> Quoting Caz Yokoyama (2019-03-21 18:41:10)
> > inline
> > -caz
> > On Thu, 2019-03-21 at 07:37 +0000, Chris Wilson wrote:
> > > +
> > > +                     rq = i915_request_alloc(engine, lo.ctx);
> > > +                     if (IS_ERR(rq))
> > > +                             goto err_wedged;
> > > +                     i915_request_add(rq);
> > This request add is redundant. Wait for the last rq for lo.
> 
> Or not. And use a simple request as a flush and test.

The alternative would be to use igt_flush_test(). Some variance between
tests is good for serendipity.
-Chris
_______________________________________________
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