Commit Graph

1222 Commits

Author SHA1 Message Date
Wesley Waugh
7829d93b92 feature: add debug key to dump debug surface to file
Related-To: NEO-15890

Signed-off-by: Wesley Waugh <wesley.waugh@intel.com>
2025-09-09 22:40:16 +02:00
Kindracki, Jakub Tomasz
d15aff8679 fix: Fix compiler errors in ULTs
Fix warnings that appear
when optimizations in ULTs are enabled:
- `uninitialized` errors
- `free-nonheap-object` errors
- add ignoring `-Wno-maybe-uninitialized` errors for gcc12 Release
builds due to gcc bug
- fix `array-bounds` issue in readLongFileName function
- fix other `array-bounds` errors

Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-09-03 14:50:58 +02:00
Joshua Santosh Ranjan
3da7a3364c feature: add entry point for append marker
Related-To: NEO-13784

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-08-29 16:14:17 +02:00
Matias Cabral
f29fe17231 feature: metrics report format supports scopes
Resolves: NEO-15143

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-29 08:52:22 +02:00
Mateusz Hoppe
9527cae63d fix: scan for attention until steady state reached
- after interrupt, attention event may come too early to capture all
stopped threads
- adding attention scan until steady state reached ensures all threads
are correctly captured

Related-To: GSD-11411

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-08-27 19:02:41 +02:00
Joshua Santosh Ranjan
d68b5856b9 feature: support device open with scopes
Related-To: NEO-15830

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-08-27 08:11:14 +02:00
Radoslaw Jablonski
393604ef80 refactor: numThreadsPerEu
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-25 11:31:49 +02:00
shubham kumar
59f8e8352f fix: Install metrics driver experimental headers
Related-To: NEO-15879

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-08-22 19:12:19 +02:00
Matias Cabral
1197ec47bc feature: calcOp supports metric scopes
Resolves: NEO-14417

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-22 08:40:55 +02:00
Sarbojit Sarkar
88b2fb60a6 fix: Add missing iterator validation check in sysman module
Related-To: NEO-15795

Signed-off-by: Sarbojit Sarkar <sarbojit.sarkar@intel.com>
2025-08-22 08:37:39 +02:00
Anvesh Bakwad
ad774c074e feature(sysman): Add firmware update support for GFX_DATA firmware type
Related-To: NEO-15618

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-08-19 07:36:17 +02:00
Matias Cabral
b5af16b1c5 feature: experimental return codes for Metrics
Resolves: NEO-15141

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-13 17:51:49 +02:00
Matias Cabral
0bb8591e79 feature: support metrics calculable property
Resolves: NEO-13994

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-11 19:18:40 +02:00
Matias Cabral
91f25ef990 feature: remove calcOp multi set calc API
Resolves: NEO-15690

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-11 18:53:13 +02:00
Matias Cabral
34b98b52d6 feature: not allow limiting results on EU stall calc
Resolves: NEO-14753

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-08 20:35:05 +02:00
shubham kumar
e88de52133 fix: IGSC GFSP set call to modify only desired feature.
Related-To: NEO-15712

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-08-05 12:32:20 +02:00
Matias Cabral
1b7a26996e refactor: renaming of metrics calcOp related structures
Resolves: NEO-15139

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-04 11:09:28 +02:00
Joshua Santosh Ranjan
280239ebec feature: add support to query metrics hw buffer size
Related-To: NEO-13439

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-07-30 13:19:19 +02:00
Compute-Runtime-Validation
705dc02f06 Revert "feature: Use zesInit on windows always"
This reverts commit 99ee605410.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-30 04:38:02 +02:00
shubham kumar
99ee605410 feature: Use zesInit on windows always
Related-To: NEO-15060

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-29 12:34:02 +02:00
Matias Cabral
b7f9d55118 feature: support excluded metrics from calc op
Resolves: NEO-15492

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-29 05:16:29 +02:00
Brandon Yates
05d57ce28a fix: set EventRead reserved field to zero in debugger
Related-to: HSD-18042688323

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-07-25 13:40:47 +02:00
Matias Cabral
93195e3501 feature: support for Metric Scopes
Resolves: NEO-15136

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-23 21:42:48 +02:00
shubham kumar
28dd2d36ff fix: Send proper buffer size to EUSS open stream escape call
Related-To: NEO-15590

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-23 13:00:59 +02:00
Compute-Runtime-Validation
4c929fcc84 Revert "feature: support for Metric Scopes"
This reverts commit e92ac1c8ab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-17 04:29:44 +02:00
Matias Cabral
e92ac1c8ab feature: support for Metric Scopes
Resolves: NEO-14753

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-16 19:30:14 +02:00
shubham kumar
5a1d6ac552 feature: Add support for pcie downgrade in BMG
Related-To: NEO-15270

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-16 07:24:33 +02:00
Shreyas Kunder
e4158208ae feature: Update Metrics Driver Code to use runtime enable & Disable APIs
Related-To: NEO-15339

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-07-15 14:28:49 +02:00
Aviral Nigam
0c15dcbd05 fix: Correct the pci device slot address
This change fix the slot address while performing cold reset

Resolves: NEO-15305

Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
2025-07-14 18:45:14 +02:00
Marcel Skierkowski
492b81d02d test: Restore StreamCapture usage in l0_tools tests
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-07 17:26:33 +02:00
Mateusz Jablonski
689839143c test: reduce file system usage in L0 tools/sysman tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-07 09:31:09 +02:00
Marcel Skierkowski
9749f1a623 test: Rollback due to StreamCapture impacting test functionality.
The rollback is related to the StreamCapture class,
which introduces errors during coverage testing for l0_tools.

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-04 13:05:48 +02:00
Marcel Skierkowski
6a9a643b75 test: StreamCaptureStd on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-03 11:32:05 +02:00
Vishnu Khanth
a63fadf6ff fix(sysman): Return unsupported for zesMemoryGetBandwidth for iGPU's in Windows
Related-To: NEO-15396

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2025-07-02 16:45:33 +02:00
Kulkarni, Ashwin Kumar
75d592d940 feature: supports boot time survivability mode recovery
Related-To: NEO-14331

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-07-01 16:39:28 +02:00
shubham kumar
d988763c0f feature: Add support for ecc default state
Related-To: NEO-15058

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-06-18 19:33:08 +02:00
Jaroslaw Warchulski
49152d957f test: cleanup in common matchers
IsAtLeastGen12LP / IsNotWithinXeGfxFamily / IsNotXe2HpgCore /
IsWithinXeHpgCoreAndXe3Core / IsWithinXeHpcCoreAndXe3Core -> deleted
IsAtLeastXeHpCore -> IsAtLeastXeCore
IsBeforeXeHpCore / IsBeforeXeHpgCore / IsAtMostXeHpCore -> IsGen12LP
IsXeHpOrXeHpgCore -> IsXeHpgCore
IsXeHpOrXeHpcCore -> IsXeHpcCore
IsNotXeHpOrXeHpgCore -> IsNotXeHpgCore
IsNotXeHpOrXeHpcCore -> IsNotXeHpcCore
IsWithinXeGfxFamily / IsXeHpcOrXeHpgCore / IsXeHpOrXeHpcOrXeHpgCore ->
IsXeCore
IsNotXeHpgOrXeHpcCore -> IsNotXeCore
IsWithinXeHpCoreAndXe2HpgCore -> IsWithinXeCoreAndXe2HpgCore
IsXeHpcCoreOrXe2HpgCore -> IsWithinXeHpcCoreAndXe2HpgCore
IsWithinXeHpCoreAndXe3Core -> IsWithinXeCoreAndXe3Core
IsXe2HpgCoreOrXe3Core -> IsWithinXe2HpgCoreAndXe3Core
IsAtLeastBmg -> IsAtLeastXe2HpgCore
IsBeforeXeHpcCore -> IsAtMostXeHpgCore
IsBeforeXe2HpgCore / IsAtMostArl / IsAtMostXeHpcCore -> IsAtMostXeCore

Related-To: NEO-12681
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-06-18 10:48:17 +02:00
Dominik Dabek
00921d0929 performance: enable l0 usm host pool
disable in sysman ults, pooling breaks in tests that simulate device
error

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-17 14:37:01 +02:00
Joshua Santosh Ranjan
f574534602 fix: use unique_ptr for metrics library
Related-To: NEO-15111

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-06-16 20:52:56 +02:00
Anvesh Bakwad
2271ce2b7f fix(sysman): change KMD config macro for group all engine handles
Related-To: NEO-15172

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-06-16 19:51:37 +02:00
Bartosz Dunajski
9fc244c83a refactor: remove not needed imm cmd list flush task code
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-16 08:59:51 +02:00
Marcel Skierkowski
a52260ce63 test: StreamCapture on pipes
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-06-11 15:37:01 +02:00
Mateusz Jablonski
c01ef3d9ad refactor: remove redundant exec environment pointer from L0::DeviceImp
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-10 22:10:02 +02:00
Joshua Santosh Ranjan
5b67a3d40b fix: enable eustall only if kmd supports
Related-To: NEO-15193

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-06-10 21:27:42 +02:00
Compute-Runtime-Validation
523bd92db4 Revert "refactor: remove redundant exec environment pointer from L0::DeviceImp"
This reverts commit c7893fb3ed.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-10 10:04:06 +02:00
Mateusz Jablonski
c7893fb3ed refactor: remove redundant exec environment pointer from L0::DeviceImp
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-09 12:03:58 +02:00
Szymon Morek
6a7f6f1ad6 fix: add noexcept to move operators
Without it, copy operator is selected, even if move is explicitly defined.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-09 10:32:23 +02:00
Chodor, Jaroslaw
46c60290b9 refactor: introducing igfxfmid_wrapper
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-05-30 19:26:04 +02:00
Jemale Lockett
33ca1169d0 feature: Add support for new Windows KMD APIs
Related-To: NEO-13743

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-05-30 07:52:52 +02:00
Mateusz Jablonski
98bf872fdd fix: return error when cannot obtain debug surface size
remove default max debug surface size
check state save area size only for debug scenarios
reduce state save area size in unit tests - rely on values from mock

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-23 14:48:08 +02:00