Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86006
b: refs/heads/master
c: da636ad
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Barnes authored and Dave Airlie committed Feb 19, 2008
1 parent d0c6e20 commit 6942677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f84e550a870bf5f5f399b611db68f3324ea7883
refs/heads/master: da636ad6a0d72eb5cb99738056af0bcc3db9ef9d
2 changes: 2 additions & 0 deletions trunk/drivers/char/drm/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ static void i915_save_vga(struct drm_device *dev)
dev_priv->saveAR[i] = i915_read_ar(st01, i, 0);
inb(st01);
outb(dev_priv->saveAR_INDEX, VGA_AR_INDEX);
inb(st01);

/* Graphics controller registers */
for (i = 0; i < 9; i++)
Expand Down Expand Up @@ -225,6 +226,7 @@ static void i915_restore_vga(struct drm_device *dev)
i915_write_ar(st01, i, dev_priv->saveAR[i], 0);
inb(st01); /* switch back to index mode */
outb(dev_priv->saveAR_INDEX | 0x20, VGA_AR_INDEX);
inb(st01);

/* VGA color palette registers */
outb(dev_priv->saveDACMASK, VGA_DACMASK);
Expand Down

0 comments on commit 6942677

Please sign in to comment.