mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 23:00:11 +01:00
i915: put ARX back into index mode before doing restore
Fixes resume from hibernate in some configurations.
This commit is contained in:
parent
0d32015974
commit
20d0e53916
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue