projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d32015
)
i915: put ARX back into index mode before doing restore
author
Jesse Barnes
<jesse.barnes@intel.com>
Fri, 22 Feb 2008 21:57:38 +0000
(13:57 -0800)
committer
Jesse Barnes
<jesse.barnes@intel.com>
Fri, 22 Feb 2008 21:57:38 +0000
(13:57 -0800)
Fixes resume from hibernate in some configurations.
linux-core/i915_drv.c
patch
|
blob
|
history
diff --git
a/linux-core/i915_drv.c
b/linux-core/i915_drv.c
index
cfcb62e
..
e18bc8d
100644
(file)
--- a/
linux-core/i915_drv.c
+++ b/
linux-core/i915_drv.c
@@
-247,6
+247,7
@@
static void i915_restore_vga(struct drm_device *dev)
dev_priv->saveGR[0x18]);
/* Attribute controller registers */
+ inb(st01); /* switch back to index mode */
for (i = 0; i < 20; i++)
i915_write_ar(st01, i, dev_priv->saveAR[i], 0);
inb(st01); /* switch back to index mode */