Re: [Intel-gfx] [PATCH 3/3] drm/i915: Take rpm wakelock for releasing the fence on unbind

2017-03-06 Thread Chris Wilson
On Mon, Mar 06, 2017 at 02:03:26PM +, Tvrtko Ursulin wrote: > > On 06/03/2017 09:29, Chris Wilson wrote: > >Unbind the vma may happen at any time, outside of the normal GT wakeref. > >As such it relies on having a wakeref of its own. However, we can forgo > >clearing the register whilst the de

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Take rpm wakelock for releasing the fence on unbind

2017-03-06 Thread Tvrtko Ursulin
On 06/03/2017 09:29, Chris Wilson wrote: Unbind the vma may happen at any time, outside of the normal GT wakeref. As such it relies on having a wakeref of its own. However, we can forgo clearing the register whilst the device is asleep and just mark it as unused - so that when we do wake up the

[Intel-gfx] [PATCH 3/3] drm/i915: Take rpm wakelock for releasing the fence on unbind

2017-03-06 Thread Chris Wilson
Unbind the vma may happen at any time, outside of the normal GT wakeref. As such it relies on having a wakeref of its own. However, we can forgo clearing the register whilst the device is asleep and just mark it as unused - so that when we do wake up the device, we will clear the unused fence regis