[Intel-gfx] [PATCH v2 1/2] drm/i915: signal first fence from irq handler if complete

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 24 11:01:11 UTC 2017


On Fri, Feb 24, 2017 at 10:47:29AM +0000, Tvrtko Ursulin wrote:
> 
> On 24/02/2017 10:19, Chris Wilson wrote:
> >Ah, found the complication. Here we want intel_engine_wakeup() to
> >report if there was a waiter, but in intel_breadcrumbs_hangcheck, we
> >want to know if we failed to wakeup the waiter.
> >
> >Just grin and bear it for the moment. :|
> 
> I've missed that detail. Makes sense.

Since I ended up opencoding it in the next patch, I think I have a
better idea now to return flags showing waiter | sleeper.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list