commit | 69dc4987cbe5fe70ae1c2a08906d431d53cdd242 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Oct 19 10:36:51 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 20 10:51:51 2010 +0100 |
tree | e8864d862538096b70a7d12eb1f9763f6faa8c39 | |
parent | 87acb0a550694ff1a7725ea3a73b80d8ccf56180 [diff] |
drm/i915: Track objects in global active list (as well as per-ring) To handle retirements, we need per-ring tracking of active objects. To handle evictions, we need global tracking of active objects. As we enable more rings, rebuilding the global list from the individual per-ring lists quickly grows tiresome and overly complicated. Tracking the active objects in two lists is the lesser of two evils. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>