summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShuicheng Lin <shuicheng.lin@intel.com>2026-09-08 17:50:51 +0100
committerMatthew Auld <matthew.auld@intel.com>2026-09-09 10:57:10 +0100
commit32f0cb250598456d812fb7ca57a040282858323d (patch)
tree5ea66879407092233f112838d79c92a533276157 /tools/perf/scripts/python/stackcollapse.py
parent6666ca9192f3bdf839aad33b9e1c9ebb7a222a29 (diff)
downloadlinux-32f0cb250598456d812fb7ca57a040282858323d.tar.gz
linux-32f0cb250598456d812fb7ca57a040282858323d.zip
drm/xe/mmio_gem: Revoke drm_vma_node on xe_mmio_gem destroy
xe_mmio_gem_create() calls drm_vma_node_allow() but nothing ever calls drm_vma_node_revoke(). The drm_vma_offset_file rb-tree entry allocated by drm_vma_node_allow() is not freed by drm_gem_object_release(), so it is leaked on every create/destroy cycle. Add a struct drm_file * parameter to xe_mmio_gem_destroy() and call drm_vma_node_revoke() from there, mirroring the drm_vma_node_allow() call in xe_mmio_gem_create(). Fixes: 1ffcf8b8ae8a ("drm/xe: Support for mmap-ing mmio regions") Suggested-by: Ilia Levi <ilia.levi@intel.com> Assisted-by: Claude:claude-opus-4.6 Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com> Reviewed-by: Ilia Levi <ilia.levi@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260908165046.1393557-14-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions