diff options
author | Chris Wilson | 2010-09-23 12:00:38 +0200 |
---|---|---|
committer | Chris Wilson | 2010-09-23 12:02:55 +0200 |
commit | 20f0cd55f68e0678909214c60b3595a22124bdb0 (patch) | |
tree | c64fb737f3047896c387b7eb0de4936d0d500ebe /drivers/gpu/drm/i915/i915_gem.c | |
parent | drm/i915/crt: Use a DDC probe on 0xA0 before load-detect (diff) | |
download | kernel-qcow2-linux-20f0cd55f68e0678909214c60b3595a22124bdb0.tar.gz kernel-qcow2-linux-20f0cd55f68e0678909214c60b3595a22124bdb0.tar.xz kernel-qcow2-linux-20f0cd55f68e0678909214c60b3595a22124bdb0.zip |
drm/i915: Remove the broken flush_ring from page-flip
This is already performed with the pipelined flush, so by the time we
schedule the flush in the page-flip, the ring is NULL and we OOPs
instead.
Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 3fd69ad19aa7..174e38abc9ef 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -1924,7 +1924,7 @@ i915_wait_request(struct drm_device *dev, uint32_t seqno, return i915_do_wait_request(dev, seqno, 1, ring); } -void +static void i915_gem_flush_ring(struct drm_device *dev, struct drm_file *file_priv, struct intel_ring_buffer *ring, |