Re: [Intel-gfx] [PATCH 3/9] drm/i915: Refactor execlists default context pinning

2016-04-19 Thread Tvrtko Ursulin
On 19/04/16 07:49, Chris Wilson wrote: Refactor pinning and unpinning of contexts, such that the default context for an engine is pinned during initialisation and unpinned during teardown (pinning of the context handles the reference counting). Thus we can eliminate the special case handling of

[Intel-gfx] [PATCH 3/9] drm/i915: Refactor execlists default context pinning

2016-04-18 Thread Chris Wilson
Refactor pinning and unpinning of contexts, such that the default context for an engine is pinned during initialisation and unpinned during teardown (pinning of the context handles the reference counting). Thus we can eliminate the special case handling of the default context that was required to m