Commit Graph

3066 Commits

Author SHA1 Message Date
Bartosz Dunajski
ffdee3a273 feature: dont patch increment CB Event dependencies
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-11 17:04:33 +01:00
Mateusz Hoppe
906048771f fix: pass EncodeDispatchKernelArgs by reference
Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-10 18:39:12 +01:00
Chandio, Bibrak Qamar
7149743162 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-02-10 14:20:09 +01:00
Bartosz Dunajski
18d7a22861 refactor: pass increment address and value to dispatch params
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-10 14:04:34 +01:00
Bartosz Dunajski
09298d3e6c fix: pass USM alloc to external CB event if possible
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-10 13:24:31 +01:00
Damian Tomczak
8d0cec04ca refactor: better conditions handling in isInOrderNonWalkerSignalingRequired
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-02-10 11:05:10 +01:00
Bartosz Dunajski
f887e25a79 feature: dont reset aggregated CB Event in-order state on append
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-07 16:55:18 +01:00
Lukasz Jobczyk
04108b9afa Revert "fix: Flush caches on cmd list destroy with debugger"
This reverts commit 3b4d879321.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-02-07 15:15:21 +01:00
Bartosz Dunajski
56b1468b58 feature: increment value for aggregated CB Event support [1/n]
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-07 09:11:48 +01:00
Mateusz Hoppe
1877e66bc8 feature: add mechanism to extend cmdlist launch params
Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-06 22:05:15 +01:00
Marcel Skierkowski
fcb59152ba refactor: Correct status return in getExternalMemoryProperties
In TBX mode, getExternalMemoryProperties was returning an incorrect status
The status returns have been corrected to ensure proper functionality.

Related-To: HSD-18041313876
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-02-06 17:21:33 +01:00
Zbigniew Zdanowicz
9419e702cc fix: zero kernel residency container for shared system usm pointers
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-02-05 19:07:07 +01:00
Joshua Santosh Ranjan
c8eb085cdb feature: expose source ids for metric groups
Related-To: NEO-13480

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-05 12:31:44 +01:00
Joshua Santosh Ranjan
5efbf1d04c refactor: add driver experimental entry points for tracer apis
Related-To: NEO-13770

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-05 00:40:59 +01:00
Lukasz Jobczyk
3bc841a8a8 fix: Do not wait only on timestamp when heapless enabled
During host synchronize on profiling counter based event then timestamp
wait only when using entire optimized counter based event infrastructure
enabled, so when heapless disabled.

Resolves: HSD-18041396186

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-02-03 18:13:03 +01:00
Michał Pryba
75bc74089b refactor: adjust file names after pre-gen12 removal 2/3
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-02-03 15:31:51 +01:00
Lukasz Jobczyk
9bb48d3a5b 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-31 14:32:00 +01:00
Zbigniew Zdanowicz
4c47364dfd refactor: add getter to read kernel argument values
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-31 13:30:48 +01:00
Compute-Runtime-Validation
d23249b061 Revert "fix: Set vmbind user fence when makeMemoryResident"
This reverts commit 80dc4fb43a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-31 11:36:29 +01:00
Bartosz Dunajski
4846fbe410 refactor: unify blit memory fill methods and pass BlitProperties 2
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-30 20:16:10 +01:00
Kamil Kopryk
ef896cc799 refactor: introduce ImageSurfaceState helper class
Moved global functions to the ImageSurfaceStateHelper class,
with declarations in the header file and definitions in the base .inl
file.
This change reduces compilation time by:
- removing unnecessary includes from the header file
- adding explicit template instantiations, which are faster than
implicit template instantiations.

Additionally, the image_skl_and_later.inl file has been removed as it
is no longer needed, and its implementation has been moved to the base .inl

Related-To: NEO-12149

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-30 19:20:31 +01:00
Lukasz Jobczyk
09e23804dc refactor: Use timestamp types for events and in order nodes
Switching tagAllocation into UC causes regressions in non event
scenarios. It is no longer used as dependant type for semaphores.
Restoring previous GMM_USAGE settings for tag.
Marking events and in order nodes using only timestamp types as they
have proper GMM_USAGE settings already and can be both in smem and lmem.

Resolves: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-30 12:20:38 +01:00
Joshua Santosh Ranjan
dbc85c4322 feature: add support for metric markers
Related-To: NEO-12058

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-01-29 20:22:34 +01:00
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