drm/i915: move flushing list processing to i915_gem_flush
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Feb 2010 21:19:40 +0000 (22:19 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Mar 2010 21:39:05 +0000 (22:39 +0100)
commit6feb1cb3da83ee2190d45acf5922fd7361f18f9f
tree1a518ba422fd39e282f2b6bd0c542bba9c5379d5
parent3679ecacec3eae7a01a98dfd28ed67986a066b29
drm/i915: move flushing list processing to i915_gem_flush

Now that we can move objects to the active list without already having
emitted a request, move the flushing list handling into i915_gem_flush.
This makes more sense and allows to drop a few i915_add_request calls
that are not strictly necessary.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c