summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-07-23 23:18:49 +0100
committerEric Anholt <eric@anholt.net>2010-08-01 19:52:57 -0700
commitb09a1feca65764311f8a3e14befb52b98d705f0a (patch)
tree304b9bcb257b21bec30244e207e47d95035148bd /drivers/gpu/drm/i915/i915_drv.c
parentb9421ae8f30958deea98d71477b4a77a066856b4 (diff)
downloadblackbird-op-linux-b09a1feca65764311f8a3e14befb52b98d705f0a.tar.gz
blackbird-op-linux-b09a1feca65764311f8a3e14befb52b98d705f0a.zip
drm/i915: Refactor i915_gem_retire_requests()
Combine the iteration over active render rings into a common function. This is in preparation for reusing the idle function to also retire deferred free requests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 119692f3ce9d..5044f653e8ea 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -340,7 +340,7 @@ int i965_reset(struct drm_device *dev, u8 flags)
/*
* Clear request list
*/
- i915_gem_retire_requests(dev, &dev_priv->render_ring);
+ i915_gem_retire_requests(dev);
if (need_display)
i915_save_display(dev);
OpenPOWER on IntegriCloud