[Intel-gfx] [PATCH 4/4] drm/i915: don't rewrite the GTT on resume v3
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 2 16:16:36 CET 2012
On Wed, 31 Oct 2012 15:41:05 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> The BIOS shouldn't be touching this memory across suspend/resume, so
> just leave it alone. This saves us ~6ms on resume on my T420 (retested
> with write combined PTEs).
>
> v2: change gtt restore default on pre-gen4 (Chris)
> move needs_gtt_restore flag into dev_priv
> v3: make sure we restore GTT on resume from hibernate (Daniel)
> use opregion support as the cutoff for restore from resume (Chris)
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
My troublesome PNV of yore remains happy with this patch, so
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Bikeshed: intel_bios_has_opregion(), as we test for this in different
locations in different ways.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list