Commit Graph

291 Commits

Author SHA1 Message Date
shubham kumar
ee9af40a27 fix: Get Pci and Memory timestamp from PMT telemetry with correct unit
Related-To: NEO-13237

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-18 14:39:39 +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
shubham kumar
7dfa654761 feature: Add support for rev16 PMT OOBMSM xml
Related-To: NEO-13212

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-12 12:18:21 +01:00
Neil R. Spruit
84cd8226e3 feature: Support for zeInitDrivers
- Enabled support for zeInitDrivers which combines init and driver get
support.
- Moved driverHandleGet to be part of Driver class to allow for unit
testing of the functionality.
- Updated GTPIN init conditions such that init only occurs when pCount >
0 and the driver handle pointer is not null. This ensures that the
gtPin init does not trigger during the loader init calling
zeInitDrivers and only is called before the first handle is retrieved.
- Removed ze_init_flags_t flag from all driverInit functions since this
flag is unused in all functions.

Related-To: NEO-12905

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-11-07 12:16:15 +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
Marcel Skierkowski
49d999abe6 fix: remove defaultProfilingTimerResolution from RuntimeCapabilityTable
Related-To: NEO-12275
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2024-11-04 12:02:11 +01:00
Pratik Bari
8aa2eae965 fix(sysman): Disabling Engine Handles for Group Engine Busyness
The Group Engine Busyness Interface has been removed for the XeKmd

Related-To: NEO-11931

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-10-29 22:06:00 +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
Mateusz Jablonski
4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
Anvesh Bakwad
2844cba1f1 fix(sysman): Add missing support of isMemoryMaxTemperatureSupported() for BMG
Related-To: NEO-12916

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-10-17 11:34:28 +02:00
Compute-Runtime-Validation
f117b5fb68 Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-17 08:20:19 +02:00
Mateusz Jablonski
9c7b3c5e19 fix: correct loading L0 loader functions
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-16 19:53:05 +02: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
Bakwad, Anvesh
81cbc481ed fix(sysman): Correct the BMG OOBMSM guid in guidToKeyOffsetMap
Related-To: NEO-12912

Signed-off-by: Bakwad, Anvesh <anvesh.bakwad@intel.com>
2024-10-14 15:06:28 +02:00
Oskar Hubert Weber
8527779778 fix: running Blender with SYSMAN enabled on Linux
Related-To: NEO-11618

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-10-14 12:36:08 +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
shubham kumar
1ad6917db0 fix: Correct read/write memory bandwidth counters
Related-To: NEO-12748

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-10-08 08:08:17 +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
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