[Intel-gfx] [PATCH 1/5] drm/i915: Remove waiting & retiring from shrinker paths

Matthew Auld matthew.auld at intel.com
Fri Jun 21 15:01:42 UTC 2019


On 21/06/2019 14:05, Chris Wilson wrote:
> i915_gem_wait_for_idle() and i915_retire_requests() introduce a
> dependency on the timeline->mutex. This is problematic as we want to
> later perform allocations underneath i915_active.mutex, forming a link
> between the shrinker, the timeline and active mutexes. Nip this cycle in
> the bud by removing the acquisition of the timeline mutex (i.e.
> retiring) from inside the shrinker.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list