Mateusz Jablonski
a4888b39c6
build: add clang-tidy restriction for Enum case
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-21 08:58:51 +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
Bellekallu Rajkiran
d953b3e8c5
refactor: Remove unnecessary prelim files for frequency
...
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-20 07:41:01 +01:00
Bari, Pratik
13a451712c
fix(sysman): ULTs for Frequency w.r.t Xe driver
...
Related-To: NEO-8815
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-19 17:11:23 +01:00
Bellekallu Rajkiran
88534f1f3c
refactor: Make ras Util class non copyable or movable
...
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-19 14:40:34 +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
Bari, Pratik
1eb82f9fd9
refactor(sysman): Add Xe code of Frequency to non prelim files
...
Related-To: NEO-8815
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-15 07:12:19 +01:00
Mateusz Jablonski
cff6c81be0
refactor: correct naming of DrmIoctl enums
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-12 10:02:19 +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
Bellekallu Rajkiran
b5a09f8eb4
feature: Add support for ras clear state exp
...
Related-To: NEO-8873
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-07 10:59:36 +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
4fca0e16b6
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-04 18:26:31 +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
Aravind Gopalakrishnan
ec3d4d0956
feature(sysman): Add ras get state exp implementation
...
Related-To: NEO-8839
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-12-04 13:54:17 +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
35ead06765
fix: Fix Sysman ULT failures
...
- Merge Ras and globalOps prelim files with non-prelim
files.
Related-To: NEO-9521
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-01 15:11:22 +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
shubham kumar
e470104d42
feature(sysman): Use common KMD interface in Standby module
...
Related-To: NEO-8755
Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-12-01 02:39:34 +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
48fdd857a4
fix: Add support for min, max and default limits
...
Related-To: NEO-8373
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-29 20:07:33 +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
Compute-Runtime-Validation
a3daca1e70
Revert "fix: Fix Sysman ULT failures"
...
This reverts commit 4398e4297f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-17 10:52:28 +01:00
Aravind Gopalakrishnan
801d5fc48e
feature(sysman): Report flags and type for core property struct
...
Related-To: LOCI-4484
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-11-16 11:33:01 +01:00
Kulkarni, Ashwin Kumar
bf92d7824e
feature(sysman): enables uuid from zesDeviceGetProperties with zesInit
...
Related-To: NEO-9047
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-15 14:07:50 +01:00
Bellekallu Rajkiran
4398e4297f
fix: Fix Sysman ULT failures
...
- Merge Ras and globalOps prelim files with non-prelim
files.
Related-To: NEO-9521
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-14 11:28:56 +01:00
Kulkarni, Ashwin Kumar
8074d75e06
feature(sysman): adds boilerplate for spec 1.8 changes
...
Related-To: NEO-9296
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-13 06:23:38 +01:00
Compute-Runtime-Validation
bc3ae9a805
Revert "feature(sysman): enables uuid from zesDeviceGetProperties with zesIni...
...
This reverts commit 5e3cc2ca3b
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-12 04:23:50 +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
Kulkarni, Ashwin Kumar
5e3cc2ca3b
feature(sysman): enables uuid from zesDeviceGetProperties with zesInit flow
...
Supports uuid with zesDeviceGetProperties with zesInit flow in windows
Related-To: NEO-9047
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-10 19:10:03 +01:00
Bellekallu Rajkiran
16725e2438
refactor: Merge Ras prelim files with non-prelim files
...
Related-To: NEO-9469
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-09 15:21:49 +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
Bellekallu Rajkiran
0e8c3bf473
fix: Remove use of device sysfs paths after unbind
...
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-09 00:45:25 +01:00
Bellekallu Rajkiran
8a50cdf130
feature: Add NEEDS_RESET property for reset required event
...
Related-To: NEO-8604
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-08 22:31:53 +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
Joshua Santosh Ranjan
f6c40dd76e
feature(sysman): add per vf engine busyness support telemetry
...
Related-To: NEO-8696
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-11-07 07:10:23 +01:00
Jitendra Sharma
9f0ac8a7a3
refactor: Move windows and firmware_util sysman code to sysman shared folder
...
Related-To: NEO-9376
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-11-03 12:29:00 +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
Bellekallu Rajkiran
943ffb31ef
feature(sysman): Add support for device reset extension
...
Related-To: NEO-8654
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-10-31 23:39:18 +01:00
Mateusz Jablonski
e301418423
fix: correct issues with clang tidy
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-31 12:23:42 +01:00
Jitendra Sharma
84d44a61f6
refactor: Move sysman_driver/sysman_device files to driver/device directories
...
Related-To: NEO-9376
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-10-30 16:05:09 +01:00
Jablonski, Mateusz
fad9ad729d
fix: don't modify vector when iterating over items
...
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2023-10-30 13:45:28 +01:00
Mateusz Jablonski
036d1e4814
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-30 12:48:51 +01:00
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-26 15:40:29 +02:00
Baj, Tomasz
cb0bb57f49
fix: if device hierarchy is flat then getSubDevicesCount return 1u
...
Related-To: NEO-9167
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2023-10-25 15:51:52 +02:00
Bellekallu Rajkiran
0c960322f7
fix: fix linker error in fabric port stub implementation
...
Related-To: LOCI-4301
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-10-24 07:25:32 +02:00
Bellekallu Rajkiran
84cdf47abf
fix: Update handles upon device reset
...
Outdated info that is present in several modules
because of reset result in crash when module info
is retrieved after reset.
Release and re-create module handles during reset
to avoid crash.
Related-To: NEO-9100
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-10-24 00:27:19 +02:00
Jablonski, Mateusz
d724627098
fix: fix compilation error in clang on Windows (1/n)
...
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2023-10-23 10:36:23 +02:00
Bellekallu Rajkiran
75537b3463
feature: Add support for fabric multi port throughput
...
Update iaf uapi header sync to:
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc19
Add netlink calls to support fabric multi port throughput.
Related-To: LOCI-4301
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-10-20 07:34:40 +02:00
Aravind Gopalakrishnan
18e45b2b42
feature(sysman): Add support for device type and flags
...
Related-To: NEO-8590
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-19 19:25:38 +02:00
Joshua Santosh Ranjan
994fb1110f
fix(sysman): handle memory info creation failure
...
Related-To: NEO-8452
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-10-18 07:55:48 +02:00
Mateusz Jablonski
4be1a8f615
fix: ignore read error when getting bandwidth for DG2
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:37:15 +02:00
Mateusz Jablonski
a420e34b10
fix: explicitly remove assign operators when not needed
...
when class defines copy/move ctor then corresponding assign operator(s)
should be defined or deleted
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:25:15 +02:00
Pawel Cieslak
6e481535d0
fix: fix compilation issues when building with clang-16
...
Related-To: NEO-8284
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-10-11 15:08:01 +02:00
Mateusz Jablonski
a7e86f40bf
fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-11 14:04:07 +02:00
Jitendra Sharma
541e4e57f6
refactor: Move Sysman APIs to level_zero/sysman/source/api
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-10-11 11:18:36 +02:00
Compute-Runtime-Validation
52cc796886
Revert "fix: use FileDescriptor class to handle open/close file descriptor in...
...
This reverts commit 174ec38b52
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-11 03:07:04 +02:00
Mateusz Jablonski
174ec38b52
fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-10 12:42:14 +02: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
Mateusz Jablonski
099a3f30e3
fix: add FileDescriptor class to ensure file descriptor is closed
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-09 16:23:28 +02:00
Jitendra Sharma
3e06ccac37
refactor: code cleanup in sysman firmware_util
...
Move methods and variables not required to be public as protected.
Related-To: NEO-8555
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-10-09 12:26:20 +02:00
Mateusz Jablonski
2ab4aeda85
fix: add static casts to destination type to avoid overflows in multiplication
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-06 14:55:24 +02:00
Mateusz Jablonski
382fc952f2
refactor: add NonAssignableClass to define classes without assign operator
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-05 15:16:58 +02:00
Mateusz Jablonski
72182c28e9
refactor: add NonCopyableOrMovableClass to classes that don't need copy ctors
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-05 13:11:01 +02:00
Mateusz Jablonski
895a586083
refactor: use reference in for-range loops
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-03 18:56:53 +02:00
Mateusz Jablonski
094724e0b3
refactor: remove not needed condition
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-03 10:19:28 +02:00
Mateusz Jablonski
1963ea69e5
fix: add missing member initializations
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-03 08:41:46 +02:00
Mateusz Jablonski
9337911742
fix: add self-assign check in operator=
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-03 08:09:16 +02:00
Mateusz Jablonski
4a80380aaf
refactor: remove redundant comparing array address to zero
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-29 15:36:22 +02:00
Mateusz Jablonski
3a21b3b228
refactor: remove not needed code
...
Related-To: NEO-7527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-28 07:52:39 +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
Kulkarni, Ashwin Kumar
3a5b038c45
fix(sysman): bugfix for return of correct uuid with zesInit flow
...
Related-To: LOCI-4907
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-09-21 09:41:49 +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
Mateusz Jablonski
8b09bb855e
fix: add missing includes
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-22 16:31:11 +02:00
Kulkarni, Ashwin Kumar
2f9a58e0ab
feature(sysman): enables events module for zesInit windows
...
Related-To: LOCI-4195
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-18 08:43:31 +02:00
Bellekallu Rajkiran
81d037f59b
feature(sysman): Add support for fabric error counters
...
Related-To: LOCI-4620
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-08-16 15:05:32 +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
Kulkarni, Ashwin Kumar
5cd39dd155
fix(sysman): supports return of correct temperature domains on igfx
...
Related-To: LOCI-4741
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-04 12:28:50 +02:00
Bellekallu Rajkiran
63fa05e776
fix: Proper update of device count that generated events
...
numDeviceEvents out param is not being updated in case
there are no events and device events map is not overridden
on multiple register calls result in failure.
Related-To: LOCI-4751
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-08-04 11:58:56 +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
Bari, Pratik
64bf895cf7
feature(sysman): Create boilerplate for spec 1.7 in sysman
...
- Added new sysman APIs introduced in spec1.7
- Added ULTs to cover the new APIs
Related-To: LOCI-4667
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-02 13:51:09 +02:00
Bellekallu Rajkiran
8778a0acca
feature(sysman): Optimize Sysfs reads
...
Maintain cache of file names and file descriptor to
avoid invoking open and close system calls on every
read call.
Related-To: LOCI-4556
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-27 10:08:10 +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
Mayank Raghuwanshi
171e63409c
feature: Add common Interface for timestamp in sysman
...
Related-To: LOCI-4511
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-25 09:32:51 +02:00
Mayank Raghuwanshi
175ceb9bd1
feature: Add support for media freq domain on linux
...
Related-To: LOCI-4552
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-25 08:12:33 +02:00
Puneeth Kumar Reddy, Devarinti
bcc0771537
feature: add debug logs to global module for new sysman implementation
...
Related-To: LOCI-3876
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-24 09:23:10 +02:00
Puneeth Kumar Reddy, Devarinti
03bfea0ef5
feature: add debug logs to firmware module for new sysman implementation
...
Related-To: LOCI-3877
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-24 09:22:55 +02:00
Puneeth Kumar Reddy, Devarinti
ff6f64d9be
feature(sysman): add debug logs to ras module for zesInit
...
Related-To: LOCI-3880
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-20 15:17:24 +02:00
Mayank Raghuwanshi
af6798f257
feature: Add support for 64 bit memory counters for zesInit
...
Related-To: LOCI-4613, LOCI-4612
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-20 11:04:24 +02:00
Compute-Runtime-Validation
5c60b4d973
Revert "feature: Add support for Media frequncy Domain on linux"
...
This reverts commit 085293b230
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-20 03:04:52 +02:00
Mayank Raghuwanshi
085293b230
feature: Add support for Media frequncy Domain on linux
...
Related-To: LOCI-4552
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-19 16:43:27 +02:00
Artur Harasimiuk
9524b65b51
refactor: remove unused code
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-19 12:00:40 +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
Artur Harasimiuk
faa8907344
refactor: remove unused code
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 14:52:43 +02:00
Bellekallu Rajkiran
461ecc9b3b
fix(sysman): Align board number string sequence
...
Related-To: LOCI-4631
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-17 16:07:43 +02:00
Kulkarni, Ashwin Kumar
ed972bb21c
feature(sysman): supports pci module for zesInit windows
...
Related-To: LOCI-4204
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-14 02:28:32 +02:00
Puneeth Kumar Reddy, Devarinti
6f29e3b100
feature(sysman): add debug logs to power module for zesInit
...
Related-To: LOCI-3879
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-13 17:46:30 +02:00
Bari, Pratik
b9837ef068
feature(sysman): Added changes for Porting Frequency API
...
The new classes SysmanKmdInterface, SysmanKmdInterfaceI915 and
SysmanKmdInterfaceXe have been introduced.
A map is maintained in the SysmanKmdInterfaceI915 and
SysmanKmdInterfaceXe class for the sysfs file names.
The access specifier of the function getDrmVersion has been changed from
protected to public so as to use it in the sysman code. This is required
for the SysmanKmdInterface pointer to point to the
SysmanKmdInterfaceI915 and SysmanKmdInterfaceXe accordingly.
The ULTs have been added for the new sysfs file path corresponding to
the i915 and the Xe driver.
Related-To: LOCI-4399
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-07-13 08:41:05 +02:00
Puneeth Kumar Reddy, Devarinti
d61961227c
feature: add debug logs for fabricport for new sysman implementation
...
Related-To: LOCI-3882
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-13 08:00:43 +02:00
Puneeth Kumar Reddy, Devarinti
c6e0e397c6
feature: add debug logs for ecc module for new sysman implementation
...
Related-To: LOCI-3878
Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-06 15:39:28 +02:00
Kulkarni, Ashwin Kumar
358a53c43b
feature(sysman): enables ecc module for zesInit windows
...
Related-To: LOCI-4207
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 11:16:51 +02:00
Kulkarni, Ashwin Kumar
c1371eea9f
feature(sysman): supports firmware and RAS modules for zesInit
...
Related-To: LOCI-4197
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 10:30:48 +02:00
Bellekallu Rajkiran
6994106c1f
fix: Read pci config space on demand.
...
Storing config space during sysman init might result in
providing inappropriate properties as config space can be
modified.
Read config space whenever properties are queried.
Related-To: LOCI-4513
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-07-01 00:37:38 +02:00
Aravind Gopalakrishnan
ba4c4a5af0
feature(sysman): Retrieve uuid for Sysman device properties
...
- Abstracts product helpers logic for uuid
- Add UUID retrieval for Linux for Sysman via zesInit path
Related-To: LOCI-4137
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-06-26 19:17:21 +02:00
Kulkarni, Ashwin Kumar
73b40a49dc
fix(sysman): Enables zesInit flow without setting ZES_ENABLE_SYSMAN
...
Related-To: LOCI-4458
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-23 11:01:36 +02:00
Bellekallu Rajkiran
fe4330e588
feature(sysman): Add support for events module
...
- Port events module to new sysman design
- Add events ULTs for new sysman interface
Related-To: LOCI-4120
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-06-21 07:06:43 +02:00
Bari, Pratik
a15e8a9679
feature: Added changes for Porting Memory API with XE driver
...
The Memory Info object is used in the getState function for memory.
Some of the ULTS in the memory modules has been modified.
A function to return the sysfs nodes for the Memory address range has
been added in the IoctlHelper class corresponding to the XE and i915
driver.
Related-To: LOCI-4397
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-06-20 21:38:17 +02:00
Mayank Raghuwanshi
ac01d02247
feature: Add support for frequency media domain for windows
...
Related-To: LOCI-4287
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-06-19 06:19:10 +02:00
Kulkarni, Ashwin Kumar
befb9fca58
feature: enables memory module to support zesInit flow
...
Related-To: LOCI-4198
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-14 20:39:21 +02:00
Kumar, Shubham
c99a08bea8
feature: Support for Fan module using zesinint on windows
...
Added ULTs for Fan module in new sysman implementation
Added support for Fan in zello_sysman
Related-To: LOCI-4409, LOCI-4412
Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-06-13 02:12:20 +02:00
Bari, Pratik
112bbec6e9
feature(sysman): Add support for the Diagnostics APIs
...
Added support for the Diagnostics APIs in the new sysman design
Added ULTs for the Diagnostics APIs in the new sysman design
Related-To: LOCI-4247
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-06-09 09:57:26 +02:00
Kulkarni, Ashwin Kumar
24495b5954
feature(sysman): Support Global Operations module for windows zesInit
...
Related-To: LOCI-4194
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-08 19:23:27 +02:00
Kulkarni, Ashwin Kumar
bc719ad80e
feature(sysman): supports performance module for zesInit windows
...
Related-To: LOCI-4205
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-06-06 08:40:51 +02:00
Jitendra Sharma
365ea7a178
feature: Add support for enabling compute unit debug mode
...
Add support for enabling compute unit debug mode in sysman
which is not initialized by core.
Related-To: LOCI-4370
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-06-05 12:37:35 +02:00
Bellekallu Rajkiran
3c072a6cd1
fix: WA for VF bar resource allocation post Warm reset
...
On Warm reset, With default bar size set by bios, VF bar
allocation is getting failed because of bug in pci driver
which impacts SRIOV functionality.
Resize VF bar size for succesful allocation of VF bar
post warm reset.
Related-To: LOCI-4481
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-06-02 13:16:34 +02:00
shubham kumar
501c8e87d7
fix: rename files under sysman to make them unique
...
Related-To: LOCI-4383
Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-05-30 10:23:15 +02:00
Mateusz Jablonski
82ed9e9a96
refactor: simplify L0 tools/sysman headers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-05-29 10:59:25 +02:00
Jitendra Sharma
e800cae7f9
fix: Restrict sysman usage without initializing it
...
This change is to tacke situation when user tries to invoke
zesDriverGet without successfully calling zesInit.
Related-To: LOCI-4447
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2023-05-25 17:04:59 +02:00
Mayank Raghuwanshi
d0d5a03be7
feature: Add support for Experimental zexSysmanMemoryGetBandwidth
...
Related-To: LOCI-3838
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-05-25 00:46:07 +02:00
Bari, Pratik
f9703f25b0
feature(sysman): Added support for PCI APIs
...
Added support for PCI APIs in the new sysman design
Added ULTs for the PCI APIs in the new sysman design
Related-To: LOCI-4319
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-05-18 07:48:14 +02:00
Aravind Gopalakrishnan
7b27d7cf41
fix(sysman): Minor fixes to RAS module
...
- check for empty set
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-05-17 18:58:47 +02:00
Bari, Pratik
af2c61c54b
feature(sysman): Added support for Performance APIs
...
Added support for the Performance APIs in the new sysman design.
Added ULTs for the Performance APIs in the new sysman design.
In the black box test for performance, the API to compute the number
of sub devices has been changed in order to get the sub device count
regardless of the sysman initialization using zeInit or zesInit.
Related-To: LOCI-4294
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-05-16 06:59:29 +02:00
Kumar, Shubham
e8e2bdc900
feature: Support for Engine APIs with zesinit
...
Related-To: LOCI-4199
Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-05-16 05:37:39 +02:00
Kulkarni, Ashwin Kumar
29c4a12b75
feature: supports sysman temperature module for zesInit
...
Related-To: LOCI-4203
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-05-12 17:13:42 +02:00
Aravind Gopalakrishnan
826abf338a
feature(sysman): Add support for RAS module
...
- Port RAS module to new sysman design
- Add RAS ULTs for new sysman interface
Related-To: LOCI-4246
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-05-09 19:44:51 +02:00
Kulkarni, Ashwin Kumar
46919d3e91
feature: Supports frequency APIs with zesinit
...
Related-To: LOCI-4196
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-05-02 05:07:11 +02:00
Bellekallu Rajkiran
c55c1b4276
refactor(sysman): Remove support for Array and scan diagnostics
...
Related-To: LOCI-4323
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-05-01 05:30:36 +02:00
Bari, Pratik
4647564cc9
feature(sysman): Added support for Temperature APIs
...
Added support for the Temperature APIs in the new sysman design.
Added ULTs for the Temperature APIs in the new sysman design.
Related-To: LOCI-4293
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-27 16:45:23 +02:00
Mayank Raghuwanshi
9cc5763800
fix: Revert spec 1.5 RAS changes from Sysman
...
Related-To: LOCI-4351
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-04-27 05:29:33 +02:00
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-24 15:36:27 +02:00
Mayank Raghuwanshi
b733d56a36
Make calls to igsc from Sysman thread safe
...
Related-To: LOCI-4325
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-04-21 15:51:27 +02:00
Kulkarni, Ashwin Kumar
c93b084a4b
Change return code for APIs with no support in windows
...
Related-To: LOCI-3863
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-04-21 07:28:20 +02:00
Bari, Pratik
e03b1581b9
Added support for the ECC APIs
...
- Added support for the ECC APIs in the new sysman design.
- Added ULTs for the ECC APIs in the new sysman design.
Related-To: LOCI-4244
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-14 07:17:12 +02:00
Singh, Prasoon
0165f6158c
[Sysman] Replace normal pointers with smart pointers (13/n)
...
Replacing normal pointers by smart pointers in scheduler module
of LO sysman(zesinit).
Related-To: LOCI-2810
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
2023-04-10 23:14:00 +02:00
Kulkarni, Ashwin Kumar
d0fb5a6e51
Support Windows Sysman initialization
...
Support for Initialization using zesInit
Support Power module using new sysman initialization
Related-To: LOCI-4134
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-04-10 06:59:47 +02:00
Bari, Pratik
f8623fadaf
Added support for Standby APIs
...
- Added support for the Standby APIs in the new sysman design.
- Added ULTs for the Standby APIs in the new sysman design.
Related-To: LOCI-4097
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-04-10 06:54:50 +02:00