diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-07 17:28:17 +0100 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-10 10:58:34 +0200 |
| commit | f6234c1deedd7d35a09366dba8d92c523ff9cf09 (patch) | |
| tree | fbaaedb895127c6dd85c60d843dcf7b23d65a203 /tools/perf/scripts/python | |
| parent | 149c86e74fe44dcbac5e9f8d145c5fbc5dc21261 (diff) | |
drm/i915: Simplify object is-pinned checking for shrinker
When looking for viable candidates to shrink, we only want objects that
are not pinned. However to do so we performed a double iteration over
the vma in the objects, first looking for the pin-count, then looking
for allocations. We can do both at once and be slightly more explicit in
our validity test.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
