Commit Graph

39 Commits

Author SHA1 Message Date
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
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 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
Mateusz Jablonski 8b09bb855e fix: add missing includes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-22 16:31:11 +02:00
Artur Harasimiuk faa8907344 refactor: remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-18 14:52:43 +02:00
Mayank Raghuwanshi ddd7e6087f fix: Add guid check while calculating sysman memory Bandwidth
Related-To: LOCI-4597

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-05 19:36:44 +02:00
Compute-Runtime-Validation 7b45b205e3 Revert "fix: Add guid check while calculating Sysman memory Bandwidth"
This reverts commit c3e2e145c5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-04 14:23:50 +02:00
Mayank Raghuwanshi c3e2e145c5 fix: Add guid check while calculating Sysman memory Bandwidth
Related-To: LOCI-4597

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-03 19:32:17 +02:00
Mayank Raghuwanshi d02885767d feature: Add Support for 64 bit aggregated read/write counters
Related-To: LOCI-4529

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-06-28 18:14:47 +02:00
Mateusz Jablonski a7830eb478 refactor l0 cmake: add CMakeLists.txt files to solution
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 12:09:03 +01:00
Mateusz Jablonski cb7437b6b7 refactor l0 tools: cleanup cmake files
append sources in current directory

Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-16 14:05:14 +01:00
Warchulski, Jaroslaw bd81b5546d Cleanup includes 25
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-10 12:54:45 +01:00
Joshua Santosh Ranjan 522076cf82 Avoid adding subdevice flag if ReturnSubDevicesAsApiDevices is set
Related-To: LOCI-3656

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-12-19 05:15:51 +01:00
Bellekallu Rajkiran 4bbec2dbf4 Add support for board number property
Related-To: LOCI-3545

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-11-07 08:40:11 +01:00
Bellekallu Rajkiran 3323deb825 Add support for serial number property
Related-To: LOCI-3396

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-10-09 19:37:30 +02:00
Compute-Runtime-Validation 668f988e61 Revert "Add support for serial number property"
This reverts commit ba461e565e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-10-09 06:59:32 +02:00
Bellekallu Rajkiran ba461e565e Add support for serial number property
Related-To: LOCI-3396

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-10-07 20:08:01 +02:00
Bellekallu Rajkiran 47aaac16a6 Add pmt offset mappings for new revision
Related-To: LOCI-3410

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-09-13 08:30:05 +02:00
Bellekallu Rajkiran ceff16084d Fix temperature handle enumeration issue on single tile devices
Add platform check to read pmt offsets corresponding to
tile instead of root node for single tile devices.

Related-To: LOCI-2575

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-09-06 10:57:35 +02:00
Vilvaraj, T J Vivek 894f90f89e SysMan:fix device reset
The distance from the SGUnit to the  Root port is constant.
calculating the Rootport and Cardbus based on this observation.
the root port and card bus are used by Warmreset function to
preserve the PCI config space.

Resolves: LOCI-2899

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-06-25 03:13:52 +02:00
Daniel Chabrowski c303c218be Add missing pragma once in header files
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-07 16:19:11 +02:00
Mayank Raghuwanshi bcc543f949 Add zesMemoryGetBandwidth support for DG2 and ATS-M
Related-To: LOCI-2574
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-05-07 02:43:00 +02:00
Bellekallu Rajkiran 51988148de Sysman: Remove redundant files
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-11 18:32:57 +02:00
Mayank Raghuwanshi 5a804841cb Add pmt xml offsets for ATS-M
Related-To: LOCI-2960
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-04-11 07:29:44 +02:00
Bellekallu Rajkiran 922a224cc9 Add prelim support for temperature, power and global operations
Related-To: LOCI-2864

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-03 18:11:34 +01:00
Bellekallu Rajkiran 0bd60e524a Initialize telemetry device entry variable
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-01-31 20:33:53 +01:00
Mayank Raghuwanshi 90963b95ad Update mechanism for getting subdeviceId and onSubdevice for memory
Earlier sysman memory module was using logical subdeviceId
exposed by core to retrieve memory telmetry data, replace
the logical subdeviceId with actual subdeviceId for collecting
telemetry data.

Related-To: LOCI-2828

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-01-28 07:52:47 +01:00
Bellekallu Rajkiran a1121ccb6b Sysman: Replace mmap with pread
Use pread sys call instead of mmap and munmap
to get telemetry info.

Related-To: LOCI-2634


Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2021-12-06 17:44:29 +01:00
Kamil Kopryk 9ccf43e441 Correct branch_dir_suffix in cmake
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
John Falkowski dc77174255 TimerResolution Device Properties 1.2
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-07-06 11:37:07 +02:00
Jitendra Sharma 52f736c048 In PMT init, check for validity of every Telem node
In PMT init, check if telem sysfs directory entry belong to the
GPU device.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-06-09 09:21:33 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Jitendra Sharma 5f41e00909 In PMT telem directory ignore entry whose suffix is not "telem"
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-05-14 16:08:42 +02:00
Jitendra Sharma b0f2c76434 In Sysman PMT Fix telemetry node sort logic
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-02 07:21:07 +02:00
Jitendra Sharma 022f139bd5 Add ult for uncovered branches in Sysman memory API and PMT interface
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-03-30 20:29:32 +02:00
Jitendra Sharma 249f7e45cc Adding more features to Sysman's memory and Temperature APIs
This change -
 - Add support for memoryGetBandwidth API
 - Update temperature offsets
 - Update ULTs accordingly

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-03-15 18:01:52 +01:00
Mayank Raghuwanshi 0cc71827ee Update pmt telemetry node
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-02-19 07:14:13 +01:00
Jitendra Sharma 3597093758 Update Temperature APIs to get correct temperature
This change updates Temperature APIs to get correct current
temperature based on updated PMT interface.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-02-06 18:39:58 +01:00