Re: [PATCH] drm/i915: Clear gt.active_requests before checking idle status

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

 



On Fri, Mar 31, 2017 at 08:40:36PM +0100, Matthew Auld wrote:
> On 03/31, Chris Wilson wrote:
> > commit 8490ae207f1d ("drm/i915: Suppress busy status for engines if
> > wedged") moved the check for inflight requests to the
> > intel_engines_are_idle() check to protect the idle worker. However, the
> > request selftests were also checking the engine idle status and erroring
> > out if they did not become idle within a short period of time after the
> > final wait. In order to accommodate the new check, call retire requests
> > prior to the engine check so that we flush all the waits.
> > 
> > Fixes: 8490ae207f1d ("drm/i915: Suppress busy status for engines if wedged")
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx>
> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> Reviewed-by: Matthew Auld <matthew.william.auld@xxxxxxxxx>

Pushed, simple fix to live_request -- my bad.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux