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
Spruit, Neil R
68fe04e26a
Update MemoryFill to use getAlignedAllocation to handle system memory
...
-> fixed double/early free of memory allocated to handle system host
memory passed to memoryfill by using hostPtrMap to track graphics
allocations created for system memory instead of the deallocation
container.
->fixed definition of BuiltinData in the headers instead of the source
to remove duplication of code in ULTs.
Change-Id: I2bf02480f36e1deb4c5c04aea0e72906e72961b2
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-07-22 09:03:19 +02:00
Jaime Arteaga
c05f80643a
Use correct graphics allocation in setArgBuffer()
...
Use the rootDeviceIndex to select the graphics allocation associated
with the argument being set.
Change-Id: I2298f46c0ce5d96841d17381afb7b0013a3f804e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-18 14:51:25 -07:00
Jaime Arteaga
3e7c85a437
Cleanup mock_cmdqueue.h
...
Change-Id: I4061198600ed81805c87ff146034b7726224c6c6
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-18 10:55:50 -07:00
Jaime Arteaga
b3813d9a63
Cleanup mock_device.h
...
Change-Id: I05cd308f1fe364ad3592d8aff897f8cbc6da10cd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-17 12:43:49 +02:00
Jaime Arteaga
70ccc2a225
Cleanup mock_cmdlist.h
...
Change-Id: I467a63a822e76f8c512680629b7b8518b283f6e5
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-17 02:10:33 +02:00
Jaime Arteaga
3ab2e6c0cd
Add stub for zeDriverGetExtensionProperties
...
Change-Id: I25016bb36a5ccd37e147cbc4cdb9f1d5e14ae03e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-16 14:19:25 -07:00
Aravind Gopalakrishnan
4e16e574e9
Add support for global timestamp write API
...
Change-Id: I709783839a60478a62415c4d87a6b3a01ad43636
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-07-16 22:36:10 +02:00
Bill Jordan
6e20dfafab
Added limited XML parsing capability to L0 Sysman using libxml2.
...
XML parsing for linux only, hanging off the OsSysmanImp object.
Change-Id: I473dc8dde0611cc13f38a2c0b59e839fced2e59e
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-07-16 12:12:45 -07:00
Brandon Yates
180c9c684e
Fixing ThreadLaunchArgs for multi-kernel
...
Change-Id: I57a0615d74f145d6d8c84a434132927e1ac23cb4
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2020-07-16 18:53:47 +02:00