Commit 2b37c616 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Daniel Vetter

drm/i915: We implement WaEnableVGAAccessThroughIOPort:ctg, elk, ilk, snb, ivb, vlv, hsw

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c5c32cda
...@@ -10985,6 +10985,7 @@ static void i915_disable_vga(struct drm_device *dev) ...@@ -10985,6 +10985,7 @@ static void i915_disable_vga(struct drm_device *dev)
u8 sr1; u8 sr1;
u32 vga_reg = i915_vgacntrl_reg(dev); u32 vga_reg = i915_vgacntrl_reg(dev);
/* WaEnableVGAAccessThroughIOPort:ctg,elk,ilk,snb,ivb,vlv,hsw */
vga_get_uninterruptible(dev->pdev, VGA_RSRC_LEGACY_IO); vga_get_uninterruptible(dev->pdev, VGA_RSRC_LEGACY_IO);
outb(SR01, VGA_SR_INDEX); outb(SR01, VGA_SR_INDEX);
sr1 = inb(VGA_SR_DATA); sr1 = inb(VGA_SR_DATA);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment