Bellekallu Rajkiran
be2cd522af
fix(sysman): Add WA to provide CPU timestamp for engine stats
...
Related-To: NEO-10551
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-06-26 02:42:35 +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
Joshua Santosh Ranjan
c57534eb67
fix: detect prelim availability in sysman engine module
...
Related-To: NEO-9983
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-04-30 23:21:41 +02:00
Joshua Santosh Ranjan
c6bcdf8c7b
fix(sysman): correct the error number for fd overflow
...
Related-To: NEO-10513
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-08 13:52:32 +01:00
Joshua Santosh Ranjan
ba5c6f32b3
feature: return error when file handles are exhaused in sysman engine
...
Related-To: NEO-10513
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-03-07 09:15:20 +01:00
Joshua Santosh Ranjan
14cf315bda
refactor(sysman): optimize use of fd handles in engine module
...
Related-To: NEO-10449
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-02-21 19:17:31 +01:00
Joshua Santosh Ranjan
8176e13111
fix(sysman): handle number of vf not available case
...
Related-To: NEO-8554
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-12-28 09:54:45 +01:00
Joshua Santosh Ranjan
2d62c4e058
fix(sysman): add implementation for getActivityExt
...
Related-To: NEO-8554
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-12-21 07:55:31 +01:00
Joshua Santosh Ranjan
269009c299
feature(sysman): enable guc based engine utilization counters
...
Related-To: NEO-8554
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-12-19 07:43:25 +01:00
Compute-Runtime-Validation
c08b453059
Revert "feature(sysman): support v2 engine busyness counters"
...
This reverts commit 591c70e81e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-18 03:05:40 +01:00
Joshua Santosh Ranjan
591c70e81e
feature(sysman): support v2 engine busyness counters
...
Updating related uapi header from v2.0-rc22
Related-To: NEO-8554
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-12-16 00:10:34 +01:00
Mateusz Jablonski
da957d1a37
refactor: correct naming of enum class constants 1/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-05 14:26:42 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +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
Bari, Pratik
64bf895cf7
feature(sysman): Create boilerplate for spec 1.7 in sysman
...
- Added new sysman APIs introduced in spec1.7
- Added ULTs to cover the new APIs
Related-To: LOCI-4667
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2023-08-02 13:51:09 +02:00
Singh, Prasoon
49827b7122
(Sysman):Changes made in engine API.
...
Replacing normal pointers by smart pointers in engine module of L0 sysman.
Related-To: LOCI-2810
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com >
2023-03-30 06:41:26 +02:00
Joshua Santosh Ranjan
18be91cbde
[Sysman] Updated Engine module to support zesInit
...
Related-To: LOCI-4138
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-03-23 03:46:11 +01: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
Warchulski, Jaroslaw
b485c025d0
Cleanup includes 57
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-17 11:19:59 +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
Warchulski, Jaroslaw
bc13db734d
Cleanup includes 41
...
Cleaned up files:
shared/source/command_stream/aub_command_stream_receiver_hw.h
shared/source/helpers/common_types.h
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/hw_device_id.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-24 14:37:36 +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
Puneeth Kumar Reddy D
d92bca4ebb
Added debug logs for engine modules
...
Related-To: LOCI-3473
Signed-off-by: Puneeth Kumar Reddy D <puneeth.kumar.reddy.devarinti@intel.com >
2022-12-19 18:06:37 +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
Mayank Raghuwanshi
5edbca1aa2
Use physical subdevice for sysman engine module
...
Related-To: LOCI-3231
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2022-12-16 07:11:57 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Warchulski, Jaroslaw
ef95bfb45e
Cleanup includes
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-04 18:04:13 +01:00
Kulkarni, Ashwin Kumar
44649faa0f
Defer Sysman Engine Module Initialization
...
With this change, init for sysman Engine API would not be done during zeInit.
init and thereby Engine API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumEngineGroups
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-08-26 08:41:22 +02:00
Mateusz Jablonski
5a20eccd59
Dont include i915 prelim headers directly
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-25 12:26:09 +02:00
Mateusz Jablonski
a4e9ede440
Dont use global namespaces of i915 definitions
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-19 13:17:59 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-18 10:15:44 +02:00
Mateusz Jablonski
e67307b724
Add DrmParam enum values for I915_EXEC values
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-15 08:39:39 +02:00
Mateusz Jablonski
eecde1e1f3
style: correct case in variable name
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-16 14:01:25 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 12:39:44 +02:00
Bellekallu Rajkiran
061af9c284
Sysman : Add check on engine handle creation
...
Add check whether init succeeded on handle creation.
Related-To: LOCI-3005
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-03-16 18:08:42 +01:00
Bellekallu Rajkiran
01db5ef22a
Add prelim support for memory, engine and scheduler
...
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-04 19:56:30 +01:00
Szymon Morek
26a24e8fde
Query engine info with distances
...
If prelim kernel is being used, query distances
and set correctly number of available engines
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-10 13:30:26 +01:00
Szymon Morek
6258575e5e
Use queryEngineInfo with prelim ioctls
...
If prelim kernel is being used, query engines
with prelim ioctls.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-04 12:15:04 +01:00
Jitendra Sharma
1186c1aae3
zesSysmanDeviceReset: Reinitialize device after device reset
...
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.
Related-To: LOCI-2627
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-11-07 23:43:48 +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
Mayank Raghuwanshi
a19eab36fb
Modify handle create handle implementation for sysman engine
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-06-22 18:41:03 +02:00
Mayank Raghuwanshi
1c3107fc7e
Update sysman engine and scheduler as per lastest spec
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-05-12 14:51:21 +02:00
Mayank Raghuwanshi
faac0a82ef
Update pmu interface
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-03-22 14:31:31 +01:00
Daniel Enriquez
3aff89199d
L0 Sysman Windows DG2 Readyness Patch.
...
Implemented Fan Curve, Moved to OAG Counters, Fixed Frequency Range.
2021-01-30 05:59:27 +01:00
Daniel Enriquez
bb5d252c4d
Sysman for Windows: Fix timestamp units for power and engines.
...
Returning now in usecs as the documentation state it should be.
2021-01-07 03:30:47 +01:00
Jitendra Sharma
1962a89b05
In Sysman fix C++ programming warnings
...
Fix warnings related to unused/uninitialized variables etc.
Change-Id: I2e75ede434442d7b99d6e28253e7811aac205323
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-06 16:35:53 +02:00
Bill Jordan
909107cab6
Fix zesDeviceReset for Spec version 1.
...
This patch does the following:
- Fixes a bug in FsAccess::listDirectory that could return
ZE_RESULT_UNKNOWN_ERROR when no error has occurred.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false, even if the device was in use.
- Fixes a bug in zesDeviceReset that would reset the device
if force was set to false without closing the file descriptor.
- Added a releaseResources method method to Device object.
This method does the same thing as the DeviceImp
destructor except it does not free the DeviceImp object
and it does not free the SysmanDeviceImp object.
- Added the releaseResources methods to Mock<Device> object.
- Moved the reset of the debugger out of DriverHandleImp
destructor and into DeviceImp releaseResources.
- Added a releaseEngine method to the EngineHandleContext. This
method frees all the Engine handles.
- On reset, I call the Devcie->releaseResources and
EngineHandleContext->releaseEngines before resetting the device.
- Added a -r (--reset) option to zello_sysman so I
could easily test resets.
With these patches, the L0 Sysman CTS for zesDeviceReset
both pass.
Change-Id: I31fad1b27bc5cc6befe31cd6f9319748e2683424
2020-10-05 19:55:14 +02:00
Kanhaiya
723e852c09
Moved all the constants used in sysman to the single header file
...
Change-Id: I0bfa02e68c9aba1cc5d3105c37630b30b03e1b54
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-09-23 14:35:13 +02:00
Jitendra Sharma
13b8929832
Retrieve Sysman engine property onSubdevice/subdeviceId field
...
Change-Id: Ifc26cbe1d6398d0c08a0e52c39936c517efca43e
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-09-20 07:00:21 +02:00