diff options
| author | 2012-11-02 11:14:02 -0700 | |
|---|---|---|
| committer | 2012-11-11 23:51:42 +0100 | |
| commit | 1abd02e2dd7e0bd577000301fb2fd47780637387 (patch) | |
| tree | 9f0029d3410fe4b6c96253ce467e6071ad0db7c6 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: protect RPS/RC6 related accesses (including PCU) with a new mutex (diff) | |
| download | linux-dev-1abd02e2dd7e0bd577000301fb2fd47780637387.tar.xz linux-dev-1abd02e2dd7e0bd577000301fb2fd47780637387.zip | |
drm/i915: don't rewrite the GTT on resume v4
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)
v4: use a better check for opregion (Chris)
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Kill the needs_gtt_restore indirection and check directly for
OpRegion. Also explain in a comment what's going on.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
