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
Jaime Arteaga
fd45e8e5a4
level-zero v1.0 (1/N)
...
Change-Id: Id3133bb1e89a4e8fe41cbdaad152dd8129f35c5d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-31 18:04:42 -07:00
Mateusz Hoppe
0ed1db0b46
Insert PC before SBA in cmdlist
...
Related-To: NEO-4916
Change-Id: I7024ff173ad97d4c42a5fa6d7ea0d0ee665a87d9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-31 13:09:57 +02:00
Jitendra Sharma
b6e98c4eb4
Update Sysman engine APIs as per latest spec
...
Change-Id: I477435714a20f7a9c8fd4bb1ef6b852eeaabd5e2
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-31 10:37:57 +02:00
Piotr Maciejewski
403594fce0
Metric Api 1.0: context for zetMetricStreamerOpen.
...
Change-Id: Ib121d45cad6d84891eabe49273ea42a017c50be3
2020-07-31 10:04:46 +02:00
Piotr Maciejewski
e72246a74d
Metric Api 1.0 : Max value for zetMetricGroupCalculateMetricValues.
...
Change-Id: Ie9022630e71a4c2e6dadb76ca4ec87b38fd8dfa5
2020-07-31 08:53:27 +02:00
Jaime Arteaga
f29dacd5c0
Add new v1.0 kernel properties
...
Change-Id: Ic194e2176ca96bd255e8108ac494ef4006cf6712
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-31 06:03:28 +02:00
Jaime Arteaga
4ca4100a9a
Add support for queue groups (1/N)
...
Change-Id: If4763dcb749acc8a6fd68714119808286306410f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-30 16:26:53 -07:00
davidoli
b4577ade07
Move Pin init from zetInit to zeInit
...
Change-Id: Iea704cda26916315343e3cef6840954ba3d62c06
Signed-off-by: davidoli <david.olien@intel.com >
2020-07-31 00:49:33 +02:00
Spruit, Neil R
697fa86e2f
Update Metrics APIs to use new enums and structs
...
Change-Id: Ic7023a1b256073496e8686ce31ef3fe9a6bec37b
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-07-31 00:25:17 +02:00
Jaime Arteaga
169089347f
Add support for zeKernelGetName
...
Change-Id: I167cc202436b6a76841c56e46baa684e7be90132
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-31 00:24:37 +02:00
Vinod Tipparaju
3eafb466f6
Implement support for zeCommandListAppendMemoryCopyFromContext
...
Change-Id: Ic38a2b8617dc96202703d99c0141c13a9185f409
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-07-31 02:00:24 +05:30
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
Robert Krzemien
92ce66bee8
Metric Api: zetMetricQueryPoolCreateExt update
...
Change-Id: I0f8f804c492bccea79bfa36fd04ef87b08026703
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-30 20:30:04 +02:00
Mateusz Hoppe
a77f1de8a1
Track StateBaseAddresses from cmdQ and cmdList
...
Related-To: NEO-4637
Change-Id: Ia4b187df5f28fadf032ff24acb7ab32b05d0d261
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-30 15:09:53 +02:00
Mateusz Hoppe
8daf71070d
Enhance mocking env variables
...
Change-Id: I2d0659b6f608467f9c1bc5746742ac5e3454582d
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-30 14:52:14 +02:00
Jitendra Sharma
0931801830
Update sysman temperature APIs as per latest spec
...
Change-Id: I171c5afe33fa216097b175e335d90692abfefa24
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-30 11:20:28 +02:00
Maciej Dziuban
f354d47b7a
Add missing add_subdirectories() call
...
Change-Id: Ibc7d0ee300db55e18a54608bc2eb1609ba6b8123
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-07-30 10:46:37 +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
Jaroslaw Chodor
d65cdab453
Zebin - yaml parser
...
Change-Id: If8b5bcd68b7d39bfd3fb53b619f5de973b059bff
2020-07-30 07:26:44 +02:00
macabral
823bd1e51c
Add entry point for zetKernelGetProfileInfo
...
Add entry point for zetKernelGetProfileInfo.
Functionality not implemented
Change-Id: I02a22ce562feae2d930f04f086649898efd645d3
Signed-off-by: macabral <matias.a.cabral@intel.com >
2020-07-29 17:24:49 -07:00
Kamil Diedrich
c01e84216f
Add implementation of queryKernelTimestamp
...
Change-Id: Ic017c3f94ba67774d1e1f6c5e9ad7b9237591ecd
2020-07-29 17:00:28 +02:00
Piotr Maciejewski
51e08dd07c
Metric Api 1.0: metric group properties
...
Change-Id: Ief58ef4cb13b2d3d2d6516c668e77bc78089ab17
2020-07-29 08:36:42 +02:00
Jaime Arteaga
72080bbf12
Add support for new affinity mask format (2)
...
Change-Id: I8a1d277ff86b0fbdcde96d4d02d6a235a56e197b
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-28 23:24:09 +02:00
Bill Jordan
396fcbb941
Move FabricPort implementation to L0 Spec version 1.0.
...
Change-Id: I7b123c2813beab1175965eb8272c96cdb7f7be27
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-07-28 22:39:59 +02:00
Jaime Arteaga
bf7b00d15f
Add stubs for virtual memory
...
Change-Id: Ia789b2507a44c2e8599bcb64d750b89db7c574c9
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-28 21:45:41 +02:00
Robert Krzemien
7dc8bbc160
Metric Api: Wait events for zetCommandListAppendMetricQueryEnd
...
Change-Id: I6fdf470035c1fc1f44d66778ec35ec47d0521e4d
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-28 19:14:05 +02:00
Jitendra Sharma
5b6b1e7dd0
Adding dummy entries for all latest sysman APIs
...
Create dummy entry for all Sysman APIs so that the L0 Loader
does not fail during init.
Change-Id: I27254272a7e9297aa8df01cb785f8f91f822fa33
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-28 17:00:31 +02:00
Robert Krzemien
46c7fac0cc
Metric Api: zetContextActivateMetricGroups update
...
Change-Id: Ia3f38e8bfc6176063de36685e16e7a4a21f940c7
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-28 16:59:53 +02:00
Robert Krzemien
f87f05bf8d
Metric Api: Renamed MetricTracer to MetricStreamer
...
Change-Id: I7de16b230685201b0f91b227f17713c3cd49d497
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-28 11:21:10 +02:00
Daniel Enriquez
278505ca4d
Enable Windows Os Layer for Sysman
...
Adding KmdSysman with ULT
Change-Id: If080e6327171d3634a0c461c4169ea8c84461e13
2020-07-28 10:04:02 +02:00
Robert Krzemien
d76515a18d
Metric Api: Moved the initialization to zeInit
...
Change-Id: Ia390389e514facb3d81cc28d97bf017367e9f728
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-27 21:41:24 +02:00
Jitendra Sharma
70babc4b69
Update Sysman frequency API as per latest spec
...
Change-Id: I5bfdb5e5681e9cfa054f48cf8cc4fd8e76740958
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-27 18:31:07 +02:00
Jaime Arteaga
ba84d2376e
Add support for new affinity mask format
...
Change-Id: I050d15721d2df74f6927ac9fa7daf834c4208d0a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-27 11:10:45 +02:00
Mateusz Hoppe
9c42183cd8
Allocate per context SBA tracking buffer
...
Related-To: NEO-4637
Change-Id: I979aefe599df388a49be2b2703505090d7935d78
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-27 09:11:33 +02:00
Maciej Dziuban
2d05718e7f
Add appendPipeControl method
...
Change-Id: I31108ec5759484024cc9ff74cf5ebcdaa56fdbb4
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-4869
2020-07-24 15:44:40 -07:00
Bill Jordan
6fc66a82cb
More boilerplate for FabricPorts.
...
Added a FabricDevice object that all FabricPort objects have access
to. Although we don't provide library routines for the user to
access a FabricDevice level object, one exists. And the FabricPort
objects will need to coordinate with the device level object
to get perform operations.
Change-Id: Ief307a312187e8bc5c566bcf4af5b50ecc171aee
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-07-24 19:05:28 +02:00
Zbigniew Zdanowicz
ba14f9dc1f
Refactor mock commandlist
...
Change-Id: Id5cf913caf6b16880cf0040b552ecba1fe8033b3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-24 18:32:01 +02:00
Jaime Arteaga
63a801ee07
Context implementation (3/N)
...
Add object creators.
Change-Id: Ic656a1bd3735bce1d995c407011ef7c26eab848e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-23 15:27:24 -07:00
Piotr Maciejewski
cc8ad91e7f
Enable L0 Metric API unit tests.
...
Change-Id: I8b3835a477fb21d3980c91ee3e460ad8b6da94d4
2020-07-23 17:37:12 +02:00
Mateusz Hoppe
5de52badbe
Setup surface state for debugSurface at offset zero
...
Related-To: NEO-4767
Change-Id: I5be24712795f18865037ea5d3b42604579027969
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-23 16:26:23 +02:00
Maciej Plewka
493d1bfa3f
Make applyMemoryRangesBarrier public in cmdlist mock
...
Change-Id: I4333132de7ad5dbe59037d00640a7a3dc8070f72
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-07-23 10:44:22 +02:00
Jaime Arteaga
b011d76586
Context implementation (2/N)
...
Add memory allocators.
Change-Id: Ie93d077e7a55b9c9c51c4a594a7db0c10f770091
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-23 00:18:01 +02:00
Robert Krzemien
59ffe4ba4b
Metric Api: Return apprioprate error when dependencies not met
...
Change-Id: Ie47a69c4bf80004f7fbc1b91e2025d498e4bda6a
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-22 22:44:53 +02:00
Jitendra Sharma
a0c22dec2d
Update sysman power APIs to support latest spec
...
Change-Id: I4631a73c44d918db9421ceb394c71ffa8ca514ca
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-22 22:26:28 +02:00
Jaime Arteaga
9537119472
Context implementation (1/N)
...
Change-Id: I3e0b3c3fdb7c9ab9ac10fccd3d61c7b394dbeee7
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-22 08:57:23 -07:00
SaiKishore Konda
be6ea36769
Implementing zetSysmanMemoryGetState
...
- zetSysmanMemoryGetState api Implementation
- Corresponding ULT for validation
Change-Id: I2dcd53af4dd0f7cd3e19f594d70fefe21d2206e7
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com >
2020-07-22 14:10:14 +02:00
Jitendra Sharma
d13fdd32ad
Update latest Sysman headers and some fix in sysman ULTs
...
This change contains:
- Update the sysman headers as per latest spec.
- Use mock file descriptor 0 in Sysman ULTs:
Lets use 0 as mock file descriptor in sysman ULTs.
Because upon creation of a process in linux, by default file
descriptors 0, 1 and 2 are assigned to it.
Thus in /proc/<pid>/fd/ , there will be entries 0, 1 and 2.
By using 0 as fd, we will be sure, that call getFileName() in
LinuxSysmanImp::init() would succeed for ULT, because entry
/proc/<pid>/fd/0 would certainly be found in filesystem.
Change-Id: I1576e2bfc8b96a408294362ccaf9f289b2b84e69
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-22 09:52:10 +02:00
Jaime Arteaga
301e11891b
Cleanup mock_driver.h
...
Change-Id: I5085df735e20691b3c12534a7e57d50a3f03a3e8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-22 09:46:39 +02:00
Jaime Arteaga
af8fdfce62
Cleanup mock_driver_handle.h
...
Change-Id: I003a5afa6af605cf9c78538d6b648439fce72b3a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-22 09:15:47 +02:00