projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "drm/vbl rework: rework how the drm deals with vblank."
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
char
/
drm
/
i915_drv.c
diff --git
a/drivers/char/drm/i915_drv.c
b/drivers/char/drm/i915_drv.c
index 4048f39b7eed3acfad6b31b6e73b0c63ef73efc4..b2b451dc44608870a48cbfea56b7de522044aa40 100644
(file)
--- 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)
dev_priv->saveGR[0x18]);
/* Attribute controller registers */
+ inb(st01);
for (i = 0; i < 20; i++)
i915_write_ar(st01, i, dev_priv->saveAR[i], 0);
inb(st01); /* switch back to index mode */