]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Only emit flushes on active rings.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Aug 2010 12:55:32 +0000 (13:55 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:29 +0000 (11:24 -0700)
commit88f356b725c8a18c4da3ee0b6dcbc647418268f2
treea87dc23ec8370579c3a8c341b52f22033501e49f
parente044218a8ecb560b6fad65912a4e7e509db40414
drm/i915: Only emit flushes on active rings.

This avoids the excess flush and requests on idle rings (and spamming
the debug log ;-)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c