diff options
author | Chris Wilson <[email protected]> | 2018-08-16 08:34:46 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2018-08-29 14:11:53 -0700 |
commit | f013027e266553effa3e9d9d62236ae5ee3b25e7 (patch) | |
tree | 3ed0c7d2949a67a02bb3ee93d7dce4b9b8a16f65 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1b1b1162745e5f9e5c6c095afc8081df3edabc50 (diff) |
drm/i915: Stop holding a ref to the ppgtt from each vma
The context owns both the ppgtt and the vma within it, and our activity
tracking on the context ensures that we do not release active ppgtt. As
the context fulfils our obligations for active memory tracking, we can
relinquish the reference from the vma.
This fixes a silly transient refleak from closed vma being kept alive
until the entire system was idle, keeping all vm alive as well.
Reported-by: Paulo Zanoni <[email protected]>
Testcase: igt/gem_ctx_create/files
Fixes: 3365e2268b6b ("drm/i915: Lazily unbind vma on close")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Paulo Zanoni <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Tested-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit a4417b7b419a68540ad7945ac4efbb39d19afa63)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions