diff options
author | 2018-09-26 16:29:49 +0200 | |
---|---|---|
committer | 2018-09-28 08:57:08 +0200 | |
commit | 1b9a01d62cb1bed2bc98f8b4e31d5b9daf0a446b (patch) | |
tree | e26303fbb82b5c14f7fe502926ffb52befb02a5c /tools/perf/scripts/python | |
parent | drm/vmwgfx: Don't refcount command-buffer managed resource lookups during command buffer validation (diff) | |
download | linux-dev-1b9a01d62cb1bed2bc98f8b4e31d5b9daf0a446b.tar.xz linux-dev-1b9a01d62cb1bed2bc98f8b4e31d5b9daf0a446b.zip |
drm/vmwgfx: Don't refcount cotable lookups during command buffer validation
The typical pattern of these lookups are
-Lookup
-Put on validate list if not already there.
-Unreference
And since we are the exclusive user of the context during lookup time,
we can be sure that the resource will stay alive during the sequence.
So avoid taking a reference during lookup, and also avoid unreferencing
when done. There are two users outside of command buffer validation and
those are refcounted explicitly.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions