[Intel-gfx] [PATCH] drm/i915: i915_gem_shrink_all() needs an awake device
Chris Wilson
chris at chris-wilson.co.uk
Wed Feb 8 21:04:58 UTC 2017
On Wed, Feb 08, 2017 at 03:26:26PM +0200, Mika Kuoppala wrote:
> Chris Wilson <chris at chris-wilson.co.uk> writes:
>
> > Since to unbind an object, we may need a powered up device to access the
> > GTT entries, we only shrink bound objects if awake. Callers to
> > i915_gem_shrink_all() had to take this into account and take the rpm
> > wakeref, but we can move this wakeref into the shrink_all itself for
> > convenience and making the function live up to its name.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
Ta, easiest review of the day :)
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list