Commit Graph

83 Commits

Author SHA1 Message Date
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
Kumar, Shubham 03a8b76e02 feature(sysman): Xe porting of Power Module
Related-To: LOCI-4851

Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-11-12 01:53:50 +01:00
Bellekallu Rajkiran 78877424b0 fix: Synchronize iaf requests to KMD
Related-To: NEO-8990

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-09 09:41:42 +01:00
Jitendra Sharma 79fbd8fedf refactor: Merge sysman/source/linux with sysman/source/shared/linux
Related-To: NEO-9376

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-11-08 17:08:02 +01:00
Bellekallu Rajkiran aa85d71adc fix: Fix sysman abort on destruction
Invoking close on invalid fd result in undesired behaviour.
Pass proper file descriptor for close to avoid unnecessary
aborts during destruction.

Related-To: GSD-6816

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-01 22:27:33 +01:00
Mateusz Jablonski c6cbfc79fd refactor: add wrapper for handling file descriptor of SysmanHwDeviceIdDrm
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 12:37:44 +02:00
Bari, Pratik 3c2ef4fbbf feature(sysman): Boilerplate for Sysman Product Helper
- Added the product specific files and some functions
- Have added APIs to call the interface to the Sysman product helper
- Have added ULTs for the new APIs

Related-To: NEO-8584

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-09-26 15:22:13 +02:00
Joshua Santosh Ranjan 876052901d feature: update sysman scheduler for xe kmd
Related-To: LOCI-4690

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-09-05 05:43:28 +02:00
Bari, Pratik f9e4381c1e feature: Add FsAccess and Derived class in Sysman Kmd Interface
- The FsAccess, ProcFsAccess and SysfsAccess classes have been added in
a file in the Sysman Shared directory. The instances of these classes
are maintained in the Sysman Kmd Interface classes.
- Added functions for opendir, readdir and closedir in the shared code.
- Added a ULT in the sysman directory to cover these new functions from
the shared code.

Related-To: LOCI-4689

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-23 11:38:57 +02:00
Jitendra Sharma 68e1f81a83 feature: Add XE driver support for sysman processGetStateAPI
This change adds support to get information about process via
fdInfo

Related-To: LOCI-4401

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-08-14 11:05:55 +02:00
Bari, Pratik 3f083360a2 feature(sysman): Added sysfs filenames for the memory module
- The sysfs filenames have been added in the sysfsNameToFileMap of the
SysmanKmdInterface classes.
- The functions returning the sysfs filenames have been removed from the
shared directory.
- The ULTs have been added to return the sysfs filenames.

Related-To: LOCI-4699

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-03 22:36:17 +02:00
Bari, Pratik b85222b4f3 feature(sysman): Added changes for Porting Standby API
The corresponding sysfs file names used by the standby module has been
added in the sysfsNameToFileMap.
The ULTs have been added in the standby module covering the new
filename.
The base path for the sysfs filenames corresponding to the Xe driver
have been modified.

Related-To: LOCI-4406

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-02 16:02:47 +02:00
Bellekallu Rajkiran 424784f7cf feature(sysman): Add power control support with xe driver
Support to get power related sysfs names based on drm
driver installed.

Related-To: LOCI-4403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-26 12:50:25 +02:00
Mayank Raghuwanshi ea7d9fe106 feature: Xe Porting for sysman engine module
Related-To: LOCI-4243

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-26 10:24:05 +02:00
Bari, Pratik 16b56b9a6f feature(sysman): New shared directory in the sysman code.
The files containing the new 'SysmanKmdInterface' has been moved into
the new 'shared' directory in the existing sysman directory. More files
are to be added in this directory which will be used by all the sysman
modules in the sysman and tools directories.

Related-To: LOCI-4649

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-07-18 16:06:31 +02:00