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
mraghuwa
9f7a97ac5b
Return Unsupported feature when sysfs nodes are absent
...
Change-Id: I69c1447bb65e2be074d338e910223c3b8c2e9c55
2020-08-26 21:29:54 +02:00
Pawel Cieslak
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
Bill Jordan
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
Jaime Arteaga
902fc2f6c4
level-zero v1.0 (2/N)
...
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: macabral <matias.a.cabral@intel.com>
Signed-off-by: davidoli <david.olien@intel.com>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-03 13:11:13 +02:00
Vilvaraj, T J Vivek
7bc405a9b3
Update sysman standby APIs to support latest spec.
...
Change-Id: I7a605c538432b2117ba968f155e4665078abc94f
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-07-30 20:33:15 +02:00
Bill Jordan
c64eab402e
Update all L0 Sysman getHandle routines to match spec.
...
Updated all the getHandle routines to use the following
algorithm:
n = min(*pCount, available)
if (*pCount == 0 || *pCount > available) {
*pCount = available;
}
if (pArrayn != nullptr) {
for(i = 0; i < n; i++) {
pArray[i] = handle[i];
}
}
Change-Id: I3b2a2170c2b52d1651bddae4f85f361fd86167a0
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-30 07:27:21 +02:00
Jitendra Sharma
92b15507b0
Initialize variables and validate pointers before actually using them
...
Change-Id: Iae6fbeac124e1a02da419f5071e1ebc292b390cf
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-14 11:17:58 +02:00
Bill Jordan
e8bd440773
Don't allow copy or moving Sysman related objects.
...
Change-Id: I70dd97bffa1c4d08f05eb796c6d6a2eb66f06f4b
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-10 21:05:15 +02:00
Mraghuwa
070c9b060b
Redesign ULT by mocking sysfs and implementing for standby
...
Change-Id: Id2558122406f23e96e3115d57e7b82d04463bfc4
2020-05-14 19:41:28 +02:00
SaiKishore Konda
f3217b5d1a
Cleanup Level zero Tools Sysman code
...
- removing the ULT specific constructors
Change-Id: Ieaee9ab72c144d5f5794f6bc023c2f14df2a7b0b
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-28 08:53:53 +02:00
Bill Jordan
3c3e1a9c5c
Adjust path for Sysman Standby implementation source.
...
Change-Id: I7fdabf5098efd9b4a1d68bbbd3f31ac8b8cd5797
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-04-06 18:55:04 +02:00
Bill Jordan
a2a7501b79
zetSysmanStandbySetMode is not settable from L0
...
Change-Id: I05d60f960c9cb89b3d53259067e05e8f20e9b602
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-04-02 17:40:24 +02:00
Jaime Arteaga
d96e462754
Reorganize Level Zero Core API files
...
Change-Id: I95750b90748dd65310fa72b030ea3ab2f72d3f24
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-25 11:21:43 +01:00
Bill Jordan
7c489ac60d
Implement zetSysmanDeviceReset
...
Implemented function level reset.
Implementation is:
Make sure we are root (otherwise, return insufficient permissions)
Make sure no one has the device open
(otherwise, return hande object in use)
Close our file handle
Unbind the device from the kernel driver
Make sure no one still has the device open
(otherwise, kill them)
Perform function level reset (FLR)
Rebind the device to the kernel driver
Change-Id: Ic57b95487e73b5a5f2d03e619d813bf4199adf40
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-03-24 18:26:45 +01:00
Mateusz Hoppe
307a5cb822
Link tools and experimental sources to object library
...
Related-To: NEO-4480
Change-Id: I16da4434ec24753eabdb1bce9e38ed2e1e83ed6c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-23 08:57:19 +01:00
Brandon Fliflet
27f4bce42f
Initial support for oneAPI Level Zero
...
Change-Id: I221df8427b1844237a4d9d900c58512706b0be0f
2020-03-06 14:53:29 +01:00