drm/i915: restore pipeconf regs unconditionally
commitc0c4261b6fd80f0fc5546ed67058592469a4f5b7
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>
Fri, 8 Feb 2008 01:33:28 +0000 (7 17:33 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Feb 2008 23:42:12 +0000 (20 09:42 +1000)
tree7edcdb723401994367ff595c5aa3ebfc1b74181e
parent0da3ea12fc2607beb67c2d54d0347807ea615573
drm/i915: restore pipeconf regs unconditionally

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