drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode
commitfccdaba4317604602e5802c3afc4021f2fb8132e
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Jul 2009 06:13:14 +0000 (8 14:13 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 19:40:36 +0000 (10 12:40 -0700)
tree4655d44fbffb9cbdf88c90b12a15403c1ddc11c0
parentaf4fcb574efa90373b02ae0bb8b54d710c32eeb4
drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode

In KMS mode we now use the normal mode-setting paths to set the modes
back to the current configuration, so we don't need to also run the more
limited non-KMS implementation of modesetting for resume.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_suspend.c