[Bug 76554] [gm45 regression] [drm:init_ring_common]: *ERROR* render ring initialization failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 12 08:14:42 PDT 2014


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

--- Comment #60 from Mika Kuoppala <mika.kuoppala at intel.com> ---
No good ideas here either, but would be nice to see if this makes a difference
on
ring init:

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 4024e16..708a1da 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -573,6 +573,15 @@ static int i915_drm_thaw_early(struct drm_device *dev)
 static int __i915_drm_thaw(struct drm_device *dev, bool restore_gtt_mappings)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
+       int ret;
+
+       mutex_lock(&dev->struct_mutex);
+       ret = intel_gpu_reset(dev);
+       mutex_unlock(&dev->struct_mutex);
+
+       if (ret)
+               DRM_ERROR("failed to reset the GPU on resume (%d), ignoring\n",
+                         ret);

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


More information about the intel-gfx-bugs mailing list