Commit Graph

92 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Anvesh Bakwad
f75d03c866 fix(sysman): Fix memory management issues in Sysman PMT windows module
Related-To: NEO-11251

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-05-23 18:36:17 +02:00
Bellekallu Rajkiran
4b7e2d5064 fix: Return invalid fd for engine activity
Related-To: NEO-8324

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-16 14:28:24 +02:00
Bellekallu Rajkiran
4320be4593 refactor: Merge prelim and non-prelim files for engine
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-15 06:26:12 +02:00
shubham kumar
05406722b9 feature(sysman): Add pciGetStats support in win
Related-To: NEO-10662

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-05-10 18:22:45 +02:00
Filip Hazubski
5052d4ac4b fix: Update PlatformMonitoringTech::ioctlReadWriteData call
Update the logic to release the handle in failing cases as well.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-05-10 11:16:35 +02:00
Bellekallu Rajkiran
f18cb701d3 refactor: Merge Prelim and non-prelim files for scheduler
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-08 01:42:48 +02:00
Bari, Pratik
22e94c3a8c fix(sysman): Changes in the Sysman Engine
The engine module returns error if incorrect fds are fetched

Related-To: NEO-10657

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-04-11 05:53:46 +02:00
shubham kumar
f673a255f7 feature(sysman): Fetch temp from PMT on windows
Related-To: NEO-10663

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-11 05:48:21 +02:00
shubham kumar
6a55bbe6cd feature(sysman): Add pmt support in windows
Related-To: NEO-8804

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-10 12:42:19 +02:00
Compute-Runtime-Validation
5288100d86 Revert "feature(sysman): Add pmt support in windows"
This reverts commit ebf88c92ca.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 17:37:41 +02:00
shubham kumar
ebf88c92ca feature(sysman): Add pmt support in windows
Related-To: NEO-8804

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-04 11:08:58 +02:00
Bari, Pratik
6d7e3dc5a2 fix: Changes in the Device Reset Implementation
Prior to the return of object in use error, the device is bind and init
again

Related-To: NEO-10946

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-04-02 17:33:40 +02:00
shubham kumar
839a150288 feature(sysman): Add product helper support in windows
Related-To: NEO-10850

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-02 05:51:23 +02:00
Mateusz Jablonski
089927406b refactor: move iaf headers to separate folder
add documentation about sources of linux kernel headers

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-29 12:11:51 +01:00
Mateusz Jablonski
bcaa62bed3 build: refactor linux kernel headers
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-28 14:48:09 +01:00
Bari, Pratik
75ce4dbe3b fix(sysman): Changes in the hwmon name for Xe.
Related-To: NEO-10485

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-03-12 08:54:02 +01:00
shubham kumar
a03a561f33 fix(sysman): Fix engine handles in prelim
Related-To: NEO-10553

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-03-06 15:17:13 +01:00
Kulkarni, Ashwin Kumar
0ebaf7e1e2 fix(sysman): enables memory health indicator for supported platforms only
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-27 12:40:22 +01:00
Bellekallu Rajkiran
075fae19fd refactor: Merge prelim and non-prelim implementations for power
Abstract power set request support based on hw.

Related-To: NEO-10804

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 12:19:35 +01:00
Bellekallu Rajkiran
607b7a7a0e refactor: Abstract Ecc configuration based on product
Related-To: NEO-8728

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 11:45:14 +01:00
Bellekallu Rajkiran
93ab7957fa refactor: Abstract firmware support based on product
Related-To: NEO-10035

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-14 23:24:54 +01:00
Kulkarni, Ashwin Kumar
6f69fa997a refactor(sysman): refactor firmware flash progress support
Related-To: NEO-9297

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-08 15:11:04 +01:00
Kulkarni, Ashwin Kumar
11f76277c8 feature(sysman): adds firmware flash progress api support
Related-To: NEO-9297

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-08 10:23:24 +01:00
Bellekallu Rajkiran
43cdb58696 refactor: Abstract standby support based on product
Related-To: NEO-8886

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-05 11:21:12 +01:00
Bellekallu Rajkiran
a6634898c7 refactor: Abstract perf factor requests based on KMD and HW.
Related-To: NEO-8881

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-05 07:50:57 +01:00
Bellekallu Rajkiran
5e87d6a2f1 refactor: Refactor diagnostic product specific code
Related-To: NEO-10103

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-31 10:48:38 +01:00
Bari, Pratik
107156033b fix(sysman): Changes in Power Module w.r.t Xe
- Added support for min, max and default limits w.r.t Xe driver.
- Added support for getPropertiesExt, getLimitsExt, setLimitsExt.
- The Unit conversion logic defined in the SysmanKmdInterface class has
  been used.

Related-To: NEO-9979

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-01-25 08:34:15 +01:00
Bellekallu Rajkiran
cfba0e0861 refactor: Abstract frequency set requests based on Hw
Related-To: NEO-10101

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-24 09:11:46 +01:00
Bellekallu Rajkiran
1002cb9f34 fix: Fix abort on device get state
Related-To: NEO-9980

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-22 10:06:42 +01:00
Naklicki, Mateusz
a28a2d305e fix: align NEO code to new uAPI header
PMU is removed from XeKMD as it is likely to change in the future.

Related-To: NEO-8324

Co-authored-by: Francois Dugast <francois.dugast@intel.com>
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-01-16 13:36:32 +01:00