i915: put ARX back into index mode before doing restore
Fixes resume from hibernate in some configurations.main
parent
0d32015974
commit
20d0e53916
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue