Commit Graph

3092 Commits

Author SHA1 Message Date
Bartosz Dunajski
0b34ed6793 fix: disable copy offload for dcFlush platforms
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-21 13:06:49 +01:00
Mateusz Hoppe
24ed89ed24 refactor: simplify debug attach capability detection
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-21 12:10:40 +01:00
Compute-Runtime-Validation
9d249580fa Revert "feature: add global driver dispatch as prework for DDI handles extens...
This reverts commit dce4ca8ce7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-21 01:52:55 +01:00
Bartosz Dunajski
85b0d1f84d fix: clear all TS packets for combined CB event
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 19:24:15 +01:00
Bartosz Dunajski
c637431157 feature: signal correct TS node for combined CB Event
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 19:24:00 +01:00
Mateusz Jablonski
dce4ca8ce7 feature: add global driver dispatch as prework for DDI handles extension support
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.

This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-20 17:44:36 +01:00
Mateusz Jablonski
3e45cf2a6c feature: add debug key to expose L0 DDI Handles extension
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-20 17:24:33 +01:00
Bartosz Dunajski
20191f4ccf feature: handle combined CB event TS residency and reset
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 11:11:14 +01:00
Fabian Zwoliński
bf20ae7ae8 fix: configure ISA Pool params based on productHelper
When is2MBLocalMemAlignmentEnabled returns true,
increase pool size for builtins from 64k to 2MB.

Additionally, set appropriate alignment for kernel ISA heap allocations.
Additionally, configure isaAllocationPageSize based on productHelper

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-02-20 08:42:35 +01:00
Filip Hazubski
4be1153253 fix: Remove pragma once from inl files
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 20:19:15 +01:00
Bartosz Dunajski
ee6dbfc011 feature: combined CB event profiling support
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-18 16:44:07 +01:00
Mateusz Hoppe
aed5b6c22a refactor: add validateLaunchParams() function
Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-18 15:15:01 +01:00
Filip Hazubski
6b2b42972a fix: Add asserts to ensure NonCopyable and NonMovable 1/n
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 09:41:20 +01:00
Compute-Runtime-Validation
72a5e52385 Revert "refactor: add validateLaunchParams() function"
This reverts commit aafefda74f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-18 08:02:04 +01:00
Mateusz Jablonski
87f4cd8e83 feature: expose separate L0 driver handle per product family in Core/Tools path
Related-To: NEO-14062
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-17 18:54:07 +01:00
Mateusz Hoppe
aafefda74f refactor: add validateLaunchParams() function
Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-17 17:06:41 +01:00
Lukasz Jobczyk
84eaca3330 fix: Restore wait for inOrder counter in heapless mode
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-02-17 16:11:45 +01:00
Filip Hazubski
4c7900008f refactor: Change wording from NonCopyableOrMovable to NonCopyableAndNonMovable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-17 14:19:10 +01:00
Filip Hazubski
855581d03d fix: Add assert that ExternalSemaphoreController is NonCopyableOrMovable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-17 10:43:35 +01:00
Maciej Bielski
6924a48ca6 refactor: prepare CLOS logic for extension
Prepare cache setup and reservation logic to be extended w.r.t other
cache-levels.

Conceptually this change is like adding a switch-statement, in several
places, in which existing code makes a single (and only) case. This is
caused by splitting larger development to ease the review. Further cases
will be added in following steps. Such approach sometimes creates code
which may seem redundant but it is meant to simplify plugging following
extensions in an easy way.

Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-02-17 10:43:08 +01:00
Lukasz Jobczyk
356d89d608 performance: Disable USM cleaner for ULLS light
Realted-To: NEO-13922

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-02-14 12:38:16 +01:00
Kamil Kopryk
899abf3aac feature: add NonCopyableOrMovable and NonCopyable concepts
Inheriting from NonCopyableOrMovableClass or NonCopyableClass
does not prevent derived classes from accidentally defining
their own copy or move constructors, violating the intended design.

This commit introduces two concepts:
- NonCopyableOrMovable
- NonCopyable

Using static asserts with these concepts will guarantee the intended
copy and move limitations.

Related-To: NEO-14068
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-14 03:55:50 +01:00
Bartosz Dunajski
904d90df90 feature: atomic signaling for combined CB Event
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-14 03:55:36 +01:00
Mateusz Jablonski
7c4708be08 refactor: store global L0 driver handle in vector
Related-To: NEO-14062
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-13 23:24:57 +01:00
Compute-Runtime-Validation
b3807e7a36 Revert "feature: Append recorded commandlist into immediate (8/N)"
This reverts commit 9db77efd03.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-13 16:35:40 +01:00
Aravind Gopalakrishnan
9db77efd03 feature: Append recorded commandlist into immediate (8/N)
- Add primary dispatch capability for immediate command list
- turn off usage of parent linear stream for copy engine

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-02-12 12:39:38 +01:00
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