[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 Fri, 02 Nov 2012 15:16:36 +0000
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> 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
> 

Ended up using dev_priv->opregion.header as the check, seems simplier.

Integrated your other comments and reposted a new series.

-- 
Jesse Barnes, Intel Open Source Technology Center


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