summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIlia Levi <ilia.levi@intel.com>2026-09-08 17:50:52 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2026-09-14 09:09:01 -0400
commitde40d31275cd57408ff1fdd97ea117a3f8c50cc5 (patch)
tree67fc14ce8ae528dea91c432d2764e8b5f97c5d49 /tools/perf/scripts/python
parent37fcbd7b2f8996d783932dab11bc668e169b0de6 (diff)
downloadlinux-next-de40d31275cd57408ff1fdd97ea117a3f8c50cc5.tar.gz
linux-next-de40d31275cd57408ff1fdd97ea117a3f8c50cc5.zip
drm/xe/mmio_gem: cache the dummy page per object
Currently, when the fault handler provides a dummy page, it allocates a new one on every invocation and ties its lifetime to the drm_device via drmm_add_action_or_reset(). Concurrent faults after hot-unplug therefore accumulate pages that persist until device teardown. Cache a single dummy page in the xe_mmio_gem object and use dma_resv lock to protect its allocation. Free it with the object. v2: use dma_resv lock to protect the allocation (Matt Auld) Assisted-by: GitHub-Copilot:claude-opus-4.6 Signed-off-by: Ilia Levi <ilia.levi@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260908165046.1393557-15-matthew.auld@intel.com (cherry picked from commit 8bf6213f9831e46313af4722a1ee6db1b7596378) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions