diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-03-05 17:26:36 -0800 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-03-06 11:35:38 -0800 |
commit | 074e40d9c2a84939fe28d7121d3469db50f34a3d (patch) | |
tree | 167e4e0db0d2fd73912aaf40e424d0eda2b9ab1f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 85d4653354690891296352d68dfc4497414ae153 (diff) |
drm/xe: Nuke VM's mapping upon close
Clear root PT entry and invalidate entire VM's address space when
closing the VM. Will prevent the GPU from accessing any of the VM's
memory after closing.
v2:
- s/vma/vm in kernel doc (CI)
- Don't nuke migration VM as this occur at driver unload (CI)
v3:
- Rebase and pull into SVM series (Thomas)
- Wait for pending binds (Thomas)
v5:
- Remove xe_gt_tlb_invalidation_fence_fini in error case (Matt Auld)
- Drop local migration bool (Thomas)
v7:
- Add drm_dev_enter/exit protecting invalidation (CI, Matt Auld)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-12-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions