[Intel-gfx] [PATCH 2/3] drm/i915: Take runtime pm in i915_gem_resume()

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 18 10:47:59 UTC 2016


On Fri, Nov 18, 2016 at 12:06:02PM +0200, David Weinehall wrote:
> In i915_gem_resume(), before calling i915_gem_restore_gtt_mappings(),
> we want to take the runtime PM reference; this to allow for later
> optimisation.

...to hold the rpm wakelocks for the entire duration instead of many short
lived wakelocks around each access to the GGTT. We will take it in
i915_gem_resume() as any other GEM operation is likely to require the gT
powerwell as well.

> Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>
> CC: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list