diff options
| author | 2026-08-06 11:51:51 -0700 | |
|---|---|---|
| committer | 2026-08-07 13:31:29 -0700 | |
| commit | 941bcc1a4bbf0749f80d13883468cd2c9f7763b1 (patch) | |
| tree | 698a92265d3abd05ed1bfd7b3ba754fb6bea98fc /scripts/Makefile.thinlto | |
| parent | Merge drm/drm-next into drm-xe-next (diff) | |
drm/xe: Fine grained page fault locking
Enable page faults to be serviced while holding vm->lock in read mode.
Introduce additional locks to:
- Ensure only one page fault thread services a given range or VMA
- Serialize SVM garbage collection
- Protect SVM range insertion and removal
While these locks may contend during page faults, expensive operations
like migration can now run in parallel within a single VM.
In addition to new locking, ranges must be reference-counted after
lookup, as another thread could immediately remove them from the GPU SVM
tree, potentially dropping the last reference.
Lastly, decouple the VM’s ASID from the page fault queue selection to
allow parallel page fault handling within the same VM.
Lays the groundwork for prefetch IOCTLs to use threaded migration too.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patch.msgid.link/20260806185202.3922432-2-matthew.brost@intel.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
