commit | 60a5372777b05c78ec25f1bc1883cb59b2418255 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 03 10:29:51 2014 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Oct 03 13:52:15 2014 +0200 |
tree | 655e1dcbca85d68ec0950b693cac2e6e11b81fc0 | |
parent | fca52a5565fbf4abc4ee4fca81842dc1f6ecdce8 [diff] |
drm/i915: Remove the duplicated logic between the two shrink phases We can use the same logic to walk the different bound/unbound lists during shrinker (as the unbound list is a degenerate case of the bound list), slightly compacting the code. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>