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