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
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-24 15:36:27 +02:00
Bellekallu Rajkiran
007f5d70bf
[Fix, Sysman] Map uevent to device based on device path
...
Related-To: LOCI-4307
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-04-14 23:25:39 +02:00
Bellekallu Rajkiran
24f73f4686
fix(Sysman): Support for fabric port health change event.
...
Related-To: LOCI-4053
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-04-12 06:46:19 +02:00
Bellekallu Rajkiran
310380119a
feat(sysman): Support for registering events during listen
...
Related-To: LOCI-3682
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-04-04 07:07:19 +02:00
Mateusz Jablonski
659cacf2c9
refactor l0 cmake: reduce include directories
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 13:41:55 +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
Bellekallu Rajkiran
f0c7eef667
Sysman: Fix and refactor event implementation
...
Remove unnecessary prelim implementation for events.
Modify uevent property name to check memory health
events.
Related-To: LOCI-4089
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-03-09 09:34:11 +01:00
Bellekallu Rajkiran
2282f26734
feature(sysman): Support events for multiple devices
...
Related-To: LOCI-3683
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-03-07 09:50:32 +01:00
Bellekallu Rajkiran
1c63753ebe
feature(sysman): Support for reset event upon repair
...
Related-To: LOCI-3720
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-02-14 08:12:22 +01:00
Warchulski, Jaroslaw
e21cf516d3
Cleanup includes 44
...
Cleaned up files:
level_zero/tools/source/sysman/windows/os_sysman_imp.h
opencl/source/command_queue/command_queue.h
shared/source/command_container/cmdcontainer.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-25 16:05:22 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-05 10:33:47 +01:00
Jitendra Sharma
5baf75b9a8
Sysman: Redesign event API to effectively use uevents
...
Earlier implementation of sysman events API was based on file
creation in the filesystem. Whenever a uevent for some event
which needs to be monitored arrive, at that time a file was
created in the filesystem based on some preinstalled udev rules.
This approach was inefficient as it heavily depends over file
system and second with this approach losing events is always a
possibility.
Now with this change, we are removing our dependency over file
creation in filesystem. Rather we will be using libudev library
to monitor the uevents. This approach could also be extended,
when we want to listen to all the uevents for all the gpu
devices present in the system.
Related-To: LOCI-2140
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-12-07 07:29:57 +01:00
Kulkarni, Ashwin Kumar
cf55a92b79
Defer Sysman PCI, Global operations and Events Module Initialization
...
With this change, init for sysman PCI, Global operations and Events
API would not be done during zeInit.
init and thereby PCI, Global operations and Events API handle creation
would be done implicitly only when user explicitly calls any APIs.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-08-02 08:56:04 +02:00
Bellekallu Rajkiran
7ec8d8ef91
Add prelim support for frequency events and fabric port
...
Related-To: LOCI-2864
Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper/tree/master/i915-shared-headers
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-03-06 02:47:20 +01:00
Daniel Enriquez
f131b75d39
Events Windows:Fix corner case for the exit handle.
...
Corner case where the signal state is not restored after registering events.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-11-22 15:19:26 +01:00
Daniel Enriquez
dbe0ba2a0f
Sysman for Windows: Multiple fixes and optimizations
...
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-11-04 20:11:39 +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
Vilvaraj, T J Vivek
699b504378
sysman: add support to enable IFR status.
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-04-20 15:27:09 +02:00
Mayank Raghuwanshi
61c08c052f
Implement zesDriverEventListenEx
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-17 04:25:35 +02:00
Daniel Enriquez
b604ce4da5
Sysman for Windows: Adding break from Listen.
...
Breaking from the Listen call via registerEvents(0).
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-04-09 02:28:47 +02:00
Mateusz Hoppe
a24735b4fd
Revert "sysman: add basic steps for IFR status"
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-08 20:35:15 +02:00
Vilvaraj, T J Vivek
b56b204f3e
sysman: add basic steps for IFR status.
...
In field repair status information is needed as part of Device
reset status
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-04-07 16:21:26 +02:00
Mayank Raghuwanshi
d89b51edd3
Update sysman events API for bug fixes
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-03-23 09:34:42 +01:00
Kanhaiya Singh
9ff19c5fbd
Handling for invalid event argument
...
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
2020-12-23 11:25:38 +01:00
Jitendra Sharma
514b191bb6
Add support for sysman event ZES_EVENT_TYPE_FLAG_MEM_HEALTH
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-19 17:38:02 +01:00
Daniel Enriquez
a116d454fe
Sysman: Enabling events for Windows
...
Enabling events for Sysman in Windows Os Specific path HAL.
2020-11-17 16:37:19 +01:00
Jitendra Sharma
f4158e10ff
Add support for DEVICE_DETACH and DEVICE_ATTACH sysman events
...
Change-Id: I2da57ec50a0f3e87499660d37fa248a06f9fdb08
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-04 03:31:32 +01:00
Jitendra Sharma
6cce17e9a0
Add boiler plate support for sysman event API
...
Change-Id: I046620abb9943b2283215a5d2d85d71dcb8b98be
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-21 10:20:00 +05:30