Commit Graph

2668 Commits

Author SHA1 Message Date
Lukasz Jobczyk
c888e8d57c Revert "refactor: Move residency controller to wddm"
This reverts commit 2e5cfc190e.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-17 09:00:52 +02:00
Grochowski, Stanislaw
6a8b20edb8 fix: add media context helper
Related-To: NEO-16154

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-10-16 15:26:08 +02:00
Lukasz Jobczyk
2e5cfc190e refactor: Move residency controller to wddm
Resolves: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-16 14:35:55 +02:00
Chandio, Bibrak Qamar
49020f234d feature: Support for pStart
Related-To: NEO-15156, GSD-9939

Support for start address hint on zeVirtualMemReserve.
If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-10-16 00:22:00 +02:00
Jemale Lockett
0528f24764 refactor: Remove unnecessary function definition
Related-To: NEO-16425

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-15 16:49:09 +02:00
Mateusz Jablonski
35f6dc12b8 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-15 16:19:04 +02:00
Lukasz Jobczyk
f1f13f05e2 refactor: Move monitor fence to os context win
Related-To: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-15 11:06:54 +02:00
Jemale Lockett
0de2b26c7c fix: Fix mixed deletion errors
Resolves: NEO-16425

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-14 20:25:32 +02:00
Lukasz Jobczyk
a45a4ab44e refactor: Remove osContextId member from residency controller
Related-To: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-14 10:38:54 +02:00
Jemale Lockett
765af92aca refactor: Add type conversion handling methods for EuDebugInterface
Resolves: NEO-16068

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-13 23:56:33 +02:00
Szymon Morek
f90f73e3e4 fix: don't create threads during process shutdown
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-13 18:09:41 +02:00
Lukasz Jobczyk
6515e422e9 refactor: move eviction container to residency controller
Related-To: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-13 08:41:34 +02:00
shubham kumar
7a97b98cfe feature: Map PMT interface correctly on multi GPU system
Related-To: NEO-15912

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-10-10 17:20:17 +02:00
Fabian Zwoliński
226846323f feature: add memsetAllocation helper with blitter support
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-10 15:12:17 +02:00
Brandon Yates
7b27c3668e fix: calculate subSlicesPerSlice correctly on XeKmd
Populate SliceInfo during topology creation.
Set L0 device props subslicesPerSlice to max
enabled subslice on any slice.

Related-to: NEO-16283

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-10-10 10:44:23 +02:00
Neil R. Spruit
66a0f0d1bb fix: Corrected flag union reserve size and simplified sharedNT flag
Related-To: NEO-16317

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-10-08 13:35:21 +02:00
Szymon Morek
4df9783448 performance: use 2MB heaps for 2MB-aligned allocations
Related-To: NEO-16165

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-06 18:11:01 +02:00
Radoslaw Jablonski
54de14a9dc refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-10-06 15:32:46 +02:00
Szymon Morek
ee032982a6 refactor: print faulted address when waiting for tag
getDeviceState on Windows prints faulted GPU VA
if OOB access happened.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-02 14:59:02 +02:00
Mateusz Jablonski
710d70a787 refactor: remove not needed code
Related-To: NEO-16154

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-02 11:41:08 +02:00
Mateusz Jablonski
5b8e8b8b1a refactor: unify GmmMemory definition
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-01 14:23:35 +02:00
Kamil Kopryk
2192e0b90e refactor: improve compilation time
Limit chrono includes,
chrono is very slow to compile

Related-To: NEO-15390
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-10-01 13:50:29 +02:00
Marcel Skierkowski
047f6851f7 refactor: correct programming of SLM size
Unify reading hw avaialble slm size:
Pre-Xe2 SLMSizeInKb stores total SLM size across all DSS
Xe2+ SLMSizeInKb stores SLM size per SS

apply restrictions for preferred/programmable SLM size

Related-To: NEO-12949
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-09-30 17:57:18 +02:00
Mateusz Jablonski
3c13fb81f7 refactor: remove not needed logic
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-30 14:50:49 +02:00
Filip Hazubski
b73e85de0d refactor: Refactor direct submission logic
Remove ReleaseHelper::isDirectSubmissionSupported function.
Update ProductHelper::isDirectSubmissionSupported to return correct values.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-09-30 13:41:03 +02:00
Mateusz Hoppe
98fcaf4ceb feature: support for context group on Windows
Related-To: NEO-14289


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-28 13:38:53 +02:00
Compute-Runtime-Validation
ce65d34a8f Revert "fix: set proper gmm usage type for misaligned user ptr"
This reverts commit a665f27676.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-26 16:24:45 +02:00
Szymon Morek
a665f27676 fix: set proper gmm usage type for misaligned user ptr
Related-To: NEO-15295

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-25 12:06:43 +02:00
Mateusz Hoppe
cfb3dade30 refactor: replace isContextGroup with contextGroupCount in osContext
Related-To: NEO-14289

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-25 11:33:38 +02:00
Chandio, Bibrak Qamar
cf21cbc910 feature: Complete madvise for System Allocator
Related-To: NEO-13715

Provides implmentation of getAtomicAccessAttribute using system
allocator.
Completes the implementation of the madvise feature using the
new IOCTLs in xe_drm header.

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-09-23 16:00:35 +02:00
Szymon Morek
5714c3858f fix: increase staging threshold for misaligned ptrs
Related-To: NEO-16118

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-22 12:46:58 +02:00
Jaroslaw Warchulski
195bf66a49 refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-09-22 12:46:41 +02:00
Maciej Bielski
e8d43ff074 fix: various small improvements
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-19 13:42:36 +02:00
Grochowski, Stanislaw
93d98c528d fix: check interrupt support when allocating and releasing
Related-To: HSD-18043299783


Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-09-19 10:36:18 +02:00
Mateusz Hoppe
0f657e8877 fix: allow creating hostptr allocations with GPU VA equal hostptr
- when host USM memory is allocated, gpu virtual address should be the
same as cpu address when chunking due to huge size is used

Related-To: GSD-11423

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-16 17:13:17 +02:00
Fabian Zwoliński
8cf8fe4f5a fix: use const auto& to avoid unnecessary copies
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-09-15 17:48:57 +02:00
Szymon Morek
a31eef9bf5 refactor: add option to retrieve comp format from GMM
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-12 15:37:25 +02:00
Mateusz Jablonski
92316c8cd6 fix: don't setup notifyAubCapture callback when not needed
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-12 11:28:37 +02:00
Vysochyn, Illia
f4bd4e603d refactor: Use else if instead of nested else-if conditions
Replaces nested else-if with else if for consistency and readability.
No functional changes.

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-09-11 16:20:59 +02:00
Mateusz Jablonski
ed15408592 fix: correct order of wddm initialization
init gmm after getting device and paging queue handles

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-11 16:14:49 +02:00
Filip Hazubski
0c2a8ef30b refactor: fix typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-09-11 15:55:38 +02:00
Lukasz Jobczyk
aa74555682 refactor: remove unused variable
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-09-11 12:01:32 +02:00
Compute-Runtime-Validation
eba3a2d685 Revert "feature: enable defer backing by default"
This reverts commit 34d4e526e9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-11 05:54:53 +02:00
Narendra Bagria
34d4e526e9 feature: enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-09-10 12:41:30 +02:00
Kamil Kopryk
56415ddac7 refactor: unify naming for l3 flush after post sync
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-10 08:12:39 +02:00
John Falkowski
1f281a01ee refactor: Add product helper getSharedSystemPatIndex
Resolves: NEO-15930

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-09-08 17:17:35 +02:00
Szymon Morek
03357b6089 performance: adjust size threshold for staging on linux
Related-To: NEO-15973

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-05 18:09:49 +02:00
Michal Mrozek
3f9c49f216 refactor: remove redundant code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-09-03 13:43:37 +02:00
Michal Mrozek
3ee33d26d9 refactor: remove not needed code
- low priority never uses direct submission

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-09-02 16:52:53 +02:00
Szymon Morek
90be39c9c0 performance: enable low latency hint on Xe
Related-To: NEO-14708

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-01 13:34:29 +02:00