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 received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1041790

Title:
  [sandybridge-m-gt2] GPU lockup  IPEHR: 0x0b160001 IPEHR: 0x0b140001

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1041790/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to