Mayank Raghuwanshi
9c1739c095
Update zesFrequencyGetState and zesFrequencyGetRange
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2020-11-13 06:04:50 +01:00
Vilvaraj, T J Vivek
e096e5b0f8
fix CmakeLists for sysman frequency
...
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-11-11 17:32:43 +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
17970ad5e7
Add sysman handles for subdevice only after subdevices are created
...
Move location of assigning sysman handles, such that sysman handle
will be assigned to device and then assign that sysman handle
to subdevices of that device.
Change-Id: Ia606954a866c491e45803b903c8419ee09b1a939
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-30 09:45:08 +01:00
mraghuwa
4e4affe53b
Modify tdp sysfs path
...
Change-Id: Ie387a96f67b5760d8f1e359eea61c66aec631afd
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-29 10:33:23 +01:00
SaiKishore Konda
8c75080d9e
update Memory Location for zesMemoryGetProperties
...
Change-Id: I2698352d89ed2351e6fa8ec0b58b277387650bc0
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-10-28 07:23:36 +01:00
mraghuwa
978003e96e
Add subdevice support for RAS module
...
Change-Id: Iced5aeed86d6b19a4710992155257e420ae1296f
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-27 17:54:29 +01:00
Kanhaiya
5ab3e9966d
Retrieve PhysicalSize of zes_mem_properties_t
...
Change-Id: Ie7dbf9630becf097af7a5a7a234d5ea1da471492
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-27 13:20:59 +01:00
Mrozek, Michal
f53a6acb7f
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit 27e2c32daa
.
Change-Id: I8035aad67a1aa1ed37d95a9bcd4354a64d75ac07
2020-10-26 00:21:27 -07:00
Aravind Gopalakrishnan
27e2c32daa
Use device allocation for events if host visibility not set
...
Change-Id: I244cfd617ae77a88dd2f4e5818d39ac7e658b216
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-10-23 22:28:45 +02: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
mraghuwa
a8a013b0c3
Implement zesRasGetState to retrieve cache errors
...
Change-Id: I9fbba505db6551f510cb20ea71604af53db61960
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-20 15:45:36 +02:00
Bill Jordan
ccd5abfbfd
Add zesDeviceReset ULTs.
...
This patch adds two ULTs.
Verify that an IN USE error is returned if the device is open by another
process.
Verify that reset succeeds if device is not in use.
Verify that reset with force succeeds if device is in use.
Verify that reset without force succeeds if device is opened during
reset, and process is killed.
Verify that reset with force fails with device in use
if device is opened during reset, and process will not die
Change-Id: I232572c192bc481d8d63ef39c7494976100325ff
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-10-19 15:01:19 +02:00
Robert Krzemien
1bf270a804
Metric Api: Use 32-bit streamer marker value
...
Change-Id: I8488a93aa3e27828cef9da090e41e6384270cc99
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-10-16 09:15:54 +02:00
Vilvaraj, T J Vivek
113a5170b1
Implement zesDeviceGetState() API
...
Change-Id: I035bdd0ddd7b8bdf6054c743a9f2723ee292a897
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-10-12 14:27:19 +02:00
Kanhaiya
872049978a
Fix TDP/REQUEST reading
...
Change-Id: I7b4f2f176696a4f4636934accebf71ed3285427c
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-09 16:38:48 +02:00
mraghuwa
2643346b48
Update Sysman RAS Module
...
Change-Id: I2b99dae4336811ea4b539da48c1434657a9cf62a
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-10-09 08:23:19 +02:00
Kanhaiya
c4a910d911
cleanup of Sysman code to pass by reference instead of pass by value
...
Change-Id: Ie4537c7e45730afe98da3886831fd71ff5b96960
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-06 18:36:03 +02:00
Jitendra Sharma
cfb1fec19a
Implement sysman power set/get limit APIs
...
Change-Id: I35232902cf96d20594adbd128064c362cf154711
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-06 17:33:11 +02:00
Kanhaiya
da3bc90df3
Cleaning the zello_sysman.
...
Change-Id: If9eef0404b0b3f550ad222e148923fda8367bdbd
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-10-06 16:57:55 +02:00
Maciej Plewka
4dc3827b8e
Prepare object lib for precompiled builtins in bindless mode
...
Releated-To: NEO-5138
Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-06 16:57:11 +02: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
mraghuwa
78feb47d6c
Add subdevice support for standby
...
Change-Id: I4209d11a8305ba524e56cddbee5ad3432b32554f
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-09-30 15:03:14 +02:00
Jaime Arteaga
3015b95752
Revert "Link zello samples to ze_loader"
...
This reverts commit d0e1d5cffb
.
Change-Id: Id66620e50e770492e4fa99e734eaf2b39729210f
2020-09-29 10:14:36 -07:00
Jitendra Sharma
77f88f9a96
Add Subdevice support for sysman scheduler API
...
Change-Id: I7b2222645d93346cfd3bfd3b6561dbe21154b61f
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-29 16:30:20 +02:00
SaiKishore Konda
e28f937683
Add SubDevice support for Sysman Memory module
...
Change-Id: Iec5918486fc2c00e14de074aca18e6de63ba1600
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-09-29 11:36:21 +02:00
Daniel Enriquez
2d27570292
Fix current voltage unit problem, returning Volts now.
...
Change-Id: I257e431f5dbc4d71191ce50750791746d8bba8d9
2020-09-29 01:48:35 -07:00
Jaime Arteaga
d0e1d5cffb
Link zello samples to ze_loader
...
And make L0 Core samples to be built on Debug, as it is with
zello_sysman
Change-Id: Ie1e6b0a766237006916769e7347fcd2219058e2b
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-09-28 20:09:35 +02:00
Bartosz Dunajski
55bd544402
Lazy evaluate arguments of printDebugStrings(...) function
...
Change-Id: Ie44e109fd9235c5df32fb90b9e6fc6058e558a99
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-25 18:38:58 +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
Kamil Diedrich
877a781696
Add engine type to commandList
...
Change-Id: I108fc027dd4698ebecb224c20b92f2b741698f3c
2020-09-23 09:46:53 +02:00
Bartosz Dunajski
5b31b31734
Remove low priority and internal engine index variables
...
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-21 16:44:14 +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
Daniel Enriquez
f0907361ff
Adding Frequency Support for Windows in Level 0 Sysman
...
Change-Id: I8dbf67b0a6f88379a3da304e01a8f102e2027dd1
2020-09-19 08:30:13 +02:00
Vinod Tipparaju
d2b218d82d
Return ZE_RESULT_OUT_OF_MEMORY when alloc on device fails during cmdlist create
...
Change-Id: Ia03e7ac190598c56de044d3ad8216087b8da94f2
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-09-17 00:09:22 +05:30
Daniel Enriquez
dee1c687a9
Add Engines Support for Windows
...
Change-Id: Ibad56d39b563c543e8a23fa92cc9844c69a62352
2020-09-15 21:36:32 +02:00
Jitendra Sharma
e904a1f0b4
Create Sysman Frequency API handles based on available subdevice/device
...
Change-Id: I2049515150004551c3f61647d20f1df7b375f587
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-15 18:12:14 +02:00
Mateusz Hoppe
a5c556fe11
Create TestEnvironment in ze_intel_gpu_core_tests
...
Change-Id: I85306b59e220c34ee6b43790b59f5ad96ea51eca
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-09-11 09:53:58 +02:00
Vilvaraj, T J Vivek
933bb45dcc
Boilerplate Code for Sysman Firmware API
...
Change-Id: I8299bdf4b388bb05de7640240d033ba680e5ca14
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-09-08 10:47:17 +02:00
Jitendra Sharma
38ecb25ee6
Add support to query PMU counters
...
This change adds support to get engine active time and timestamp
from PMU interface.
Change-Id: I486dcce9fef3c7dc3f73fb8c7ea4c0bd020a6807
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-07 16:15:21 +02:00
Vilvaraj, T J Vivek
f211578148
add support for multiple engines in scheduler API.
...
Change-Id: I2d530f88b8f4c8646c00ed712e5a07bb8439b759
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-09-07 15:57:30 +02:00
Matias A. Cabral
0f020b6da7
New Sysman black box test
...
Sysman test to exercise Sysman APIs and show system info
Change-Id: I16c1d93eb73d54925a113bc6035100654764779c
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-09-04 03:49:17 +02:00
Vilvaraj, T J Vivek
831e87eef8
Sysman memory modification based on product.
...
Change-Id: I01f4c3cc6fe2376293d48131492f9d686fbdb5ae
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-09-03 21:41:04 +02:00
Jitendra Sharma
79ba0ff1f9
Dont report error if i915 engine class didnt map to L0 Sysman's engine group
...
Change-Id: I6b39494b80ec3c257be427bb1e250b8fb4472771
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-09-03 14:00:39 +02:00
Piotr Maciejewski
a65b0eb9ab
Release temporary metrics library during zeInit
...
Change-Id: Ieb399208377085821319f1bcf29589620390c536
2020-09-02 04:15:39 +02:00
Daniel Enriquez
f891708e3f
Adding support for Fan component to Sysman.
...
Change-Id: I0b99bcd542396471b6eab3f9b0b215bedcde7640
2020-08-28 23:55:23 +02:00
Daniel Enriquez
c7037aca4d
Enabling Windows Pci component.
...
Change-Id: Idfd1acb8f257ab91dd28707f0b42b3da3981214e
2020-08-28 23:48:13 +02:00
SaiKishore Konda
8f52561307
Multiple engine support for Sysman Engine API
...
- multiple engines support for Sysman Engine API
- added engineQuery support
- opencl ULTs to validate engineQuery
- Sysman ULTs to validate engine APIs
Change-Id: I3b4d3a96a4cdca7dd9957f6a57f7b1bf900582d3
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-08-28 13:36:31 +02:00
mraghuwa
9f7a97ac5b
Return Unsupported feature when sysfs nodes are absent
...
Change-Id: I69c1447bb65e2be074d338e910223c3b8c2e9c55
2020-08-26 21:29:54 +02:00