Re: [Intel-gfx] [PATCH 4/7] drm/i915: Only track live rings for retiring

2018-04-27 Thread Tvrtko Ursulin
On 26/04/2018 18:49, Chris Wilson wrote: We don't need to track every ring for its lifetime as they are managed by the contexts/engines. What we do want to track are the live rings so that we can sporadically clean up requests if userspace falls behind. We can simply restrict the gt->rings list

[Intel-gfx] [PATCH 4/7] drm/i915: Only track live rings for retiring

2018-04-26 Thread Chris Wilson
We don't need to track every ring for its lifetime as they are managed by the contexts/engines. What we do want to track are the live rings so that we can sporadically clean up requests if userspace falls behind. We can simply restrict the gt->rings list to being only gt->live_rings. v2: s/live/ac

[Intel-gfx] [PATCH 4/7] drm/i915: Only track live rings for retiring

2018-04-25 Thread Chris Wilson
We don't need to track every ring for its lifetime as they are managed by the contexts/engines. What we do want to track are the live rings so that we can sporadically clean up requests if userspace falls behind. We can simply restrict the gt->rings list to being only gt->live_rings. v2: s/live/ac