Jesse Barnes
1abd02e2dd
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 >
2012-11-11 23:51:42 +01:00
..
2012-10-16 18:07:12 -07:00
2012-10-05 22:32:05 -03:00
2012-10-06 03:04:40 +09:00
2012-10-09 16:23:02 +09:00
2012-09-29 15:37:49 +01:00
2012-10-11 09:04:23 +09:00
2012-10-02 13:38:27 -07:00
2012-10-01 19:39:48 -07:00
2012-08-20 14:51:24 -07:00
2012-10-16 18:14:31 -07:00
2012-10-02 17:26:42 -07:00
2012-10-02 18:32:35 -07:00
2012-10-02 13:38:27 -07:00
2012-10-08 14:58:56 -07:00
2012-10-08 22:52:54 -04:00
2012-10-07 20:55:16 +09:00
2012-08-21 13:18:23 -07:00
2012-10-10 11:10:41 +09:00
2012-10-06 03:16:12 +09:00
2012-10-02 09:54:49 -07:00
2012-10-09 18:26:28 +02:00
2012-10-19 14:07:47 -07:00
2012-10-17 17:40:18 +00:00
2012-11-11 23:51:42 +01:00
2012-10-11 00:45:21 -07:00
2012-09-05 12:12:38 -07:00
2012-10-14 15:21:33 -07:00
2012-09-10 13:19:25 +03:00
2012-10-11 10:27:51 +09:00
2012-10-06 03:04:41 +09:00
2012-09-26 22:28:21 -04:00
2012-09-22 10:29:19 +01:00
2012-10-10 19:52:19 +09:00
2012-10-13 10:56:03 +09:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-10 22:50:45 -04:00
2012-10-10 20:14:07 +09:00
2012-10-07 21:04:56 +09:00
2012-10-06 03:16:12 +09:00
2012-10-13 13:22:01 -07:00
2012-10-17 16:45:56 -03:00
2012-09-26 14:04:09 -07:00
2012-09-14 17:59:29 +01:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 17:21:40 -04:00
2012-10-09 15:08:42 +01:00
2012-10-16 14:41:47 -04:00
2012-09-27 10:47:48 +02:00
2012-10-17 15:53:03 -05:00
2012-10-09 16:22:18 +09:00
2012-08-22 11:34:38 -06:00
2012-10-09 16:11:46 +09:00
2012-10-06 03:16:12 +09:00
2012-10-19 15:40:18 -07:00
2012-10-15 09:09:27 +02:00
2012-10-09 01:47:35 -04:00
2012-09-21 13:30:29 -04:00
2012-10-13 11:27:59 +09:00
2012-10-06 03:04:56 +09:00
2012-09-22 15:42:38 -04:00
2012-10-10 20:15:24 +09:00
2012-10-11 08:50:15 +09:00
2012-10-05 12:01:30 +09:00
2012-10-07 21:04:56 +09:00
2012-10-07 21:04:56 +09:00
2012-10-11 08:50:16 +09:00
2012-10-16 14:41:46 -04:00
2012-09-21 12:08:56 -07:00
2012-10-19 15:40:18 -07:00
2012-10-15 14:08:48 +09:00
2012-10-19 15:40:18 -07:00
2012-10-17 14:10:10 -07:00
2012-10-11 09:04:23 +09:00
2012-10-15 14:00:07 -07:00
2012-10-19 11:28:59 -07:00
2012-10-09 16:22:19 +09:00
2012-10-19 17:32:37 -07:00
2012-10-10 09:10:32 -06:00
2012-10-10 19:52:19 +09:00
2012-10-19 14:07:47 -07:00
2012-09-28 15:05:16 +09:30
2012-09-06 13:29:11 -07:00
2012-10-01 12:09:59 -07:00
2012-10-07 21:06:10 +09:00
2012-10-19 11:54:21 -07:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00