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)
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

Simple merge