Commit Graph

26 Commits

Author SHA1 Message Date
Pratik Bari
90da066972 feature(sysman): Changes in the VF Management w.r.t Xe driver
- The Support for VF Engine Utilization has been added.
- The call to zesVFManagementGetVFCapabilitiesExp2
returns a valid error in case of failure.

Related-To: NEO-13442

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-05-22 08:59:25 +02:00
Anvesh Bakwad
615a41b9f5 feature(sysman): Add support of zesPowerGetEnergyCounter() API for BMG
Related-To: NEO-11296

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-04-30 09:25:19 +02:00
Pratik Bari
ce32489291 feature(sysman): Add Group Engine Busyness for BMG
Related-To: NEO-14635

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-04-25 15:45:13 +02:00
Pratik Bari
2113882bf5 feature(sysman): Expose the config pair to the Engine Handle
Related-To: NEO-14635

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-04-23 10:21:15 +02:00
Pratik Bari
ff7bfc8b6e refactor(sysman): Wrapper function to fetch PMU configs w.r.t Xe driver
A new wrapper function is introduced which fetches the PMU configs for
the Active Ticks and Total Ticks.

Related-To: NEO-14594

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-04-10 07:49:26 +02:00
Compute-Runtime-Validation
3e2eea60f2 Revert "feature(sysman): Add support of zesPowerGetEnergyCounter() API for BMG"
This reverts commit da4a5d0389.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-04-09 20:18:45 +02:00
Pratik Bari
f67663d863 fix(sysman): Create Engine Handles for multiple gt w.r.t Xe driver
For the Xe driver, a single tile can have multiple gts. Now the Engine
handles are created for multiple gts available on the single tile as in
the case for the Xe driver.

Related-To: NEO-14401

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-24 17:14:02 +01:00
Pratik Bari
d563abcda7 feature: Add Sysman Support for Engine Busyness w.r.t Xe driver
For the Xe driver, the configs for the Active Ticks and Total Ticks are
first fetched from the Event Files and later shifted on the basis of the
values present in the corresponding files from format directory.

Related-To: NEO-14280

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-13 15:54:25 +01:00
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
2b7e92b280 refactor: Set the sysman device directory name in SysmanKmdInterface
The name of the Sysman Device Directory is added as a parameter in
SysmanKmdInterface as the name depends on either i915 or xe driver

Related-To: NEO-14070

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-10 13:22:59 +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
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
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
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
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
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
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
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
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
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
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