]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Jul 2009 06:13:14 +0000 (14:13 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 19:40:36 +0000 (12:40 -0700)
commit5bc7fde27aeeb21b8c47025ef3b51db0193c814e
tree4655d44fbffb9cbdf88c90b12a15403c1ddc11c0
parent4b5b90f09335e1d4e50c45e658cb65442662433d
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