]> err.no Git - linux-2.6/commit
drm/i915: Fix hibernate save/restore of VGA attribute regs
authorJesse Barnes <jesse.barnes@intel.com>
Tue, 29 Jan 2008 05:05:22 +0000 (21:05 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Feb 2008 23:45:14 +0000 (09:45 +1000)
commitda636ad6a0d72eb5cb99738056af0bcc3db9ef9d
treed4db29714f1f1e119be9b7a359e6d77e599547bc
parent1f84e550a870bf5f5f399b611db68f3324ea7883
drm/i915: Fix hibernate save/restore of VGA attribute regs

In hibernate, we may end up calling the VGA save regs function twice, so we need to make sure it's idempotent.  That means leaving ARX in index mode after the first save operation.  Fixes hibernate on 965.

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