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
4e4affe53b
Modify tdp sysfs path
...
Change-Id: Ie387a96f67b5760d8f1e359eea61c66aec631afd
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-10-29 10:33:23 +01:00
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
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
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
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
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
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
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
872049978a
Fix TDP/REQUEST reading
...
Change-Id: I7b4f2f176696a4f4636934accebf71ed3285427c
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com >
2020-10-09 16:38:48 +02:00
2643346b48
Update Sysman RAS Module
...
Change-Id: I2b99dae4336811ea4b539da48c1434657a9cf62a
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-10-09 08:23:19 +02:00
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
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
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
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
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
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
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
2d27570292
Fix current voltage unit problem, returning Volts now.
...
Change-Id: I257e431f5dbc4d71191ce50750791746d8bba8d9
2020-09-29 01:48:35 -07:00
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
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
f0907361ff
Adding Frequency Support for Windows in Level 0 Sysman
...
Change-Id: I8dbf67b0a6f88379a3da304e01a8f102e2027dd1
2020-09-19 08:30:13 +02:00
dee1c687a9
Add Engines Support for Windows
...
Change-Id: Ibad56d39b563c543e8a23fa92cc9844c69a62352
2020-09-15 21:36:32 +02:00
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
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
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
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
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
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
f891708e3f
Adding support for Fan component to Sysman.
...
Change-Id: I0b99bcd542396471b6eab3f9b0b215bedcde7640
2020-08-28 23:55:23 +02:00
c7037aca4d
Enabling Windows Pci component.
...
Change-Id: Idfd1acb8f257ab91dd28707f0b42b3da3981214e
2020-08-28 23:48:13 +02:00
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
9f7a97ac5b
Return Unsupported feature when sysfs nodes are absent
...
Change-Id: I69c1447bb65e2be074d338e910223c3b8c2e9c55
2020-08-26 21:29:54 +02:00
9edbe1dd11
Do not check sysman env var in engine code
...
Change-Id: I40caa382024465ff3ca466369f152d0c1d6fac0a
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com >
2020-08-24 10:21:19 +02:00
fb821f21f5
Cmake format script
...
Related-To: NEO-1157
Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-08-19 16:36:30 +02:00
c24c629cfc
Enabling Temperature for Windows.
...
Change-Id: I0a4e51448d56a083ae5ecbda5106db981f5cd028
2020-08-18 22:45:04 -07:00
d36c013acf
Enabling Power Component for Windows.
...
Change-Id: I67a170279994e5637e353c9eca9fff04fb02d87e
2020-08-18 18:59:39 +02:00
4b8d4285d7
add getDeviceHandle() at OS specific level
...
Change-Id: I95fc24043f8f603d6270323b0f23a78f9d8ad2f1
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-08-18 17:11:22 +02:00
2fa30d7d6c
Update memory component to latest spec.
...
Change-Id: I766a3b87d240d26118cf72ea0717bc504784e764
2020-08-12 11:47:04 +02:00
4b0aad316f
Update zesDeviceReset to 1.0 Spec.
...
Change-Id: Idc55e9c06c4cd7cd366c4a1dd9af77e518c0bec3
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-08-12 08:41:17 +02:00
e51cd6208f
Update implementation of zesDeviceProcessesGetState to add sharedSize
...
Change-Id: I88e1fa8185b00cfaffae47d511d33f7e453d8276
2020-08-11 00:01:54 +02:00
f4742855d8
Update zesDevicePciGetBars API to report correct count of bars
...
This change does the following:
- As per latest spec, update zesDevicePciGetBars API to report
correct number of bars.
- Cleanup to remove environment variable check while creating
temperature handles.
Change-Id: I4f86210093e3d142183a01bef89417ef9d9fde9b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-08-07 18:08:06 +02:00
d49a7293e2
update Device APIs to lastest Spec.
...
Change-Id: Icda7d3315e0ce51afe4f3642d368197c78fc097f
2020-08-07 16:12:27 +02:00
8194520fe5
L0 Sysman Standby cleanup.
...
Change-Id: I8702a7ca08c8edc0da3089891499699ec8bd20d3
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-08-06 13:03:59 +02:00
220c575850
Update Ras Api's as per latest spec
...
Change-Id: I29b77eee0832fcca6d989f9ef41b01b17232a91e
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com >
2020-08-06 08:31:03 +02:00
237e2fe61f
Cleanup Sysman initialization
...
Change-Id: Idc1e13e1b1fd3928674d5f199665054dbab27a9b
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com >
2020-08-06 06:28:21 +02:00
94a26db5ba
Update Scheduler APIs as per latest spec
...
Change-Id: Ia8558ab30c83f1e30dae94cc7eb489ea7a8897da
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-08-05 18:52:34 +02:00
a6ea7ab7db
update Sysman PCI APIs to lastest Spec
...
Change-Id: Ie4daf2eb3596f05f824579eff3fe811ebb2f2032
2020-08-05 18:01:37 +02:00
990750d153
Enable ULTs for Sysman APIs ported to 1.0
...
Change-Id: I7ef425e6a076f8b26992a9a7cd4b2711e12f3a64
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com >
2020-08-04 11:08:15 +02:00
5dbf7d5f8c
Enable Sysman zesFrequencyGetAvailableClocks
...
Enable Sysman zesFrequencyGetAvailableClocks
Change-Id: I23f839a3c6eeccbba0cb24adc2b9e34d4595c201
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com >
2020-08-03 20:27:52 +02:00