Commit Graph

1046 Commits

Author SHA1 Message Date
Mateusz Jablonski
276c606329 feature: update base layout of L0 handles to match ze_handle_t layout
this layout is required by L0 DDI Handle extension

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-25 01:23:43 +01:00
Compute-Runtime-Validation
66c4288494 Revert "fix: using canonized addr in xe kmd"
This reverts commit 683d7c7acf.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-21 17:49:05 +01:00
Wojciech Konior
683d7c7acf fix: using canonized addr in xe kmd
Related-To: NEO-7313

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2025-02-21 16:06:06 +01:00
Filip Hazubski
e25f9a7fd3 refactor: Remove no longer needed comment related to WddmEventsImp
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 11:34:23 +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
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
shubham kumar
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
Joshua Santosh Ranjan
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
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
Pratik Bari
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
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
Brandon Yates
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
shubham kumar
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
Pratik Bari
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
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
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
Pratik Bari
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
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
Marcel Skierkowski
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
Jitendra Sharma
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
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
Jitendra Sharma
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
Jitendra Sharma
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
Brandon Yates
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
shubham kumar
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
Jitendra Sharma
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
Jitendra Sharma
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
Shreyas Kunder
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
Bartosz Dunajski
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
Pratik Bari
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
Jitendra Sharma
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
Pratik Bari
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
Mateusz Jablonski
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
Mateusz Jablonski
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
Mateusz Hoppe
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
Filip Hazubski
7f412c77a2 fix: Explicitly delete unused functions
Explicitly delete unused functions of CheckIfExitCalled
and VfManagementHandleContext. Comply with the rule of five.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-12-10 10:10:28 +01:00
shubham kumar
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
Pratik Bari
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
shubham kumar
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
Jemale Lockett
0426603896 fix: Add module debug area to isamap and mirror for xe
Resolves: NEO-12685

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-11-22 21:04:13 +01:00
Jemale Lockett
ef8fefec28 fix: correct check for interrupt sent in tile debug sessions
Resolves: NEO-12222
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-11-20 23:48:10 +01:00
Pratik Bari
4ac4317c00 fix: Changes in the Engine Module
Added the new UAPI macro in the Engine Module to fetch the config of
the total ticks.

Related-To: NEO-13281

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-11-20 09:59:14 +01:00
Joshua Santosh Ranjan
f589408848 feature: update metrics for v1.11
Related-To: NEO-12597

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-19 02:02:46 +01:00
Jitendra Sharma
428e2132b0 fix: Gracefully handle case when SIP version header is greater than 3
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-11-15 17:38:24 +01:00
Pratik Bari
31ca28d5bf feature(sysman): VF telemetry APIs for memory utilization
Related-To: NEO-11337

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-11-14 10:12:27 +01:00
Joshua Santosh Ranjan
d294d71f95 feature: make programmable metrics enabled by default
Related-To: NEO-13011

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-13 09:42:23 +01:00
Brandon Yates
aaf2e997d3 fix: Set xe debugger clientHandle when metadata is rx'd
Xe debugger will receive one CLIENT_OPEN event per driver open. In
some use cases their will be multiple opens. We are only interested in
the open from the UMD under debug. Setting clientHandle when metadata is
received will filter out unneeded CLIENT_OPEN events

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-11-05 13:44:59 +01:00
Oskar Hubert Weber
fd45b2883d fix: neo ULT build with optimizations disabled 1/n
Related-To: NEO-8116

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-10-28 15:38:28 +01:00
Harini Kumaran
421a7bd771 refactor: Move all constants to L0 namespace in level_zero/tools
Related-To: NEO-12769

- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string

Signed-off-by: Harini Kumaran <harini.kumaran@intel.com>
2024-10-28 09:19:44 +01:00
Bartosz Dunajski
2d6fb1af4b fix: in-order relaxed ordering handling for signalEvent
Related-To: NEO-13082

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 15:30:33 +02:00