Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293595
b: refs/heads/master
c: 99ffa16
h: refs/heads/master
i:
  293593: e986d95
  293591: e85339a
v: v3
  • Loading branch information
Daniel Vetter committed Feb 13, 2012
1 parent 7447b7e commit 317b765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53d227f282eb9fa4c7cdbfd691fa372b7ca8c4c3
refs/heads/master: 99ffa1629d737295e569267cf5940758139f9ddb
12 changes: 0 additions & 12 deletions trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1785,18 +1785,6 @@ static void ironlake_irq_preinstall(struct drm_device *dev)

I915_WRITE(HWSTAM, 0xeffe);

if (IS_GEN6(dev)) {
/* Workaround stalls observed on Sandy Bridge GPUs by
* making the blitter command streamer generate a
* write to the Hardware Status Page for
* MI_USER_INTERRUPT. This appears to serialize the
* previous seqno write out before the interrupt
* happens.
*/
I915_WRITE(GEN6_BLITTER_HWSTAM, ~GEN6_BLITTER_USER_INTERRUPT);
I915_WRITE(GEN6_BSD_HWSTAM, ~GEN6_BSD_USER_INTERRUPT);
}

/* XXX hotplug from PCH */

I915_WRITE(DEIMR, 0xffffffff);
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_ringbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,7 @@ gen6_ring_get_irq(struct intel_ring_buffer *ring, u32 gflag, u32 rflag)
/* It looks like we need to prevent the gt from suspending while waiting
* for an notifiy irq, otherwise irqs seem to get lost on at least the
* blt/bsd rings on ivb. */
if (IS_GEN7(dev))
gen6_gt_force_wake_get(dev_priv);
gen6_gt_force_wake_get(dev_priv);

spin_lock(&ring->irq_lock);
if (ring->irq_refcount++ == 0) {
Expand All @@ -826,8 +825,7 @@ gen6_ring_put_irq(struct intel_ring_buffer *ring, u32 gflag, u32 rflag)
}
spin_unlock(&ring->irq_lock);

if (IS_GEN7(dev))
gen6_gt_force_wake_put(dev_priv);
gen6_gt_force_wake_put(dev_priv);
}

static bool
Expand Down

0 comments on commit 317b765

Please sign in to comment.