Commit Graph

1146 Commits

Author SHA1 Message Date
f17500a977 feature: source independent entry for calc op create
Resolves: NEO-13996

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-03-03 19:39:58 +01:00
9d404fab50 fix: support MetricCreateFromProgrammableExp2
Related-To: NEO-14211

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-03-03 10:50:57 +01:00
c3ecf13fe1 feature: add appendMarker support for oa
Related-To: NEO-13784

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-27 18:45:12 +01:00
a9da0c4ed5 test: Expand tests to more products
Add test for PTL
Update xe2_hpg test

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-02-26 17:04:27 +01:00
b10c6b4703 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-24 15:46:51 +01:00
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
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
1a996d666a fix: Return accurate metric value count for EU stall
Related-To: NEO-13401

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-02-14 15:15:55 +01:00
76acacd413 fix: remove operation access for unsupported types
Related-To: NEO-14077

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-14 14:43:45 +01:00
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
e91480c673 fix: Merge Prelim & Nonprelim code for Legacy Sysman Memory module
Related-To: NEO-14004

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-02-10 12:50:40 +01:00
f89725d31b test: correct the structure type value
Related-To: NEO-13480

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-06 18:17:41 +01:00
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
c1ac3a733d feature: Expand exception bitmask checked by dbgUMD
Related-to: NEO-8306

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-02-05 02:39:26 +01:00
b72b43712c test: add missing override to derived class method
Related-To: NEO-13777

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-02-04 18:37:40 +01:00
f2b48b97d2 refactor: Prework to get sampling unit through ioctl query on xe
Related-To: NEO-13777

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-02-03 10:37:46 +01:00
4327f8c832 fix(sysman): Disable Supported Diagnostics Tests
The Supported Diagnostics Tests are disabled resulting into no handle
creation for Diagnostics module

Related-To: NEO-13819

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-30 16:49:53 +01:00
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
245aa0cb59 feature(sysman): Added implementation for zesVFManagementGetVFCapabilitiesExp2
As zesVFManagementGetVFCapabilitiesExp has been deprecated, added the
implementation for zesVFManagementGetVFCapabilitiesExp2

Related-To: NEO-13525

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-24 22:01:20 +01:00
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
e95b45b908 test: remove not needed pragma
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-23 01:20:18 +01:00
bc4f21dda3 test: ignore stringop oveflow in code fragment due to gcc bug c++20
Link to the GCC bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-21 21:15:47 +01:00
d89da4add6 test: Validate Sysman EventRegister calls
Related-To: NEO-13811

Signed-off-by: B, Vishnu Khanth <vishnu.khanth.b@intel.com>
2025-01-21 16:05:01 +01:00
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
188894e369 refactor: mock filesystem in sysman tests
Related-To: NEO-7006
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-01-21 01:39:22 +01:00
850e6c02eb test: allocate sip allocation for all contexts in initSipKernel
- some tests initialize sip kernel but do not free it
- this is causing memory leaks
- as a solution mock sip listener is added that will release allocated
sip kernel

Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-20 15:46:05 +01:00
8f5a0995e0 fix: Dont directly use gtId as TileId
gtId is not same as tileId. instead use gtIdToTileId
to retrieve tileId based on gtId.

Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-20 10:23:53 +01:00
06ea5944bd fix: Retrieve tileIndex using gt_id
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-16 17:45:03 +01:00
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
8257c0870d test: simplify code
adjust code to compile with c++20

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-15 17:42:24 +01:00
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
cf8551ca06 fix: Dont process vmBind if clientHandle is Invalid
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-14 20:42:41 +01:00
16b0ea6897 feature: Handle page fault events for xe debugger
Related-to: NEO-10134

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-01-14 18:16:05 +01:00
7fda1ba768 test: remove not used const sampleGuid1
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-14 09:28:24 +01:00
9dd065eeed fix: Return rawDataSize as zero when readIoStream call fails
Related-To: NEO-13707

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-01-13 08:28:13 +01:00
10753387bf feature: Introduce processPendingVmBindEvents in eu debug
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-08 08:53:11 +01:00
0d2ce79194 feature: Ensure module load/unload triggered after all instances events
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-07 19:58:35 +01:00
ee3ef684ad fix: update new RAS errors for sysman
Related-To: NEO-12603

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-01-07 11:43:41 +01:00
bb1a125f0c feature: add support for Panther Lake platform
Related-To: NEO-12803

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-07 11:39:56 +01:00
47f74b8a7b refactor: reorganize l0 api include directories [1/n]
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 12:59:08 +01:00
fc1c08a570 fix: Returns Correct No. of VF Engine Stats as requested.
- When the requested engine count is less than the actual engine stats
available, then only requested no. of engine stats are retrieved.

Related-To: NEO-13525

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-12-18 12:13:45 +01:00
0248b53d86 feature: Retrieve vmToTile map information for multi tile eudebug support
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-12-18 11:59:49 +01:00
4eabc77932 fix: Check for Local Memory is removed during VF handle creation
- During VF handle creation, the check for the local memory used is
removed.

Related-To: NEO-13525

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-12-17 11:21:32 +01:00
86ecbf3507 fix: explicitly report unhandled event exec queue placements
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-12-16 13:11:39 +01:00
8f7bacdd95 feature: add eudebug interface class
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values

layout of structs is guarded by static asserts

eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support

This way we can support two different xe-eudebug interfaces within
single binary.

In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).

Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-12-13 17:07:12 +01:00
0589a70dc7 feature(sysman): reinitialize gfxPartition on reset
Related-To: NEO-13203

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-12-12 16:27:25 +01:00
69f81d5d57 fix: Check for root device flag in multi-device usecase
Related-To: NEO-12381

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-12-03 07:03:39 +01:00
53511a2c89 test: remove not used usings/typedefs/variables in L0 tools/sysman tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-29 12:32:33 +01:00
9b952c08c7 feature: Add VF Engine Utilization API implementation
Related-To: NEO-11202

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-11-27 16:26:55 +01:00
8c18e94ea0 fix: Correct notifyNReports behaviour on Linux
Related-To: NEO-8752

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-26 05:33:43 +01:00