Commit Graph

8286 Commits

Author SHA1 Message Date
Compute-Runtime-Validation
23698ac860 Revert "fix: Set compression parameter when resource imported"
This reverts commit ed04190d77.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-10 13:41:07 +02:00
Filip Hazubski
f8dc80c7fc test: Adjust direct submission tests
Disable direct submission at the end of the test for cases where
direct submission is enabled in test body.

Adjust mock csr to restore os context in cases where
context has been replaced in test body.

Related-To: NEO-15017

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-10 11:01:33 +02:00
Grochowski, Stanislaw
8180e95e0f fix: ensure pollForCompletion in aub on program termination
Related-To: NEO-14867

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-10 08:32:00 +02:00
Dominik Dabek
ff662b3e88 fix: usm reuse aub/tbx indirect access
When allocation is saved for reuse, remove it from allocations map.
On get from reuse, reinsert it with new allocId.

Allocations saved for reuse should not be made resident for indirect
access.

Only applicable on aub/tbx csr types.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-10 08:02:03 +02:00
Mateusz Hoppe
703497b067 fix: read ONEAPI_PVC_SEND_WAR_WA env
- disable optimization with compiler internal option when env is set to
zero

Related-To: NEO-15378, GSD-10884

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-09 16:22:18 +02:00
Maciej Plewka
72492a9a18 fix: use alignment when allocate by kmd
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-09 15:16:12 +02:00
Mateusz Jablonski
af0e387f35 fix: ensure proper drm cleanup in L0 sysman init path
drm cleanup currently applied in positive scenario should be also
applied in case of multi GPU if some devices failed at initialization

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-09 13:48:53 +02:00
Aleksandra Nizio
292ca51bdc test: use safe env handling when IGC var is detected in tests
Replaced manual environment setup and cleanup with RAII-based
MockEnvironBackup in tests that check IGC_* variables. This ensures
proper isolation, automatic restoration, and prevents side effects
between tests when IGC environment variables are present.

Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-09 10:49:03 +02:00
Aravind Gopalakrishnan
ed04190d77 fix: Set compression parameter when resource imported
Related-To: NEO-12375

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-07-09 08:36:05 +02:00
Kamil Kopryk
2edd953026 refactor: move empty sba programming in heapless prolog to base class
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-07-08 16:46:57 +02:00
Fabian Zwoliński
316ef0ac74 test: resolve unsafe type conversion
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 15:06:30 +02:00
Aleksandra Nizio
ff00896801 fix: add warning when IGC_* env vars are set
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-08 13:34:53 +02:00
Fabian Zwoliński
0bca8782c2 fix: resolve SVM allocation size mismatch for 2MB pages
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 13:32:01 +02:00
Aleksander Czerwionka
27920bb645 fix: check if aubCenter exists before using setCCSMode
Related-To: NEO-15423

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-08 10:38:57 +02:00
Aleksandra Nizio
0842e16412 test: Remove usage of real env and captured PRINT_DEBUG_STRING in test
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-07 20:22:24 +02:00
Szymon Morek
9f02c72f15 performance: Change compression format on BCS for Xe2
Related-To: NEO-15454

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-07 16:23:38 +02:00
Dominik Dabek
3dcfef5812 fix: usm reuse aub/tbx update alloc id
On getting from reuse update alloc id and increment allocations counter.
This is to ensure that making indirect allocations resident picks up the
reuse allocation.
Only applicable on aub/tbx csr types.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-07 15:49:16 +02:00
Aleksandra Nizio
6975f7bb8d fix: Disable compiler cache if any IGC_ env is set
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-07 09:55:49 +02:00
Compute-Runtime-Validation
8086c2a96f Revert "fix: check if aubCenter exists before using setCCSMode"
This reverts commit d670e66caa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-05 03:43:34 +02:00
Mateusz Jablonski
9dbdbd50f2 test: mock file system in file logger tests
Related-To: NEO-14110
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-04 14:42:00 +02:00
Marcel Skierkowski
d896d98a61 test: fix resource leak by closing pipe file descriptors in StreamCapture
Ensure all pipe file descriptors (FDs) are close

Add destructor and set descriptors to -1 after closing
to prevent double close.

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-04 14:28:41 +02:00
Slawomir Milczarek
76090f041d fix: Fixed out-of-bounds write to usageInfos array with residency task count
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-07-03 18:00:37 +02:00
Marcel Skierkowski
6a9a643b75 test: StreamCaptureStd on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-03 11:32:05 +02:00
Oskar Hubert Weber
1c722ddb7c test: mock filesystem in ULTs 2/n
Remove USE_REAL_FILE_SYSTEM() macro uses from API, program, kernel and
gtpin tests.

Related-To: NEO-15069

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-03 09:44:06 +02:00
Aleksander Czerwionka
d670e66caa fix: check if aubCenter exists before using setCCSMode
Related-To: NEO-15423

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-02 15:51:40 +02:00
Lukasz Jobczyk
a1ec6bc243 fix: Do not update ulls tag when ring not started
When ring is not started ulls tag update is not dispatched. Counter
should reflect that.

Resolves: GSD-11312

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-02 15:43:06 +02:00
Lukasz Jobczyk
0b6789187a fix: Apply alignment when allocate by kmd
Resolves: HSD-18042740668

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-02 12:31:48 +02:00
Krzysztof Sprzaczkowski
5a057bbd46 feature: Add PCI barrier mmap logic for xe
Related-To: NEO-13081
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-07-01 16:32:54 +02:00
Bartosz Dunajski
e2dff82741 feature: remote copy support for bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-01 15:57:02 +02:00
Aleksander Czerwionka
6acf58633d fix: set correct CCS mode in Aubstream and reenable multi context tests
Related-To: NEO-14917

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-01 15:18:11 +02:00
Chodor, Jaroslaw
f35bdeb2fe feature: Adding Record and Replay API entrypoints
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-01 14:43:13 +02:00
Dominik Dabek
e52fa32271 fix: disable usm reuse if debugger enabled
Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-01 14:22:15 +02:00
Mateusz Jablonski
10e44f531f test: simplify test for blit commands
reduce max blit size to speed-up test execution

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-01 13:24:12 +02:00
Krzysztof Gibala
7ef630d202 fix: use 'w+' mode for gdi.log to prevent errors when file does not exist
Error encountered:
```markdown
Debug Assertion Failed!
File: minkernel\crts\ucrt\inc\corecrt_internal_stdio.h
Line: 686
Expression: ("Invalid file open mode", 0)
```

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-07-01 12:26:07 +02:00
Marcel Skierkowski
f0d5cf7530 test: StreamCaptureStdErr on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-01 11:52:43 +02:00
Mateusz Jablonski
41ce81143a refactor: remove not needed flags p2pAccessSupported, p2pAtomicAccessSupported
such support is queryable in runtime

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-01 11:37:51 +02:00
Compute-Runtime-Validation
9ca238a73b Revert "performance: Do not prefer blit enqueue on PTL"
This reverts commit 62f2a86f16.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-01 10:20:12 +02:00
Raiyan Latif
b5f6cdf59b fix: Add missing field in DRM wrapper for ext semaphore
Related-To: NEO-15298

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-30 20:21:49 +02:00
Mateusz Hoppe
cb152ba821 fix: copy sip binary to allocation based on blitRequired query
- readOnly ISA allocations must be written through CPU pointer
- command buffer allocation in singleAddressSpaceSbaTracking mode cannot
be readonly - it is written by SBA tracking commands
- this change is fixing ZET_ENABLE_PROGRAM_DEBUGGING mode 2

Related-To: GSD-10359

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-30 19:41:19 +02:00
Ben Ashbaugh
25d0daf754 feature: support SPIR-V 1.4 and 1.5
Related-To: NEO-14312

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-06-30 17:05:12 +02:00
Szymon Morek
af6ac59a40 Revert "fix: Override timestamp width from KMD"
This reverts commit 7f2b806413.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-30 16:10:01 +02:00
Lukasz Jobczyk
4010ff6908 performance: Use tag allocator for fill pattern
Resolves: NEO-9729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-30 15:24:08 +02:00
Bartosz Dunajski
78c6751be1 feature: initial support for multitile bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-30 12:38:58 +02:00
Compute-Runtime-Validation
c62c7334c9 Revert "feature: Enable kmd migration by default on PVC platform"
This reverts commit 5402e2639f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-30 12:06:40 +02:00
Dominik Dabek
dde8bf1b9b fix: usm reuse blocking free handling
on blocking free wait for engines completion before putting into reuse
mark allocation as completed and do not check is in use status on
getting

Related-To: NEO-6893, HSD-18042686276

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-30 11:46:45 +02:00
Dominik Dabek
bd9b458add fix: correct debug break if, usm reuse
Should break if memory manager is nullptr

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-26 13:25:54 +02:00
Lukasz Jobczyk
62f2a86f16 performance: Do not prefer blit enqueue on PTL
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-26 13:25:39 +02:00
Kamil Kopryk
fe34302a3a fix: RTDispatchGlobals programming
Related-To: NEO-14423

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-26 04:45:49 +02:00
Dominik Dabek
4cbd6c79a0 fix: mark aub/tbx writable on get from usm reuse
Related-To: NEO-6893, NEO-15359, HSD-18042681561

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-25 19:36:16 +02:00
Zbigniew Zdanowicz
442c11b5ba feature: add mutable command list implementation
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-25 16:32:08 +02:00