]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit199a3e875232173a16415e9afe88d4ee078025e7
tree82f43d04b1188cbde51d5449cec69e290217551c
parentb144be80153cac7690f5375dd65f017117399bff
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