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

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 6 14:47:08 UTC 2017


On Mon, Mar 06, 2017 at 02:03:26PM +0000, 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 device is asleep and just mark it as
> >unused - so that when we do wake up the device, we will clear the unused
> >fence register (see i915_gem_restore_fences).
> >
> 
> Looks OK. At least my power management untrained eyes. :) But I've
> traced the code paths and all and it looks simple.

Ta. Too bad CI didn't hit this first so had I a bugzilla to cite.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list