drm/i915: Periodically flush the active lists and requests
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 9 Jan 2011 21:05:44 +0000 (21:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 22:15:30 +0000 (22:15 +0000)
commit0a58705b2fc3fa29525cf2fdae3d4276a5771280
tree86286dbcc87b93c411adc22aae9e4ace1975b480
parentd9126400580e2caada85fa68799952956a6062fd
drm/i915: Periodically flush the active lists and requests

In order to retire active buffers whilst no client is active, we need to
insert our own flush requests onto the ring.

This is useful for servers that queue up some rendering and then go to
sleep as it allows us to the complete processing of those requests,
potentially making that memory available again much earlier.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c