[PATCH 4/4] drm/i915: don't rewrite the GTT on resume v3

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

 



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


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