]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/i915/i915_gem.c
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)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:35 +0000 (10:23 +0100)
commit8bff917c93e365a8a145f9b1be99c81257038151
treec9e336ff77954066572a3a8d43eb8edf7adad80f
parente35a41de3926ec81e3ed2ed31d1f30cecb3513f9
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>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c