Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Bari, Pratik
88b44c6644 fix(sysman): Return correct HwMon path for Prelim File
Related-To: NEO-10030

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-01-12 10:08:33 +01:00
Bari, Pratik
e50a85fc0c feature(sysman): Add Sysman Product Helper in Non Prelim file for Memory
- Removed the unnecessary files from the memory module.
- Added one error check in the dg2 product helper file. One ULT from the
  prelim file has been changed for this.

Related-To: NEO-8662

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-28 10:50:33 +01:00
Bari, Pratik
baf11d06ca feature(sysman): Add Sysman Product Helper in Prelim File for Memory
Related-To: NEO-8662

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-27 22:49:01 +01:00
Kulkarni, Ashwin Kumar
50fe037aeb refactor(sysman): enable product helper for power module
Related-To: NEO-8734

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-27 09:26:55 +01:00
Bellekallu Rajkiran
d0ac63b74e feature: Boilerplate for retrieving current voltage
Related-To: NEO-9471

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-21 09:28:39 +01:00
Bakwad, Anvesh
4a59406f83 feature(sysman): Implement/Update Frequency APIs at each Product Level
Related-To: NEO-8745

Signed-off-by: Bakwad, Anvesh <anvesh.bakwad@intel.com>
2023-12-21 07:48:43 +01:00
Kulkarni, Ashwin Kumar
e3fb97c722 feature(sysman): enable product helper for global operations
Related-To: NEO-8754

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-20 14:29:17 +01:00
Mateusz Jablonski
bf60d77e10 refactor: correct naming of enum class constants n/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-20 10:56:37 +01:00
Mateusz Jablonski
dd1b9d6abc refactor: correct naming of enum class constants 8/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-19 08:18:18 +01:00
Bari, Pratik
577d7d2e37 fix(sysman): Sysfs Node change used by the Frequency Module
The Sysfs Nodes used by the Frequency Module with Xe driver has been
changed.

Related-To: NEO-8815

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-18 12:24:51 +01:00
Bellekallu Rajkiran
3b4eb80e89 refactor: Adjust Ras functionality based on KMD interface
This is to incorporate Ras error counter retrieval using
different interfaces for different platforms.

Related-To: NEO-9469

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-18 11:22:32 +01:00
Kulkarni, Ashwin Kumar
d7aea3e745 feature(sysman): supports product helper for temperature module
Related-To: NEO-8720

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-11 09:40:25 +01:00
Kulkarni, Ashwin Kumar
b33d9955a1 fix(sysman): fixes multithread access issue with FSAccess
Related-To: NEO-9720

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-11 08:53:35 +01:00
Bellekallu Rajkiran
7b08ae3c39 refactor: Add explicit product helper instantiations
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-09 03:00:19 +01:00
Kulkarni, Ashwin Kumar
a064388ba8 fix(sysman): fixes multithread access issue with FDCache
Related-To: NEO-9720

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-08 09:53:46 +01:00
Bakwad, Anvesh
c367c2b332 feature: Support Product Helper for Performance Module
Related-To: NEO-9593

Signed-off-by: Bakwad, Anvesh <anvesh.bakwad@intel.com>
2023-12-06 23:47:53 +01:00
Mateusz Jablonski
306142eefa refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-04 16:00:52 +01:00
Bari, Pratik
58b5e4aaa9 feature: Creation of SysmanKmdInterfaceI915Prelim class
- A new class SysmanKmdInterfaceI915Prelim has been created.
- The earlier class SysmanKmdInterfaceI915 has been renamed to
  SysmanKmdInterfaceI915Upstream.

Related-To: NEO-9556

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-04 05:14:39 +01:00
Bellekallu Rajkiran
3349fcaf75 refactor: Remove duplicate FsAccess class definition
Related-To: NEO-9661

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-01 08:49:12 +01:00
Mateusz Jablonski
c9664e6bad refactor: rename global debug manager to debugManager
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 13:00:59 +01:00
Mateusz Jablonski
36194c4e7d refactor: correct variable namings
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-29 23:49:03 +01:00
Bellekallu Rajkiran
59e0eb4ab2 fix: Handle error when product helper is nullptr
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-29 12:31:03 +01:00
Naklicki, Mateusz
dc29c08abd fix: align NEO code to new uAPI header
Related-To: NEO-9566
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-11-27 19:50:23 +01:00
Bari, Pratik
8d1a704466 feature(sysman): Xe porting of Performance Module
- The new sysfs Filenames have been introduced in the Sysman Kmd
  Interface class which are used for Xe driver.
- The SysFsAccessInterface class instance have been used for the Sysfs
  calls.
- The ULTs have been added for the new functions.

Related-To: NEO-8806

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-11-27 03:30:01 +01:00
Kulkarni, Ashwin Kumar
5c7875bbb9 feature(sysman): adds sysman product helper for all supported platforms
Related-To: NEO-8720

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-21 11:25:40 +01:00
Bari, Pratik
246a143d0f feature: Xe porting of Group Engine Interface
Related-To: NEO-8629

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-11-20 05:24:21 +01:00