Commit Graph

161 Commits

Author SHA1 Message Date
Vishnu Khanth
da4a5d0389 feature(sysman): Add support of zesPowerGetEnergyCounter() API for BMG
Related-To: NEO-11296

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-03-12 15:50:41 +01:00
Pratik Bari
01de772162 feature: Enable GuC based Engine Utilization counters for Sysman Engine
Related-To: NEO-14279

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-05 13:40:27 +01:00
Compute-Runtime-Validation
9785e5c11e Revert "feature: update base layout of L0 handles to match ze_handle_t layout"
This reverts commit 276c606329.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-26 02:37:14 +01:00
Anvesh Bakwad
a017025e67 refactor(sysman): Move getEnergyCounter implementation to product specific file
Related-To: NEO-11296

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-25 15:40:17 +01:00
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
Anvesh Bakwad
b33b4233ad refactor(sysman): Refactor the Power limits related methods
Related-To: NEO-14011

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-24 10:20:51 +01:00
Anvesh Bakwad
e815da1e4f feature(sysman): Modify getEnergyCounter method implementation
Related-To: NEO-14011

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-20 04:55:50 +01:00
Filip Hazubski
b60c02d597 fix: Add asserts to ensure NonCopyable and NonMovable n/n
Related-To: NEO-14068

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-19 11:36:24 +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
Anvesh Bakwad
1f1e066f90 refactor(sysman): Rename the power limit file name variables in kmd interface
Related-To: NEO-14011

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-11 08:23:12 +01:00
Anvesh Bakwad
4a1af14587 refactor(sysman): Retrieve supported power domains from Kmd Interface
Related-To: NEO-14011

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-07 08:31:01 +01:00
Anvesh Bakwad
c645f84663 feature(sysman): Update Power Module to replace CARD domain with PACKAGE domain
Related-To: NEO-13985

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-02-06 16:29:26 +01:00
Pratik Bari
0ec361bbb9 feature: Using Sysman Product Helper to support throttle reasons
Related-To: NEO-8877


Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-31 21:08:55 +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
Compute-Runtime-Validation
9305652446 Revert "feature(sysman): Add support for card and package domains in Power mo...
This reverts commit ba83701494.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-30 07:45:33 +01:00
Anvesh Bakwad
ba83701494 feature(sysman): Add support for card and package domains in Power module
Related-To: NEO-10484

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-29 16:36:10 +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
shubham kumar
a8a9b1b92b refactor: optimize sysman windows power module
Related-To: NEO-13612

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-01-13 09:47:37 +01:00
Pratik Bari
2e5f590f30 fix(sysman): Fixed the GPU Bind and Unbind Entry Names
The GPU Bind and Unbind Entry names have been changed w.r.t the i915 and
the Xe driver

Related-To: NEO-13226

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-07 15:22:14 +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
Compute-Runtime-Validation
8f90c0de75 Revert "feature(sysman): Add support for card and package domains in Power mo...
This reverts commit f762516900.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-03 08:43:00 +01:00
Anvesh Bakwad
f762516900 feature(sysman): Add support for card and package domains in Power module
Related-To: NEO-10484

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-02 13:42:00 +01:00
Compute-Runtime-Validation
8cd7ce1b66 Revert "feature(sysman): Add support for card and package domains in Power mo...
This reverts commit 9991945c66.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-12-28 01:46:41 +01:00
Anvesh Bakwad
9991945c66 feature(sysman): Add support for card and package domains in Power module
Related-To: NEO-10484

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-12-27 10:27:01 +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
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
shubham kumar
316389782d fix: Decouple power handle creation from power limit support available
Related-To: NEO-13185

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-12-13 11:43:28 +01:00
Maciej Bielski
41a6815d06 fix: check for nullptr before dereferencing
Related-To: NEO-13467

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-12-13 10:30:40 +01:00
Pratik Bari
ad881e3f2e feature(sysman): feature: Add VF Engine Utilization API implementation
Related-To: NEO-11202

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-12-04 18:13:41 +01:00
shubham kumar
e23b8430da feature: Add Memory and GPU domain support for getEnergyCounter()
Related-To: NEO-12843

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-15 18:36:57 +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
Compute-Runtime-Validation
2345979800 Revert "feature: Add Memory and GPU domain support for getEnergyCounter()"
This reverts commit 0be4ebe6c2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-11-07 03:28:57 +01:00
Shreyas Kunder
f52f9753ed fix: zesInit switch crash
The fix is provided to detect validity of sysman device handle in sysman APIs.
It can detect core device handle when passed instead of sysman device handle
in zesInit path and return error code.
Related-To: NEO-12690

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2024-11-05 13:03:57 +01:00
shubham kumar
0be4ebe6c2 feature: Add Memory and GPU domain support for getEnergyCounter()
Related-To: NEO-12843

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-04 21:37:56 +01:00
shubham kumar
f96ae0433c fix: Add timer resolution to sysman core properties
Related-To: NEO-12885

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-10-29 22:00:44 +01:00
Anvesh Bakwad
c94e38f74d feature(sysman): Add zesDevicePciGetProperties() API support for BMG
Related-To: NEO-12911

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-10-16 08:23:03 +02:00
shubham kumar
5ed81a1b9e feature: check peak power support using escape call
Related-To: NEO-12836

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-10-11 07:17:23 +02:00
Pratik Bari
d060d0b6dd refactor(sysman): Compile the RAS module files by branch name
Added some tests for code coverage.

Related-To: NEO-12532


Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-09-23 14:25:07 +02:00
Jitendra Sharma
82eacc88bf refactor: Move all constants in sysman namespace
- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-23 11:24:47 +02:00
shubham kumar
8bf95eceea feature: Add core properties support in zesInit path
Related-To: NEO-12643

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-18 20:46:47 +02:00
Vishnu Khanth
44658fb7d9 fix: Update appropriate values in PCI property & state for Windows
Related-To: NEO-12320

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2024-08-26 11:39:25 +02:00
shubham kumar
60711a169e feature: Add support for DC limits in peak power
Related-To: NEO-12290

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-21 15:54:47 +02:00
Pratik Bari
8ea7751381 refactor(sysman): Remove Pmt tile aggregator from Sysman Modules
- The PMT tile aggregator used by the frequency and power modules has
been replaced with the wrapper functions which calls the functions from
the Pmt Util class.
- The earlier Pmt Tile aggregator implementation has been removed from
the PMT specific files.

Related-To: NEO-12147

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-08-14 09:41:53 +02:00
Anvesh Bakwad
290a9bd3ad feature(sysman): Add Support for zesDevicePciGetStats API for BMG Linux Platform
Related-To: NEO-11294

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-08-10 23:08:10 +02:00
Pratik Bari
0afde28eb2 refactor(sysman): Remove Pmt tile aggregator from Temperature Module
The PMT tile aggregator used by the product helper calls from the
temperature module has been replaced with the wrapper functions which
calls the functions from the Pmt Util class.

Related-To: NEO-11995

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-08-08 16:50:25 +02:00
Bellekallu Rajkiran
ebd0fa1b58 fix: Read appropriate config node for link Caps
Related-To: NEO-11929

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-07-31 19:49:35 +02:00
Kulkarni, Ashwin Kumar
cf4ef679c9 feature(sysman): supports deviceId and vendorId in zesInit path
Related-To: NEO-10914

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-07-30 09:48:03 +02:00
Pratik Bari
0dacb78d78 refactor(sysman): Remove Pmt tile aggregator from Memory Module
The PMT tile aggregator used in the memory module has been replaced with
the wrapper functions which calls the functions from Pmt Util class.

Related-To: NEO-11992

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-07-24 08:47:17 +02:00