]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor i915_gem_retire_requests()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Jul 2010 22:18:49 +0000 (23:18 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:52:57 +0000 (19:52 -0700)
commitfbedbdf368a9e6c3e6e47b58985322abead0f4c3
tree304b9bcb257b21bec30244e207e47d95035148bd
parentaa70f57a522fff159102074373d6e86083ac99bf
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>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c