[Intel-gfx] [PATCH 3/3] drm/i915: don't rewrite the GTT on resume v2

Chris Wilson chris at chris-wilson.co.uk
Sun Oct 28 11:47:27 CET 2012


On Fri, 26 Oct 2012 10:08:38 -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 ~50ms on resume on my T420.
> 
> v2: change gtt restore default on pre-gen4 (Chris)
>     move needs_gtt_restore flag into dev_priv

I'm confident that it will work on gen3 now as well, just gen2 remains
doubtful. Hmm, I still have the pnv box that required the GTT rewrite
after resume on my desk...  Perhaps a more explicit test for a "sane" BIOS
would be one that provides OpRegion.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list