drm/i915: Don't restore palettes through VGA registers.
authorPierre Willenbrock <pierre@pirsoft.de>
Wed, 25 Feb 2009 16:49:51 +0000 (17:49 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 10 Mar 2009 20:11:12 +0000 (13:11 -0700)
commit66824bd7b5dc22da367595359bfcd1149c4ce92a
tree82f43d04b1188cbde51d5449cec69e290217551c
parent0fce81e3ccd093f4826de40fbd27fac9632f6170
drm/i915: Don't restore palettes through VGA registers.

The VGA registers just hit the pipe registers that we already set through
MMIO.  This fixes strange colors on resume.

Signed-off-by: Pierre Willenbrock <pierre@pirsoft.de>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c