Commit Graph

144 Commits

Author SHA1 Message Date
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
Ezhilsivam Shanmugam
ae49a4f1fd fix: Implemented Get Fan Config to retrieve Default Fan Table
Related-To: NEO-11667

Signed-off-by: Ezhilsivam Shanmugam <ezhilsivam.shanmugam@intel.com>
2024-07-10 08:14:58 +02:00
Kulkarni, Ashwin Kumar
a1c15371c1 feature(sysman): supports new device UUID mapping APIs
Related-To: NEO-10236

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-07-05 15:56:14 +02:00
Anvesh Bakwad
aa7b306813 refactor(sysman): Move guidToKeyOffsetMap to Product specific files
Related-To: NEO-11821

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-07-03 05:41:45 +02:00
shubham kumar
e5036ce9f0 feature(sysman): windows add support for card and package power
Related-To: NEO-11820

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-02 12:59:30 +02:00
Bellekallu Rajkiran
c5f0d3152d refactor: Move kmd interface files to seperate dir
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-28 09:22:00 +02:00
Bari, Pratik
4aaf201d9e refactor(sysman): Add SysmanProductHelper In SysmanKmdInterface Creation
- The SysmanProductHelper Pointer is used in the SysmanKmdInterface
instance creation.
- The filename for the critical power limit is fetched via the
SysmanProductHelper instance.
- The native unit for the critical limit is fetched via the
SysmanProductHelper instance.

Related-To: NEO-11813, NEO-11811

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-27 00:58:37 +02:00
shubham kumar
492c90e300 feature(sysman): Win support PMT based getMemoryBandWidth
Related-To: NEO-10661

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-26 19:49:46 +02:00
Compute-Runtime-Validation
659075ffe5 Revert "feature(sysman): Win support PMT based getMemoryBandWidth"
This reverts commit 8d80941fff.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-25 04:12:21 +02:00
Bari, Pratik
cb8c0b1772 fix(sysman): Changes in the Global Operations API w.r.t Xe driver
- The list of Engine maps has been changed according to the fields
populated in the fdinfo.
- The driverVersion is fetched correctly for the i915 internal, upstream
as well as the Xe kernel.

Related-To: NEO-8551

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-24 10:32:33 +02:00
shubham kumar
8d80941fff feature(sysman): Win support PMT based getMemoryBandWidth
Related-To: NEO-10661

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-24 10:24:38 +02:00
Bellekallu Rajkiran
9f7d144e63 fix(sysman): Fix compilation error in fabric port
Include sysman_os_fabric_port_imp even in absence of libgenl.

Related-To: NEO-11438

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-21 19:09:11 +02:00
Vishnu Khanth
0136ef049a fix: Update canControl field based on set Request Support
Related-to: NEO-11443

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2024-06-21 18:46:45 +02:00
Bellekallu Rajkiran
62bf873b63 refactor(sysman): Remove Prelim compile time flag for fabric
Related-To: NEO-11438

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-19 05:36:36 +02:00
shubham kumar
7269950cb1 fix(sysman): create temperature handle only if pmt exists
Related-To: NEO-10663

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-17 19:28:42 +02:00
Bari, Pratik
6ecf5a088f refactor(sysman): Changes in the Sysman Power Module
Removed the call to getProperties during the power handle creation

Related-To: NEO-10484

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-13 07:56:42 +02:00
Bellekallu Rajkiran
0ce762a91c refactor: Move PMT common code to PMT specific class
Facilitate PMT utilization for other modules with refactoring
common PMT calls.

Related-To: NEO-8848

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-12 15:31:01 +02:00
shubham kumar
a7e0987485 feature(sysman): PowerLimitsExt support in windows zes branch
Related-To: NEO-8808

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-11 17:01:04 +02:00