Re: [Intel-gfx] [PATCH 2/7] drm/i915/selftests: Exercise timeslice rewinding

2020-02-11 Thread Chris Wilson
Quoting Mika Kuoppala (2020-02-11 14:50:08) > Chris Wilson writes: > > + /* Release the hounds! */ > > + slot[0] = 1; > > + wmb(); > > + > > + for (i = 1; i <= 3; i++) { > > + unsigned long timeout = jiffies + HZ / 2; > > + > > +

Re: [Intel-gfx] [PATCH 2/7] drm/i915/selftests: Exercise timeslice rewinding

2020-02-11 Thread Mika Kuoppala
Chris Wilson writes: > Originally, I did not expect having to rewind a context upon > timeslicing: the point was to replace the executing context with an idle I think you said 'non executing' and it would fit better. > one! However, given a second context that depends on requests from the >

[Intel-gfx] [PATCH 2/7] drm/i915/selftests: Exercise timeslice rewinding

2020-02-10 Thread Chris Wilson
Originally, I did not expect having to rewind a context upon timeslicing: the point was to replace the executing context with an idle one! However, given a second context that depends on requests from the first, we may have to split the requests along the first context to execute the second,