[Bug 54226] [snb 3.5] stale semaphore sync seqno (typically as seen on bcs->rcs)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 30 13:01:58 PST 2013


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

--- Comment #33 from mikhail.v.gavrilov at gmail.com ---
Which patch I need applied for fix this issue?

I see that patches from comment 26 and 32  have similar logic...

@@ -596,6 +606,16 @@ gen6_add_request(struct intel_ring_buffer *ring)
     intel_ring_emit(ring, MI_USER_INTERRUPT);
     intel_ring_advance(ring);

+    if (IS_GEN6(ring->dev)) {
+        ret = intel_ring_begin(ring, 6);
+        if (ret)
+            return ret;
+
+        read_mboxes(ring, mbox1_reg, 1024);
+        read_mboxes(ring, mbox2_reg, 1028);
+        intel_ring_advance(ring);
+    }
+
     return 0;
 }

@@ -598,6 +598,19 @@ gen6_add_request(struct intel_ring_buffer *ring)
     intel_ring_emit(ring, MI_USER_INTERRUPT);
     intel_ring_advance(ring);

+    if (IS_GEN6(ring->dev)) {
+        ret = intel_ring_begin(ring, 6);
+        if (ret)
+            return ret;
+
+        mbox1_reg = ring->signal_mbox[0];
+        mbox2_reg = ring->signal_mbox[1];
+
+        update_mboxes(ring, mbox1_reg);
+        update_mboxes(ring, mbox2_reg);
+        intel_ring_advance(ring);
+    }
+
     return 0;
 }

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


More information about the intel-gfx-bugs mailing list