diff options
author | 2018-09-26 16:32:40 +0200 | |
---|---|---|
committer | 2018-09-28 08:57:09 +0200 | |
commit | e8c66efbfe3a2e3cbc573f2474a3d51690f1b857 (patch) | |
tree | f6f43b8ada79b82dd0f577686638caf46cb5b45a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm/vmwgfx: Don't refcount cotable lookups during command buffer validation (diff) | |
download | linux-dev-e8c66efbfe3a2e3cbc573f2474a3d51690f1b857.tar.xz linux-dev-e8c66efbfe3a2e3cbc573f2474a3d51690f1b857.zip |
drm/vmwgfx: Make user resource lookups reference-free during validation
Make the process of looking up a user resource 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, unless there is a lookup cache hit.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions