diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/drm/i915_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/i915_drv.c b/drivers/char/drm/i915_drv.c index 4048f39b7eed..b2b451dc4460 100644 --- a/drivers/char/drm/i915_drv.c +++ b/drivers/char/drm/i915_drv.c | |||
@@ -222,6 +222,7 @@ static void i915_restore_vga(struct drm_device *dev) | |||
222 | dev_priv->saveGR[0x18]); | 222 | dev_priv->saveGR[0x18]); |
223 | 223 | ||
224 | /* Attribute controller registers */ | 224 | /* Attribute controller registers */ |
225 | inb(st01); | ||
225 | for (i = 0; i < 20; i++) | 226 | for (i = 0; i < 20; i++) |
226 | i915_write_ar(st01, i, dev_priv->saveAR[i], 0); | 227 | i915_write_ar(st01, i, dev_priv->saveAR[i], 0); |
227 | inb(st01); /* switch back to index mode */ | 228 | inb(st01); /* switch back to index mode */ |