Commit Graph

271 Commits

Author SHA1 Message Date
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
Artur Harasimiuk 73382b9b6c refactor: remove legacy code
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-16 19:04:13 +02:00
Mateusz Jablonski 7144e8a537 fix: enhance igsc wrapper
use type with correct naming convention

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-09 16:30:40 +02:00
Anvesh Bakwad 6afe6da4b6 feature(sysman): Add support for zesMemoryGetBandwidth API in BMG Linux
- Added implementation for getMemoryBandwidth() in BMG product file
- Additionally corrected Tempearature offsets for BMG OOBMSM rev 15

Related-to: NEO-11295

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-09-06 09:34:28 +02:00
shubham kumar 5c3012a4a7 fix: correct pmt temperature offset
Related-To: NEO-12515

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-02 14:57:11 +02:00
shubham kumar 484684c762 fix: Correct maxBandwidth unit conversation in pmt
Related-To: NEO-12297

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-02 09:51:12 +02:00
shubham kumar a467b30842 fix: Correct maxBandwidth unit conversation in pmt
Related-To: NEO-12475

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-29 02:20:20 +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
Filip Hazubski 556ba1b7c4 performance: Avoid data copy in getPciStats function
Additionally explicitly remove unused functions of Directory and
StagingBuffer classes to comply with rule of five.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-22 13:30:01 +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
Mateusz Jablonski 579af57161 refactor: don't call OsLibrary::load directly, use function pointer
this allows mocking this call in ULT

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 08:59:26 +02:00
shubham kumar 4b9a86449d fix: Correct maxBandwidth unit conversation in pmt
Related-To: NEO-12297

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-14 12:13:15 +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
Bellekallu Rajkiran be4570fe10 fix: Read appropriate entry for HBM channels
Related-To: NEO-11949

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-08-12 09:44:37 +02:00
Anvesh Bakwad abbc08bb67 feature(sysman): Add Support for Temperature APIs in BMG Linux Platform
Related-To: NEO-11297

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-08-12 09:38:08 +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
shubham kumar 27d378473a feature(sysman): Support for latest pmt ocode offsets in windows
Related-To: NEO-12035

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-08 11:44:47 +02:00
Mateusz Jablonski 07a11e640f refactor: include xe header in dedicated namespace
avoid redefinition issue in case of integrating multiple xe drm versions

define mock drm xe in inl file to provide xe definitions for mock members

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-01 14:38:20 +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
Bellekallu Rajkiran eadb7b5a66 fix: Remove appropriate device on warm reset
Related-To: NEO-11926

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-07-30 09:37:48 +02:00
Maciej Bielski 44d6b5ebac fix(sysman): do not leak/exhaust memory with telemetry allocations
Related-To: NEO-11825
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-29 12:58:49 +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
Mateusz Jablonski 778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +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 3b8e4aaedd refactor(sysman): Move pmt offsets to product helper layer
Related-To: NEO-11854

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-02 16:35:25 +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
Bellekallu Rajkiran 40612e93d3 feature: Support for group engine activity with xeKMD
Related-To: NEO-10011

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-27 16:13:14 +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
Maciej Bielski 3e11ced59b fix: sanitize the array entries count returned from KMD
Related-To: NEO-11825
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-06-26 16:19:12 +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
Compute-Runtime-Validation d2d8925cd3 Revert "refactor: Move PMT common code to PMT specific class"
This reverts commit 35c89488be.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-10 03:11:53 +02:00
Bellekallu Rajkiran 35c89488be 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-07 16:26:48 +02:00
Bari, Pratik 77beaac80c refactor(sysman): Changes in the scheduler module w.r.t Xe driver
While setting the Scheduler Timeout and Exclusive Modes with the xe
driver, the unsupported feature error is returned.

Related-To: NEO-10112

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-05-26 23:19:51 +02:00