]> git.baikalelectronics.ru Git - kernel.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)
commit0c418022e06ced8c340292d39bdd65210e1568c3
treea87dc23ec8370579c3a8c341b52f22033501e49f
parent7655c91d71e1df68bb66cfc86e436043ccf68768
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