diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 4ea331b931fd..80ed75117b6d 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
@@ -592,10 +592,8 @@ static int i915_dispatch_flip(struct drm_device * dev) | |||
592 | 592 | ||
593 | static int i915_quiescent(struct drm_device *dev) | 593 | static int i915_quiescent(struct drm_device *dev) |
594 | { | 594 | { |
595 | struct intel_ring_buffer *ring = LP_RING(dev->dev_private); | ||
596 | |||
597 | i915_kernel_lost_context(dev); | 595 | i915_kernel_lost_context(dev); |
598 | return intel_wait_ring_idle(ring); | 596 | return intel_ring_idle(LP_RING(dev->dev_private)); |
599 | } | 597 | } |
600 | 598 | ||
601 | static int i915_flush_ioctl(struct drm_device *dev, void *data, | 599 | static int i915_flush_ioctl(struct drm_device *dev, void *data, |