]> err.no Git - linux-2.6/commit
i915: fix AR register restore.
authorJesse Barnes <jesse.barnes@intel.com>
Fri, 22 Feb 2008 01:44:35 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 23 Feb 2008 00:50:29 +0000 (16:50 -0800)
commit39273b58a409cd6d65c9732bdca00bacd1626672
tree81163f10afceabb73b4a2a219f14b2313dd1b1d5
parent2f93d797ea92113a73c72728c475455cb1409fb3
i915: fix AR register restore.

Make sure the restoration correctly restores the AR registers by
flipping the ARX register into index mode before doing anything.

Without this, some people have had the text mode restore all green.

Signed-off-by: Jesse Barnes <jesse.barnes@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/drm/i915_drv.c