Commit Graph

257 Commits

Author SHA1 Message Date
Bari, Pratik
22e94c3a8c fix(sysman): Changes in the Sysman Engine
The engine module returns error if incorrect fds are fetched

Related-To: NEO-10657

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-04-11 05:53:46 +02:00
shubham kumar
f673a255f7 feature(sysman): Fetch temp from PMT on windows
Related-To: NEO-10663

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-11 05:48:21 +02:00
shubham kumar
6a55bbe6cd feature(sysman): Add pmt support in windows
Related-To: NEO-8804

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-10 12:42:19 +02:00
Compute-Runtime-Validation
5288100d86 Revert "feature(sysman): Add pmt support in windows"
This reverts commit ebf88c92ca.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 17:37:41 +02:00
shubham kumar
ebf88c92ca feature(sysman): Add pmt support in windows
Related-To: NEO-8804

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-04 11:08:58 +02:00
Bari, Pratik
6d7e3dc5a2 fix: Changes in the Device Reset Implementation
Prior to the return of object in use error, the device is bind and init
again

Related-To: NEO-10946

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-04-02 17:33:40 +02:00
shubham kumar
839a150288 feature(sysman): Add product helper support in windows
Related-To: NEO-10850

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-02 05:51:23 +02:00
Aravind Gopalakrishnan
1af48cec4e feature: Prepare ras for netlink interface
Related-To: NEO-8568

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2024-04-02 05:41:15 +02:00
Mateusz Jablonski
089927406b refactor: move iaf headers to separate folder
add documentation about sources of linux kernel headers

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-29 12:11:51 +01:00
Mateusz Jablonski
bcaa62bed3 build: refactor linux kernel headers
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-28 14:48:09 +01:00
Mateusz Jablonski
00aa0802dd build: add missing include
https://github.com/intel/compute-runtime/pull/715

Fixes: #715

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-27 13:11:34 +01:00
Mateusz Jablonski
a2742492ab feature: enable xe drm detection by default
driver is built with xe drm support by default

added cmake flag to control xe eu debug API support
NEO_ENABLE_XE_EU_DEBUG_SUPPORT

This flag is disabled by default and uapi-eu-debug headers are not
needed for driver compilation as these headers are not a part of
upstream kernel yet.

Related-To: NEO-10780

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-19 08:47:13 +01:00
Mateusz Jablonski
19dcc80e44 Revert "build: enable xe drm detection by default"
This reverts commit 973757a58d.

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-18 09:04:59 +01:00
Bari, Pratik
75ce4dbe3b fix(sysman): Changes in the hwmon name for Xe.
Related-To: NEO-10485

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-03-12 08:54:02 +01:00
Bellekallu Rajkiran
072304296c feature: Remove support for min power limit property
Max limit to be same as default power limit.

Related-To: NEO-10525

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-03-11 15:30:56 +01:00
Mateusz Jablonski
973757a58d build: enable xe drm detection by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-11 14:29:20 +01:00
Mateusz Hoppe
5e15543b14 test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written

Related-To: NEO-7006

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 13:34:19 +01:00
Compute-Runtime-Validation
b44725b371 Revert "feature: Remove support for min power limit property"
This reverts commit cb924cfe6e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-07 20:29:35 +01:00
shubham kumar
a03a561f33 fix(sysman): Fix engine handles in prelim
Related-To: NEO-10553

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-03-06 15:17:13 +01:00
Bellekallu Rajkiran
cb924cfe6e feature: Remove support for min power limit property
Max limit to be same as default power limit.

Related-To: NEO-10525

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-03-05 17:23:54 +01:00
Bellekallu Rajkiran
a023b40c90 fix: Synchronize power property retrievals
Related-To: NEO-10525

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-28 12:09:56 +01:00
Bari, Pratik
317e4d84d4 fix(sysman): Changes in the Device Reset Implementation
- The unbind and bind operations in the device reset are now used
for the FLR and Cold Reset and not for Warm reset.

Related-To: NEO-10452

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-02-28 09:27:52 +01:00
Bari, Pratik
b55e5ddc87 feature(sysman): Add L3 Fabric Error in Sysman Dir
- Added the Display error category in the tools code as well.
- Added the index increment logic for the tools code as well.

Related-To: NEO-10362

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-02-28 08:48:08 +01:00
Mateusz Jablonski
c49445ce4e refactor: remove not needed file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-27 17:31:02 +01:00
Kulkarni, Ashwin Kumar
0ebaf7e1e2 fix(sysman): enables memory health indicator for supported platforms only
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-27 12:40:22 +01:00
Bellekallu Rajkiran
075fae19fd refactor: Merge prelim and non-prelim implementations for power
Abstract power set request support based on hw.

Related-To: NEO-10804

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 12:19:35 +01:00
Bellekallu Rajkiran
607b7a7a0e refactor: Abstract Ecc configuration based on product
Related-To: NEO-8728

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-21 11:45:14 +01:00
Bellekallu Rajkiran
93ab7957fa refactor: Abstract firmware support based on product
Related-To: NEO-10035

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-14 23:24:54 +01:00
Dunajski, Bartosz
e86a860127 refactor: remove unordered_map with extensions functions from Driver class
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-09 10:24:54 +01:00
Kulkarni, Ashwin Kumar
6f69fa997a refactor(sysman): refactor firmware flash progress support
Related-To: NEO-9297

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-08 15:11:04 +01:00
Kulkarni, Ashwin Kumar
11f76277c8 feature(sysman): adds firmware flash progress api support
Related-To: NEO-9297

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-08 10:23:24 +01:00
Bellekallu Rajkiran
43cdb58696 refactor: Abstract standby support based on product
Related-To: NEO-8886

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-05 11:21:12 +01:00
Bellekallu Rajkiran
a6634898c7 refactor: Abstract perf factor requests based on KMD and HW.
Related-To: NEO-8881

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-05 07:50:57 +01:00
Bellekallu Rajkiran
5e87d6a2f1 refactor: Refactor diagnostic product specific code
Related-To: NEO-10103

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-31 10:48:38 +01:00
Bari, Pratik
107156033b fix(sysman): Changes in Power Module w.r.t Xe
- Added support for min, max and default limits w.r.t Xe driver.
- Added support for getPropertiesExt, getLimitsExt, setLimitsExt.
- The Unit conversion logic defined in the SysmanKmdInterface class has
  been used.

Related-To: NEO-9979

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-01-25 08:34:15 +01:00
Bellekallu Rajkiran
cfba0e0861 refactor: Abstract frequency set requests based on Hw
Related-To: NEO-10101

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-24 09:11:46 +01:00
Filip Hazubski
b91c5e6605 ci: update config files
Add reviewer joshua.santosh.ranjan@intel.com to level_zero/sysman config
Add reviewer jitendra.sharma@intel.com to level_zero/sysman config
Add reviewer jitendra.sharma@intel.com to level_zero/tools config

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-01-22 11:45:10 +01:00
Bellekallu Rajkiran
1002cb9f34 fix: Fix abort on device get state
Related-To: NEO-9980

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-01-22 10:06:42 +01:00
Naklicki, Mateusz
a28a2d305e fix: align NEO code to new uAPI header
PMU is removed from XeKMD as it is likely to change in the future.

Related-To: NEO-8324

Co-authored-by: Francois Dugast <francois.dugast@intel.com>
Co-authored-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-01-16 13:36:32 +01:00
Kamil Kopryk
36dcfc0b42 feature: add stateless heapless builtins
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-16 11:11:31 +01:00
Bari, Pratik
88b44c6644 fix(sysman): Return correct HwMon path for Prelim File
Related-To: NEO-10030

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-01-12 10:08:33 +01:00
Bari, Pratik
e50a85fc0c feature(sysman): Add Sysman Product Helper in Non Prelim file for Memory
- Removed the unnecessary files from the memory module.
- Added one error check in the dg2 product helper file. One ULT from the
  prelim file has been changed for this.

Related-To: NEO-8662

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-28 10:50:33 +01:00
Bari, Pratik
baf11d06ca feature(sysman): Add Sysman Product Helper in Prelim File for Memory
Related-To: NEO-8662

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-12-27 22:49:01 +01:00
Mateusz Jablonski
368070069e refactor: remove intel_hwconfig_types file from third party
remove not needed querying of vs/hs/ds/ps/gs threads

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-27 15:32:23 +01:00
Kulkarni, Ashwin Kumar
50fe037aeb refactor(sysman): enable product helper for power module
Related-To: NEO-8734

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-12-27 09:26:55 +01:00
Bellekallu Rajkiran
b39aafec26 feature(sysman): Add Support for ras exp API's
Related-To: NEO-8839, NEO-8873

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-22 10:09:21 +01:00
Bellekallu Rajkiran
d0ac63b74e feature: Boilerplate for retrieving current voltage
Related-To: NEO-9471

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-12-21 09:28:39 +01:00
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