Commit Graph

8474 Commits

Author SHA1 Message Date
Mateusz Jablonski
49a946ffef feature: handle has_printf_calls and has_indirect_calls entries in zeinfo
bump zeinfo decoder to 1.59

Related-To: NEO-15211, NEO-15400
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-20 13:09:10 +02:00
Mateusz Jablonski
fd610f7a7b fix: unify initial cpu range reservation size in case of 57bit CPU address range
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-20 09:55:11 +02:00
Neil R. Spruit
e9f315b11f test: fix IPCHandle tests to use correct value range and mock name
Related-To: NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-20 09:54:55 +02:00
Filip Hazubski
b31d53471a refactor: Adjust maximal count of preferred slm allocation size enums
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-20 09:28:16 +02:00
Compute-Runtime-Validation
f763974ec5 Revert "fix: serialize constructBcsEngine"
This reverts commit 9c92733829.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-20 03:21:02 +02:00
Bartosz Dunajski
bc223b9052 fix: revert use dedciated cmd lists for bcs split
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-19 17:56:24 +02:00
Fabian Zwoliński
a2f60af5c6 fix: change global Var/Const Buffer type to SharedPoolAllocation
This is prep work for the future implementation of pooling these allocations.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-08-19 17:29:34 +02:00
Bartosz Dunajski
3d865bdea1 refactor: remove post blit arb_check wa
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-19 16:34:40 +02:00
Maciej Bielski
9c92733829 fix: serialize constructBcsEngine
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-19 16:13:05 +02:00
Filip Hazubski
40ad3cf6f1 feature: Query L3 bank group info from device blob
Related-To: HSD-14025718322, HSD-18041858866

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-19 14:46:19 +02:00
Szymon Morek
0ea4b8cf9c performance: set 1ms ulls timeout on linux
Related-To: NEO-13843

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-19 14:05:31 +02:00
Lukasz Jobczyk
c9a37440d7 refactor: Adjust ail files
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-19 13:28:58 +02:00
Kindracki, Jakub Tomasz
bd4adc20ee test: Change unnecessary HWTEST_F to TEST_F
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-19 12:38:54 +02:00
Alicja Lukaszewicz
0335d44a56 refactor: move peer access handling to shared device
Related-To: NEO-14885, HSD-14024947073

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-08-19 10:40:41 +02:00
Kindracki, Jakub Tomasz
43d4264047 test: Fix minor compiler errors in ULTs with optimizations enabled
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-19 10:16:59 +02:00
Compute-Runtime-Validation
17c58c1be4 Revert "refactor: reduce the size of graphics allocation"
This reverts commit 167ca6e50c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-19 10:11:15 +02:00
Zbigniew Zdanowicz
d8557ff2d3 feature: add scratch address programing to patch preamble
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-19 00:41:01 +02:00
Bartosz Dunajski
9ad49331fd fix: add missing bcs cmd stream estimation
Related-To: HSD-18043131946

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-18 18:26:27 +02:00
Neil R. Spruit
43ebc17e17 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
- Updated getfd and get IPC Handle helper functions to support opaque or
previous versions

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

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-18 16:23:44 +02:00
Kindracki, Jakub Tomasz
c0ea89062b test: Change CompilerProductHelper mocks to not templated
Remove multiple definitions of templated
`MockCompilerProductHelperHeapless`.

Errors fixed:
- Linux compiler raised `undefined` errors
- Windows compiler raised `multiple definitions` errors

Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-18 16:23:28 +02:00
Maciej Bielski
c6398e5d20 fix: acquire lock before checking for totalSize limit
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-18 15:26:06 +02:00
Mateusz Jablonski
3116ebd051 fix: respect num devices when reserving cpu address range for non-svm heaps
in case of reserving in upper 48 bit address space

Related-To: NEO-15843, GSD-11464
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-18 15:12:10 +02:00
Damian Tomczak
4b663e7b60 fix: use heapless helpers when heapless enabled
Related-to: NEO-14489

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-18 14:36:58 +02:00
Andrzej Koska
94c7641833 feature: Add directSubmissionController Config
Related-To: HSD-16028004193, NEO-15740

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2025-08-18 12:56:40 +02:00
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
Damian Tomczak
3ab74c7fba feature: add heapless ult builtins compilation
Related-to: NEO-14489

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-14 11:21:57 +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
Mateusz Jablonski
79905e8ec1 test: remove not needed macro
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 16:43:27 +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
Compute-Runtime-Validation
796866b2d6 Revert "test: Restore dbgSettings on WhiteboxAil destruction"
This reverts commit b501d0fa8f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 13:51:59 +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