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
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
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
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
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
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
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
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
Jaime Arteaga
e7958be0bf
Add stub for zeDeviceGetCommandQueueGroupProperties
...
Change-Id: Ib86d0ae331aef01c4e26c414bf1e1dfaca51aeeb
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-16 16:54:04 +02:00
Mateusz Jablonski
794296334b
Allow to create partially linked module
...
Don't allow to create kernel from partially linked module
Change-Id: Id70b484686e6d1ca79f242bf96ff92582172e378
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-16 13:02:50 +02:00
Jaime Arteaga
59d679dfd5
Evict event allocations
...
Change-Id: Icf6c602e296a19af1f9a602cf19455d7124ffc9c
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-16 12:06:21 +02:00
Maciej Plewka
43f4be3393
Fix offseted ptr in bliter memory copy
...
Change-Id: I0446cf019cfb3b171ce84bd428c69a83ffc59d54
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-07-16 11:10:20 +02:00
Mateusz Jablonski
74d520e893
Add missing header to l0 debugger tests
...
Change-Id: Iaf2be74945b26036f38e3b677c005c4fc3431256
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-15 11:22:29 +02:00
Mateusz Hoppe
073a40c14c
Move reading env vars to DriverImp
...
- add requirePerContextMemorySpace flag to ExecEnv
Related-To: NEO-4637
Change-Id: I3968bedd9cfd1b1e41e79b63939b7a9bf25e7ff5
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-14 19:51:41 +02:00
Pawel Cieslak
4b6f8b415e
Correct HeaderFilterRegex
...
Related-To: NEO-3963
Change-Id: I85c2076a00fa53df0f46b9227697cc7aa0cf2ba8
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-07-14 18:46:37 +02:00
Maciej Plewka
8a9ac830cf
Split test_cmdlist into two files
...
Change-Id: I8f2f50afeea338e3cccd5aee56a8dcf4958f365c
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-07-14 16:34:34 +02:00
Plewka, Maciej
63721561f3
Revert "Fix offseted ptr in bliter memory copy"
...
This reverts commit 3afeb00d3a .
Change-Id: I6987eb0663a735043d02103c444cca2e109a62e5
2020-07-14 10:25:10 +02:00
Konstanty Misiak
1067596196
Add channelOrder and channelDataType to crossThreadData in L0
...
Related-To: NEO-4649
Change-Id: If07127424fc03ac410665cd1eb0c0da966b46584
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-07-13 16:59:08 +02:00
Maciej Plewka
3afeb00d3a
Fix offseted ptr in bliter memory copy
...
Change-Id: I90c818a3ead16070beb70c91a05622b1d9d14881
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-07-13 16:58:26 +02:00
Vinod Tipparaju
f3f464801c
Refactor Event class to make it thread safe
...
Change-Id: Iabda4500bc4ab7e91a7af396669d3b74f7336132
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-07-13 15:05:55 +02:00
Jitendra Sharma
146fc900c3
Add initial sysman stub as per latest spec
...
Change-Id: I6f36b9faa21e05a6954de0b50ea01240539441d1
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-07-11 06:54:08 +05:30
Jaime Arteaga
a637c82c4e
Share USM host pointers among devices
...
Change-Id: Ibdab580609e6bbb32b370ce6ee0b321df6d63245
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-10 23:06:06 +02:00
Jaime Arteaga
4e1d96f7c3
Modify creation of queues per ordinals in level-zero
...
In a multi-subDevice device:
- If creating the queue with the parent device handle:
- Use subDevice0 engines.
- If creating the queue with one of the subDevice handles:
- Use that subDevice engines
In a device without subDevices:
- No changes. All engines of device are used.
Change-Id: I11cf08cbab08d168deb135111f884c0c023ba384
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-10 02:04:45 -07:00
Spruit, Neil R
2ae0260c7d
Fix Image Copy with null region to handle invalid height/depth in descriptor
...
Change-Id: Ida41570c1ee12f68f5630bacb357447b6d4dd171
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-07-09 18:32:04 +02:00
Zbigniew Zdanowicz
bac5506b62
Modify function dispatching cross and per-thread data
...
Related-To: NEO-4585
Change-Id: Ia6b54b8d0c868cab5403332411655dc8c9ef4c8d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-08 19:30:23 +02:00
Jaime Arteaga
823586b6fb
Correct address in setBufferSurfaceState
...
Change-Id: I17c6766f63aa2cde526db297b8334428a29ec85f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-08 16:39:40 +02:00
Maciej Plewka
04ff7218e3
Use one blit command for copy region
...
Change-Id: I8a335b3ec58bf4b767d93435691acb036b5b2ce7
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-07-07 12:22:40 +02:00
Bartosz Dunajski
d712a015b4
Use correct heap for GSBA programming
...
Change-Id: I85d3b478e8c3749501ca6eb76224d95b4dbbb86c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-03 09:12:34 +02:00
Bartosz Dunajski
2e87c872b5
Select correct heap for programGeneralStateBaseAddress
...
Change-Id: I21744fbc67551d358e03b3ee44f649ba8d62eb45
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-02 11:03:03 +02:00
Mateusz Jablonski
93c1e1b976
Add MultiGraphicsAllocation to USM
...
Related-To: NEO-4672
Change-Id: I53ea4bea73ae6d52840146f63bc561bb90f9fe62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-02 09:39:21 +02:00
Bartosz Dunajski
6dd07bd3bc
Use correct Heap32 index for local memory allocations
...
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-01 17:31:43 +02:00
Mateusz Hoppe
5eafc349c9
Introduce SBA tracking buffer allocation
...
Related-To: NEO-4637
- allocate sbaAllocation in L0 debugger
Change-Id: Ia1be1ad637bbdd6e7f12ca6fdfb0c486ba23a040
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-01 09:46:05 +02:00
Maciej Plewka
a661f4b878
Reuse hostPtr allocations
...
Change-Id: Ie7e24e6630b26809fac1215b66cd90b3cafda53f
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-06-30 20:44:16 +02:00
Spruit, Neil R
489521da97
Fixed Image size used in Copy From/to memory for null regions
...
- When peforming Image Copy from/to memory, the size of the image and thus the
memory should be expected to be at maximum the size of the
image width, height, & depth in the user's descriptor.
- When a user passes in a nullptr for the destination or source region the
width, height, & depth of the image region should match the image descriptor
that was passed in by the user at image create.
- The Physical image allocated may be larger than the user requested.
This new size cannot be used in the Copy to/From memory otherwise device data
corruption will occur.
Change-Id: I950f6fd1d5ddc9911dd235f84e1cf00618e4e2a3
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-06-29 22:48:29 +02:00
Jaime Arteaga
5b61ad0966
Add stub for dynamic link function and for extended kernel properties
...
Change-Id: Ifaaf1226114233618e7959def086989cf93bd0bd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-06-29 02:11:29 +02:00
Raiyan Latif
b73c757a82
Add indirect allocations to residency at kernel submission time
...
Change-Id: Idc6ce7ac72de84107990a5c9786c868d4bfa4322
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2020-06-26 01:54:09 +02:00
Mateusz Jablonski
c6239968a5
Fix typos:
...
preffered -> preferred
deffered -> deferred
Change-Id: I1b87861590c273d7fcda5bf0c5a772bf36e1bc74
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-25 19:17:41 +02:00