Commit Graph

7458 Commits

Author SHA1 Message Date
Mateusz Jablonski
a650e08145 refactor: rename variable related to reserved cpu address range
in case of CPU address range wider than GPU address range, we reserve
CPU address range to avoid CPU side allocations in our non-SVM heaps

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-18 12:20:25 +02:00
Dominik Dabek
2cd11d154b fix: disable usm reuse on kmdless
Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-08-18 11:40:59 +02:00
Compute-Runtime-Validation
1e681f8e8b Revert "feature: platform interrupt support detection"
This reverts commit e33865e9c2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:52:32 +02:00
Compute-Runtime-Validation
0855219087 Revert "feature: Support for opaque IPC handles on Windows and Linux"
This reverts commit 46b1b2783b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:22:02 +02:00
Compute-Runtime-Validation
5fe59104a4 Revert "refactor: remove post blit arb_check wa"
This reverts commit 9dd783e113.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 01:57:27 +02:00
Mateusz Jablonski
ec36dd6275 refactor: move gmm callbacks definition to common place
- merge all the callbacks to single template class
- store callback functions in global arrays
- partially reuse callbacks on Linux

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-14 16:49:29 +02:00
Brandon Yates
a7e40d1543 fix: debug save area should be MAX (highest enabled, MaxSlices)
On windows MaxSlicesSupported is set to number of active slices.
In the case where a lower slice is disabled, the state save save
must be set to the highest active slice.

Related-to: HSD-18042764574

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-08-14 15:13:26 +02:00
Jakub Nowacki
259271f59d fix: disallow copy and move
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-08-14 12:19:18 +02:00
Bartosz Dunajski
9dd783e113 refactor: remove post blit arb_check wa
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-14 09:35:55 +02:00
Grochowski, Stanislaw
e33865e9c2 feature: platform interrupt support detection
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-14 09:28:33 +02:00
Kamil Kopryk
7185e5bfbe feature: add flags to force L3 flush after post sync
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-08-14 09:08:24 +02:00
Brandon Yates
7c612a2a01 fix: Set MaxSlicesSupported to true max on linux
Related-to: HSD-18042764574

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-08-14 08:51:55 +02:00
Neil R. Spruit
46b1b2783b feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-14 08:33:56 +02:00
Neil R. Spruit
274c5043b9 fix: Set compression disabled when compression not allowed for a resource
Related-To: NEO-12375

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-14 08:31:19 +02:00
Compute-Runtime-Validation
6880014602 Revert "refactor: store gmm callback functions in global arrays"
This reverts commit a68ea38ba1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 23:19:58 +02:00
Szymon Morek
ce2d7ea67e fix: disable timestamp caching for platforms with dc flush
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-13 17:50:44 +02:00
Szymon Morek
de92cd90be refactor: respect comp format debug flags on iGPU
Related-To: NEO-14942

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-13 16:09:04 +02:00
Mateusz Jablonski
a46181b2c5 fix: remove deprecated patchtokens format from ocloc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 15:41:37 +02:00
Mateusz Jablonski
a68ea38ba1 refactor: store gmm callback functions in global arrays
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 14:12:23 +02:00
Jakub Nowacki
c4ab767797 fix: add missing NonCopyableAndNonMovable asserts
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-08-13 13:13:05 +02:00
Michal Mrozek
167ca6e50c refactor: reduce the size of graphics allocation
- 32 context is way too much, most our devices has 5 context right now

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-13 11:43:27 +02:00
Maciej Bielski
f3b3d58ee9 refactor: remove misleading std::move
The `surfStateInfo` argument has a `const SurfStateInHeapInfo &` type.
Thus the result of `std::move()` is
`std::remove_reference<const SurfStateHeapInfo &>::type &&`.
This effectively boils down to `const SurfStateHeapInfo &` (the L-value
reference has precedence), which effectively is passed to
`.push_back(const SurfStateHeapInfo &)`.
This is the same outcome as if the `std::move()` is not present at all.

Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-13 11:43:10 +02:00
Maciej Bielski
478c7ce9a8 fix: possible race-condition in SvmAllocationCache::insert
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-13 11:18:22 +02:00
Compute-Runtime-Validation
c98344c906 Revert "fix: Set compression parameter when resource imported"
This reverts commit c5b66d50e2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 10:50:34 +02:00
Chandio, Bibrak Qamar
6acfcb83b9 Revert "Two commits related to pStart feature"
Related-To: NEO-15156, GSD-9939

Revert "test: fix minor errors"

This reverts commit 712dc8221e.

Revert "feature: Support for pStart"

This reverts commit 47caeda487.

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-13 07:10:40 +02:00
Mateusz Jablonski
22e7aa36d1 refactor: remove pre-gen12 code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-11 20:29:37 +02:00
Filip Hazubski
4ac82c17f1 refactor: move method to release helper
Related-To: NEO-14998

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-11 19:41:52 +02:00
Naklicki, Mateusz
c36f6cadb0 feature: dump graph visualisation
Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-08-11 19:24:36 +02:00
Neil R. Spruit
c5b66d50e2 fix: Set compression parameter when resource imported
Related-To: NEO-12375

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-11 18:44:12 +02:00
Filip Hazubski
87a35bd680 feature: Add helper function to adjust product config
Related-To: NEO-15318

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-11 12:24:03 +02:00
Michal Mrozek
9c3904583b performance: improve container lookup
- check if incoming pointer is page aligned, if so do non offset based lookup
- make allowOffset compile time parameter
- in case non offset based lookup fails, re-try with offset allowed

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-09 10:01:38 +02:00
Radoslaw Jablonski
59c3b06eea refactor: xe topology
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-08 15:31:13 +02:00
Zbigniew Zdanowicz
092f2bb333 feature: get command list information for in order noop data
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-08 15:01:52 +02:00
Radoslaw Jablonski
c2d64cae6a refactor: queryDeviceCaps ioctl
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-08 14:43:23 +02:00
Dominik Dabek
8ef0648fe7 performance: enable usm reuse, l0 xe3
Re-enable after fix for external host ptr mem copy.

Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-08-08 14:15:51 +02:00
Aleksander Czerwionka
6bc9ea3ddb feature: move svmAllocsManager and staggingBufferManager to platform
Related-To: NEO-13247

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-08-08 14:01:44 +02:00
Dominik Dabek
77470acf7a fix: l0, tag update on mem copy ext host ptr
Require tag update on mem copy with external host ptr.
Without this, temporary allocation might not be cleaned before next copy
operation.
If a second copy operation is passed same ptr that has been reallocated,
there will be a pagefault.

Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-08-08 12:42:53 +02:00
Compute-Runtime-Validation
04f7664242 Revert "performance: disable tlb flush on LNL Windows"
This reverts commit 495b9eccd3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-08 09:14:01 +02:00
Compute-Runtime-Validation
b7472fa76f Revert "refactor: queryDeviceCaps ioctl"
This reverts commit 3117d2d2cb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-08 07:05:24 +02:00
Compute-Runtime-Validation
1b3fa0801d Revert "performance: disable tlb flush on LNL Linux"
This reverts commit a6fe012b6a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-08 02:57:28 +02:00
Compute-Runtime-Validation
964b84f484 Revert "performance: disable tlb flush on BMG Windows"
This reverts commit 3ffb51932f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-08 02:41:48 +02:00
Chodor, Jaroslaw
b612301b72 feature: Adding support for empty .text section
If .text section is empty then ignore it.

Related-To: NEO-12229

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-08-07 20:15:37 +02:00
Radoslaw Jablonski
e190e1b8ec fix: use relative subslice mapping indices in Xe DRM
This aligns behavior with i915 and L0 spec.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-07 15:58:48 +02:00
Radoslaw Jablonski
9ec004ba59 fix: don't resolve MaxEuPerSubSlice from Xe topology
All Xe platforms should provide MaxEuPerSubslice through System Info,
so there is no need to resolve it from topology.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-07 15:48:19 +02:00
Lukasz Jobczyk
f7ed43c454 performance: disable tlb flush on BMG Linux
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-07 12:11:02 +02:00
Lukasz Jobczyk
3ffb51932f performance: disable tlb flush on BMG Windows
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-07 12:04:26 +02:00
Lukasz Jobczyk
495b9eccd3 performance: disable tlb flush on LNL Windows
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-07 11:35:46 +02:00
Lukasz Jobczyk
a6fe012b6a performance: disable tlb flush on LNL Linux
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-07 11:28:21 +02:00
Compute-Runtime-Validation
917032f2ac Revert "feature: dump graph visualisation"
This reverts commit 86d270633c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-07 10:12:20 +02:00
Compute-Runtime-Validation
b40830c1e6 Revert "fix: MaxSubSlicesSupported should be set to total non-fused count"
This reverts commit ee0022d234.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-07 02:15:20 +02:00