diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-26 09:05:51 +0100 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-27 12:08:33 +0100 |
commit | b2d4b03b03a781f09148fa255baeccc3c3789ed2 (patch) | |
tree | 691e1ad050ef0b68b865b74c4ec9d77a28f19490 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4c2007540f2d89a3e708e884dda0df6975fd31bd (diff) |
drm/xe: Make the PT code handle placement per PTE rather than per vma / range
With SVM, ranges forwarded to the PT code for binding can, mostly
due to races when migrating, point to both VRAM and system / foreign
device memory. Make the PT code able to handle that by checking,
for each PTE set up, whether it points to local VRAM or to system
memory.
v2:
- Fix system memory GPU atomic access.
v3:
- Avoid the UAPI change. It needs more thought.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://lore.kernel.org/r/20250326080551.40201-6-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions