diff options
author | 2018-09-26 16:27:54 +0200 | |
---|---|---|
committer | 2018-09-28 08:57:08 +0200 | |
commit | b139d43dacef688a4f46f29eef34409e950f7cef (patch) | |
tree | 0dfbe5af323d2b3c7a769c0120d21d1aef23a8d6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | drm/vmwgfx: Look up user buffer objects without taking a reference (diff) | |
download | linux-dev-b139d43dacef688a4f46f29eef34409e950f7cef.tar.xz linux-dev-b139d43dacef688a4f46f29eef34409e950f7cef.zip |
drm/vmwgfx: Make buffer object lookups reference-free during validation
Make the process of looking up a buffer object and adding it to the
validation list reference-free unless when it's actually added to the
validation list where a single reference is taken.
This saves two locked atomic operations per command stream buffer object
handle lookup.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions