Commit Graph

143 Commits

Author SHA1 Message Date
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