drm/i915: restore pipeconf regs unconditionally
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>
Fri, 8 Feb 2008 01:33:28 +0000 (17:33 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Feb 2008 23:42:12 +0000 (09:42 +1000)
On many chipsets, the checks for DPLL enable or VGA mode will prevent the pipeconf regs from being restored, which could result in a blank display or X failing to come back after resume.  So restore them unconditionally along with actually restoring pipe B's palette correctly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/i915_drv.c

Simple merge