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)
committerJesse Barnes <jesse.barnes@intel.com>
Tue, 29 Jan 2008 05:05:22 +0000 (21:05 -0800)
commit01f6afcfea9d315ad1473045da141bfc95bcb7e6
treee5ea6c6fb26001423991080329a4cb0e32995714
parentb8755ff7c33baac2abe5b5fe00897b33a896a098
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.
linux-core/i915_drv.c