]> git.baikalelectronics.ru Git - kernel.git/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)
commit9248cad6bfaf4ba4206a6cc7b95c34c033024e9a
treed4db29714f1f1e119be9b7a359e6d77e599547bc
parente86e03bac1665f58cd759f98271d3c335b9edc09
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