diff options
author | Chris Wilson <[email protected]> | 2020-05-03 18:15:13 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-05-04 11:12:37 +0100 |
commit | 6983dafa310afdb416af091578019e58a773984e (patch) | |
tree | 13ed227c1fc973df187e3f5b4d5889d850aa1a92 /tools/perf/scripts/python/syscall-counts.py | |
parent | 389b7f00c7396a3347743fcde5bbf0c00dd0cf71 (diff) |
drm/i915/gem: Lazily acquire the device wakeref for freeing objects
We only need the device wakeref on freeing the objects if we have to
unbind the object from the global GTT, or otherwise update device
information. If the objects are clean, we never need the wakeref, so
avoid taking until required.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Janusz Krzysztofik <[email protected]>
Reviewed-by: Janusz Krzysztofik <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions