diff options
author | Keith Packard <keithp@keithp.com> | 2012-01-20 00:13:47 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-01-20 13:20:44 -0500 |
commit | 8f0fc977f58c36e75e205486c1aebb9b8e4263e1 (patch) | |
tree | a6d48794c4b40c55cd7f857a4acf23af6ff64737 /drivers/gpu/drm | |
parent | bdfcdb63795b058bba9e78d32102b39014f649fe (diff) |
Revert "drm/i915: Work around gen7 BLT ring synchronization issues."
This reverts commit 42ff6572e5a4a7414330a4ca91f0335da67deca9.
New forcewake voodoo makes this no longer necessary.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index fa5702c5da4..1ab842c6032 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c | |||
@@ -805,17 +805,6 @@ ring_add_request(struct intel_ring_buffer *ring, | |||
805 | } | 805 | } |
806 | 806 | ||
807 | static bool | 807 | static bool |
808 | gen7_blt_ring_get_irq(struct intel_ring_buffer *ring) | ||
809 | { | ||
810 | /* The BLT ring on IVB appears to have broken synchronization | ||
811 | * between the seqno write and the interrupt, so that the | ||
812 | * interrupt appears first. Returning false here makes | ||
813 | * i915_wait_request() do a polling loop, instead. | ||
814 | */ | ||
815 | return false; | ||
816 | } | ||
817 | |||
818 | static bool | ||
819 | gen6_ring_get_irq(struct intel_ring_buffer *ring, u32 gflag, u32 rflag) | 808 | gen6_ring_get_irq(struct intel_ring_buffer *ring, u32 gflag, u32 rflag) |
820 | { | 809 | { |
821 | struct drm_device *dev = ring->dev; | 810 | struct drm_device *dev = ring->dev; |
@@ -1600,8 +1589,5 @@ int intel_init_blt_ring_buffer(struct drm_device *dev) | |||
1600 | 1589 | ||
1601 | *ring = gen6_blt_ring; | 1590 | *ring = gen6_blt_ring; |
1602 | 1591 | ||
1603 | if (IS_GEN7(dev)) | ||
1604 | ring->irq_get = gen7_blt_ring_get_irq; | ||
1605 | |||
1606 | return intel_init_ring_buffer(dev, ring); | 1592 | return intel_init_ring_buffer(dev, ring); |
1607 | } | 1593 | } |