Commit Graph

3043 Commits

Author SHA1 Message Date
Lukasz Jobczyk
3b4d879321 fix: Flush caches on cmd list destroy with debugger
When using debugger flush caches on command list destroy to ensure
correctness of reused resources for debugger. Tests ensuring that on LNL
were enabled during DC flush mitigation which flushes DC on destroy for
reuse.

Resolves: HSD-18040962729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-29 11:39:56 +01:00
Compute-Runtime-Validation
21021f0340 Revert "refactor: unify blit memory fill methods and pass BlitProperties"
This reverts commit d7ca6568fc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-29 02:09:59 +01:00
Maciej Bielski
a8779c2387 fix: report ZE_MEMORY_ACCESS_CAP_FLAG_CONCURRENT correctly
At the moment the capability is returned only based on the value
returned by the `productHelper`, which is too liberal. The capability
must also consider the support reported by `memoryManager`. Only then
the support reported is aligned with actual logic of handling
USM-allocations.

Related-To: NEO-10040
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-01-29 00:17:38 +01:00
Chandio, Bibrak Qamar
80dc4fb43a fix: Set vmbind user fence when makeMemoryResident
Related-To: NEO-11977, GSD-10293

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-01-28 22:04:37 +01:00
Compute-Runtime-Validation
894b788267 Revert "fix: Flush caches on cmd list destroy with debugger"
This reverts commit 35517d6f29.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-28 21:52:23 +01:00
Bartosz Dunajski
d7ca6568fc refactor: unify blit memory fill methods and pass BlitProperties
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-28 17:47:31 +01:00
Compute-Runtime-Validation
ad99c8d818 Revert "feature: Submission for GlobalTimestamp as default"
This reverts commit 3d3c5ddf9f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-28 11:22:20 +01:00
Lukasz Jobczyk
82569f6a0f refactor: Switch host events and in order nodes to tagAllocation type
Motivation is to distinguish between host USM resources and internal
driver resources allocated in host memory.

Related-To: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-28 09:42:19 +01:00
Aravind Gopalakrishnan
506db6bd73 fix: Revert "feature: enable event synchronization GPU status check by default"
This reverts commit 17e537b694.

Related-To: GSD-10648

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-01-27 20:40:58 +01:00
Lukasz Jobczyk
35517d6f29 fix: Flush caches on cmd list destroy with debugger
When using debugger flush caches on command list destroy to ensure
correctness of reused resources for debugger. Tests ensuring that on LNL
were enabled during DC flush mitigation which flushes DC on destroy for
reuse.

Resolves: HSD-18040962729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-27 16:14:18 +01:00
Compute-Runtime-Validation
676334807f Revert "refactor: Switch host events and in order nodes to tagAllocation type"
This reverts commit 8bbba3fe5c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-27 06:44:12 +01:00
Mateusz Hoppe
e00da808cb feature: add logic to control secondaryContextsSupport in ProductHelper
- product helper sets flag in GfxCoreHelper - this allows to control
secondary contexts support per product - not whole core family

Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-25 06:43:56 +01:00
Jemale Lockett
272edeabe6 fix: Fix debugger bitmask parsing and setting for new platforms
Related-to: NEO-7799

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-01-24 21:45:54 +01:00
Lukasz Jobczyk
8bbba3fe5c refactor: Switch host events and in order nodes to tagAllocation type
Motivation is to distinguish between host USM resources and internal
driver resources allocated in host memory.

Related-To: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-24 20:38:56 +01:00
Bartosz Dunajski
c2dbdb6797 refactor: move blit post sync data to BlitProperties
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 18:35:21 +01:00
Bartosz Dunajski
6c6cc26b19 feature: ensure double space for timestamp event allocation
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 16:10:33 +01:00
Compute-Runtime-Validation
69bdd4d4ce Revert "performance: Signal inOrder counter with pipe control, part 6"
This reverts commit 9d5d726523.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-22 01:09:54 +01:00
Dominik Dabek
3f646839ca fix: usm reuse cleaning unused allocations
mechanism for freeing allocations saved for reuse that have not been
used in a given time

Related-To: NEO-13425

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-01-21 14:23:19 +01:00
Katarzyna Cencelewska
b2f8da5109 fix: return pointer instead of reference from getOsInterface
on tbx this will be a nullpointer

Related-To: HSD-18040897834
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-01-21 12:52:39 +01:00
Lukasz Jobczyk
9d5d726523 performance: Signal inOrder counter with pipe control, part 6
When on DC flush platform do not signal in order allocation when using
timestamp CB event. Handle wait on that event and synchronization using
in order timestamp node. Flush DC from wait. In order handled by pipe
controls.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-21 12:31:22 +01:00
Zbigniew Zdanowicz
2a64e41a3e feature: enable partial command list update capability on xe hpg
Related-To: NEO-12933

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-21 11:17:30 +01:00
Mateusz Jablonski
468b61b844 fix: correct reporting num subslices per slice in device properties
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-20 21:37:53 +01:00
Bellekallu Rajkiran
ad3110ff67 fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-20 19:27:35 +01:00
Chandio, Bibrak Qamar
3d3c5ddf9f feature: Submission for GlobalTimestamp as default
Related-To: NEO-11908

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-01-18 01:27:24 +01:00
Kulkarni, Ashwin Kumar
215ac6374b fix: disable support for 3-channel interop handle
returns error for import of 3 channel interop handles
returns error for 3 channel 32 bit image formats

Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-01-18 01:27:13 +01:00
Compute-Runtime-Validation
e1d1decf90 Revert "fix: Mapped time stamp retrieval with IPC"
This reverts commit 118cb62b7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-18 01:11:28 +01:00
Bellekallu Rajkiran
118cb62b7f fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-17 19:00:29 +01:00
Jaroslaw Warchulski
c3c2028ed6 fix: report correct EU counts for multi-slice platforms
Related-To: GSD-10625
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-17 15:01:00 +01:00
John Falkowski
78beae645c feature: Add zeKernelGetBinaryExp API as per specification V1.11
Resolves: NEO-12894

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-01-16 23:22:12 +01:00
Raiyan Latif
0370c5afa2 fix: Use unique_ptr for managing externalSemaphoreController
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-16 19:47:47 +01:00
Jaroslaw Warchulski
4dd1c80362 refactor: use enum class instead of enum for DeviceHierarchyMode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 15:49:44 +01:00
Bartosz Dunajski
310c47cad3 fix: add missing CB event cache flush
Related-To: GSD-10565

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-16 14:14:51 +01:00
Jaroslaw Warchulski
4cdd5671f7 fix: return correct subDevice in DeviceImp::getActiveDevice()
Resolves: NEO-13759
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 00:10:58 +01:00
Krzysztof Sprzaczkowski
a17745532c performance: Move preemption allocation init to the first submission
Related-To: NEO-12323
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-01-15 20:22:50 +01:00
Lukasz Jobczyk
2dd9940f60 Revert "fix: count active modules for enabling per-dispatch private memory"
This reverts commit a483b361f9.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-15 15:03:37 +01:00
Zbigniew Zdanowicz
621ceaf9ec feature: add new properties and getters for kernel slm arguments
- add new vector to read slm offset
- add getter to read new vector
- add getter to read slm argument alignment
- add getter to read slm sizes vector

Related-To: NEO-12933

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-15 14:23:04 +01:00
Jaroslaw Warchulski
6a7bee67e9 refactor: unify device hierarchy mode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-14 21:08:44 +01:00
Raiyan Latif
84b8622c16 refactor: Move Ext Semaphore Controller to Driver Handle
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-14 20:58:35 +01:00
Mateusz Hoppe
60495a5b20 performance: optimize memory used for scratch programming
- reserve exact number of slots for scratch surface states in surface
state heaps
- do not use offsets for contexts depending on engine type executing
cmdlists

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-14 15:47:08 +01:00
Bartosz Dunajski
26ae830014 fix: add missing dcFlush to signal standalone CB event
Related-To: NEO-13752

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-14 15:22:33 +01:00
Jack Myers
127af1a715 fix: correct result variable scope in initDriver
The `initDriver` function had an issue where a new `result` variable was defined
in a lower scope, causing the initialization result to be discarded. This commit
removes the redundant variable declaration, ensuring that the `result` variable
initialized in the upper scope is correctly set by the
`Driver::get()->initialize` method and properly reflects the driver
initialization status.

Related-To: NEO-13686
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-01-14 12:43:35 +01:00
Damian Tomczak
9a149b6da5 refactor: useGlobalHeaps naming unification
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-01-14 11:01:07 +01:00
Kulkarni, Ashwin Kumar
bf4d4e71c3 feature: adds support for 3 channel Imageview creation
Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-01-14 03:19:11 +01:00
Compute-Runtime-Validation
e66fce10b5 Revert "performance: Signal inOrder counter with pipe control, part 6"
This reverts commit fa40c1f2fb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-14 03:03:08 +01:00
Lukasz Jobczyk
fa40c1f2fb performance: Signal inOrder counter with pipe control, part 6
When on DC flush platform do not signal in order allocation when using
timestamp CB event. Handle wait on that event and synchronization using
in order timestamp node. Flush DC from wait. In order handled by pipe
controls.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-13 17:40:26 +01:00
Jaroslaw Warchulski
a180afa2e6 fix: respect affinity mask with COMBINED hierarchy in OCL
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-13 15:38:39 +01:00
Wenbin Lu
a483b361f9 fix: count active modules for enabling per-dispatch private memory
Related-To: NEO-13086

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2025-01-10 15:03:34 +01:00
Lukasz Jobczyk
3735ccaed7 performance: Signal inOrder counter with pipe control, part 5
When on DC flush platform resolve in order implicit dependency with pipe
control.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-10 12:33:42 +01:00
Compute-Runtime-Validation
04f1e216a5 Revert "performance: Signal inOrder counter with pipe control, part 5"
This reverts commit 7ee8328c1d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-10 06:48:41 +01:00
Szymon Morek
f3c9362fc5 fix: check for gpu hang during wait for ring completion
Related-To: NEO-13490

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-09 18:44:25 +01:00