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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux