aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNiranjana Vishwanathapura <[email protected]>2022-06-15 00:13:47 +0530
committerRamalingam C <[email protected]>2022-06-27 23:47:26 +0530
commitbcb9aa45d5a0e11ef91245330c53cde214d15e8d (patch)
tree631e13bea111579a43959da6bdaa7b6120765194 /tools/perf/scripts/python/exported-sql-viewer.py
parent7307e91bfcd0e3f123aab01b30557f93923b6d73 (diff)
Revert "drm/i915: Hold reference to intel_context over life of i915_request"
This reverts commit 1e98d8c52ed5dfbaf273c4423c636525c2ce59e7. The problem with this patch is that it makes i915_request to hold a reference to intel_context, which in turn holds a reference on the VM. This strong back referencing can lead to reference loops which leads to resource leak. An example is the upcoming VM_BIND work which requires VM to hold a reference to some shared VM specific BO. But this BO's dma-resv fences holds reference to the i915_request thus leading to reference loop. v2: Do not use reserved requests for virtual engines Signed-off-by: Niranjana Vishwanathapura <[email protected]> Signed-off-by: Ramalingam C <[email protected]> Suggested-by: Matthew Brost <[email protected]> Reviewed-by: Mathew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions