[Bug 96473] i915.ko corrupt text lines at top, [drm] GPU HANG: ecode 2:0:0x037fffc1, reason: Ring hung

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 12 08:11:20 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96473

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
Something to try just to check that the VGA disable is taking effect as soon as
we expect:

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 801e4c17dd8d..2b9410ad91e4 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -15425,6 +15425,9 @@ static void i915_disable_vga(struct drm_device *dev)

        I915_WRITE(vga_reg, VGA_DISP_DISABLE);
        POSTING_READ(vga_reg);
+
+       I915_WRITE(vga_reg, VGA_DISP_DISABLE);
+       POSTING_READ(vga_reg);
 }

 void intel_modeset_init_hw(struct drm_device *dev)
@@ -16204,6 +16207,8 @@ void intel_modeset_gem_init(struct drm_device *dev)
        }

        intel_backlight_register(dev);
+
+       i915_redisable_vga(dev);
 }

 void intel_connector_unregister(struct intel_connector *intel_connector)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160612/34382888/attachment.html>


More information about the intel-gfx-bugs mailing list