Commit Graph

299 Commits

Author SHA1 Message Date
Mateusz Jablonski
3f65f75cc3 refactor: unify EngineInfo ctors
remove redundant constructor
create helper struct for numbers of engines
adjust test scopes

Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 17:08:15 +02:00
Mateusz Jablonski
51a9aa792f refactor: pass engine capabilities to all EngineInfo ctors
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-11 09:29:17 +02:00
Ezhilsivam Shanmugam
ae49a4f1fd fix: Implemented Get Fan Config to retrieve Default Fan Table
Related-To: NEO-11667

Signed-off-by: Ezhilsivam Shanmugam <ezhilsivam.shanmugam@intel.com>
2024-07-10 08:14:58 +02:00
Mateusz Jablonski
778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Kulkarni, Ashwin Kumar
a1c15371c1 feature(sysman): supports new device UUID mapping APIs
Related-To: NEO-10236

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-07-05 15:56:14 +02:00
Anvesh Bakwad
aa7b306813 refactor(sysman): Move guidToKeyOffsetMap to Product specific files
Related-To: NEO-11821

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-07-03 05:41:45 +02:00
shubham kumar
3b8e4aaedd refactor(sysman): Move pmt offsets to product helper layer
Related-To: NEO-11854

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-02 16:35:25 +02:00
shubham kumar
e5036ce9f0 feature(sysman): windows add support for card and package power
Related-To: NEO-11820

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-07-02 12:59:30 +02:00
Bellekallu Rajkiran
c5f0d3152d refactor: Move kmd interface files to seperate dir
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-28 09:22:00 +02:00
Bellekallu Rajkiran
40612e93d3 feature: Support for group engine activity with xeKMD
Related-To: NEO-10011

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-27 16:13:14 +02:00
Bari, Pratik
4aaf201d9e refactor(sysman): Add SysmanProductHelper In SysmanKmdInterface Creation
- The SysmanProductHelper Pointer is used in the SysmanKmdInterface
instance creation.
- The filename for the critical power limit is fetched via the
SysmanProductHelper instance.
- The native unit for the critical limit is fetched via the
SysmanProductHelper instance.

Related-To: NEO-11813, NEO-11811

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-27 00:58:37 +02:00
shubham kumar
492c90e300 feature(sysman): Win support PMT based getMemoryBandWidth
Related-To: NEO-10661

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-26 19:49:46 +02:00
Maciej Bielski
3e11ced59b fix: sanitize the array entries count returned from KMD
Related-To: NEO-11825
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-06-26 16:19:12 +02:00
Compute-Runtime-Validation
659075ffe5 Revert "feature(sysman): Win support PMT based getMemoryBandWidth"
This reverts commit 8d80941fff.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-25 04:12:21 +02:00
Bari, Pratik
cb8c0b1772 fix(sysman): Changes in the Global Operations API w.r.t Xe driver
- The list of Engine maps has been changed according to the fields
populated in the fdinfo.
- The driverVersion is fetched correctly for the i915 internal, upstream
as well as the Xe kernel.

Related-To: NEO-8551

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-24 10:32:33 +02:00
shubham kumar
8d80941fff feature(sysman): Win support PMT based getMemoryBandWidth
Related-To: NEO-10661

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-24 10:24:38 +02:00
Bellekallu Rajkiran
9f7d144e63 fix(sysman): Fix compilation error in fabric port
Include sysman_os_fabric_port_imp even in absence of libgenl.

Related-To: NEO-11438

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-21 19:09:11 +02:00
Vishnu Khanth
0136ef049a fix: Update canControl field based on set Request Support
Related-to: NEO-11443

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2024-06-21 18:46:45 +02:00
Bellekallu Rajkiran
62bf873b63 refactor(sysman): Remove Prelim compile time flag for fabric
Related-To: NEO-11438

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-19 05:36:36 +02:00
shubham kumar
7269950cb1 fix(sysman): create temperature handle only if pmt exists
Related-To: NEO-10663

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-17 19:28:42 +02:00
Artur Harasimiuk
8d28f8d90e fix: adjust SysCalls::write signature to match stdlib
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-14 16:48:12 +02:00
Bari, Pratik
6ecf5a088f refactor(sysman): Changes in the Sysman Power Module
Removed the call to getProperties during the power handle creation

Related-To: NEO-10484

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-06-13 07:56:42 +02:00
Bellekallu Rajkiran
0ce762a91c refactor: Move PMT common code to PMT specific class
Facilitate PMT utilization for other modules with refactoring
common PMT calls.

Related-To: NEO-8848

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-12 15:31:01 +02:00
shubham kumar
a7e0987485 feature(sysman): PowerLimitsExt support in windows zes branch
Related-To: NEO-8808

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-06-11 17:01:04 +02:00
Compute-Runtime-Validation
d2d8925cd3 Revert "refactor: Move PMT common code to PMT specific class"
This reverts commit 35c89488be.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-10 03:11:53 +02:00
Bellekallu Rajkiran
35c89488be refactor: Move PMT common code to PMT specific class
Facilitate PMT utilization for other modules with refactoring
common PMT calls.

Related-To: NEO-8848

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-06-07 16:26:48 +02:00
Filip Hazubski
031609e638 ci: update config files
Add reviewer bellekallu.rajkiran@intel.com to level_zero/sysman config
Add reviewer bellekallu.rajkiran@intel.com to level_zero/tools config

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-06-03 22:21:25 +02:00
Bari, Pratik
77beaac80c refactor(sysman): Changes in the scheduler module w.r.t Xe driver
While setting the Scheduler Timeout and Exclusive Modes with the xe
driver, the unsupported feature error is returned.

Related-To: NEO-10112

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-05-26 23:19:51 +02:00
Anvesh Bakwad
f75d03c866 fix(sysman): Fix memory management issues in Sysman PMT windows module
Related-To: NEO-11251

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2024-05-23 18:36:17 +02:00
Maciej Bielski
a80dfcc64c fix: make EngineInfo::engines protected
Make it accessible by respective getter.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-05-22 16:30:38 +02:00
Bellekallu Rajkiran
9f4c1b3daf refactor: Merge prelim and non-prelim part for firmware
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-20 18:13:14 +02:00
Bellekallu Rajkiran
1ffc826808 refactor: Merge Prelim and non-prelim files for memory
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-20 16:00:59 +02:00
Bellekallu Rajkiran
4b7e2d5064 fix: Return invalid fd for engine activity
Related-To: NEO-8324

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-16 14:28:24 +02:00
Mateusz Jablonski
4c306e1bb2 test(sysman): remove duplication of MockSysmanKmdInterfaceXe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-05-16 14:00:42 +02:00
Bellekallu Rajkiran
4320be4593 refactor: Merge prelim and non-prelim files for engine
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-15 06:26:12 +02:00
Pawel Cieslak
f10439aea2 fix: include <algorithm> where std::find is used
Related-To: NEO-11375
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-05-14 16:14:41 +02:00
shubham kumar
05406722b9 feature(sysman): Add pciGetStats support in win
Related-To: NEO-10662

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-05-10 18:22:45 +02:00
Filip Hazubski
5052d4ac4b fix: Update PlatformMonitoringTech::ioctlReadWriteData call
Update the logic to release the handle in failing cases as well.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-05-10 11:16:35 +02:00
Bellekallu Rajkiran
f18cb701d3 refactor: Merge Prelim and non-prelim files for scheduler
Related-To: NEO-11203

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-05-08 01:42:48 +02:00
Artur Harasimiuk
cbc868c4ed refactor: add mock_aubstream
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-04-25 20:08:30 +02:00
Kulkarni, Ashwin Kumar
39ca00fb08 feature(sysman): supports boilerplate for spec 1.9 features
Related-To: NEO-10394

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-04-24 09:17:38 +02:00
Mateusz Jablonski
704ea18ce3 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-18 15:38:22 +02:00
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