intel: Scan the cache for old bo once every second.
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 14:21:48 +0000 (15:21 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 21:37:18 +0000 (22:37 +0100)
commitf16b4164d686893949daa3217a011d21c5bd7f95
tree0a6c1d79cdb33c11c41b81c5efceb32f304b3509
parent5eec286838118501dd79178c152000ad4cbd70e1
intel: Scan the cache for old bo once every second.

Rearrange the cache cleanup so that we always scan following a final
unreference, and guard against multiple scans in a single second.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c