diff options
| author | Chris Wilson <[email protected]> | 2016-08-15 10:48:50 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-08-15 11:00:57 +0100 |
| commit | 624192cfd37138f0e7a4e077ca9b19b080741294 (patch) | |
| tree | c8c1034a87528ef8a441a4b09c49edb54d78b203 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 78ef2d9abad6da3f94489148b4e08359dd2fb4fe (diff) | |
drm/i915: Add convenience wrappers for vma's object get/put
The VMA are unreferenced, they belong to the object and live until they
are closed. However, if we want to use the VMA as a cookie and use it to
keep the object alive, we want to hold onto a reference to the object
for the lifetime of the VMA cookie. To facilitate this, add a couple of
simple wrappers for managing the reference count on the object owning the
VMA.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions