aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2015-04-07 17:28:17 +0100
committerDaniel Vetter <[email protected]>2015-04-10 10:58:34 +0200
commitf6234c1deedd7d35a09366dba8d92c523ff9cf09 (patch)
treefbaaedb895127c6dd85c60d843dcf7b23d65a203 /tools/perf/scripts/python/bin
parent149c86e74fe44dcbac5e9f8d145c5fbc5dc21261 (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 <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions