The source project of this merge request has been removed.
Use huge pages for system memory on binds
Based on patch by @thomash: !167 (98362d0c)
Fairly straight forward, use the dma-address cursor to determine if system memory BOs / userptr can use huge pages.
Verified on TGL xe_vm.large-binds* passes and huge pages are used (only 2MB used in the test due to limitation in the allocator).
I'd say let's get this in as @thomash works on !167 (closed) in parallel.
A follow up will update xe_migrate to use large pages for clears / copys.
Edited by Matthew Brost