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