Mrozek, Michal
7f7f1b8ac9
Optimize waiting scheme in user events scenarios.
...
- do not wait on map/unmap if zero copy resource.
- do not wait in marker commands at all.
Change-Id: I74cdd8320d13602bf662eed412ed2fcad1504989
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-08 17:40:36 +02:00
Mrozek, Michal
64403ef630
User event code path improvements.
...
- is queue blocked to release virtual event when it is submitted
- do not wait on completion after ndr submit.
Change-Id: I63c54e6940f6241b32f0dbdd5880f849c46fd12e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-08 16:23:17 +02:00
Dunajski, Bartosz
cf63b25aff
Make TimestampPacket allocations resident
...
Change-Id: Ic15251bf73a6f2b3c888b2272f8df9c721ee8f58
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-08 14:03:29 +02:00
Dunajski, Bartosz
0a8a77d47c
Move enqueue blit logic to enqueueHandler
...
Change-Id: Ibbad22906387c15243708d37b272601f4734697d
Related-To: NEO-3020
2019-07-08 12:37:06 +02:00
Venevtsev, Igor
4403796f58
Use GfxPartition for GPU address range allocations
...
[4/n] - Remove allocator32Bit
Related-To: NEO-2877
Change-Id: I0772a7fe1fda19daa12699c546587bd3cdd84f2c
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com >
2019-07-08 12:09:07 +02:00
Krzysztof Gibala
09e87879db
Add allocation type for Write Combined memory
...
Related-To: NEO-3392
Change-Id: I8c61b2ca2a25325d47095568703888688a2eb069
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-07-08 12:02:26 +02:00
Mrozek, Michal
1022ad4aac
Release reference to mem_object after command submission.
...
Change-Id: I1d3899ee3320869dd245dc1af22bd9b0dbfce9cf
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-05 11:39:24 +02:00
Mrozek, Michal
5a0be86b04
Ensure structures are properly initialized.
...
Change-Id: Idc5feda9147abdefc3d864744e73d88111884eea
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-05 10:43:59 +02:00
Dunajski, Bartosz
ecc2a6b115
AuxTranslation support in BlitProperties
...
Change-Id: I52b136dd2a14e8b2c614c54dc695eca141b87a99
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-05 08:59:12 +02:00
Mrozek, Michal
9ddc4f5f2e
Improve NonDefault flag dumping.
...
- Do not require PrintDebugMessages to have information messages.
Change-Id: I5fcf8dee73ca193f40ac33d2f68190a22ff60e97
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-05 06:13:08 +02:00
Pawel Wilma
fac8c94c1e
Revert "Built-in kernels refactor"
...
This reverts commit 40b00c7e8a .
Change-Id: I8c13be5134c051272db1fe1b7b15764cf8ad6953
2019-07-04 16:33:01 +02:00
Piotr Maciejewski
d1d794c658
Metrics Library Performance Counters implementation.
...
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com >
Change-Id: I0f00dca1892f4857baaebc75ba2208a4f33db1bf
2019-07-04 15:56:47 +02:00
Igor Venevtsev
10799ea0ed
Use GfxPartition for GPU address range allocations
...
[3/n] - DrmMemoryManager
Related-To: NEO-2877
Change-Id: If7aa5f7e0d774f0c8b1c01cf6b14ee22374987d3
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-07-04 12:14:00 +02:00
Pawel Wilma
40b00c7e8a
Built-in kernels refactor
...
Related-To: NEO-3220
Change-Id: I4a44a71fe30abd38409de7e9741a3b389b967612
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-07-03 14:58:32 +02:00
Mrozek, Michal
25083960ac
Add parameter to setGpgpuWalkerThreadData.
...
Change-Id: I931f27ad3a21d3d151b19ac9226e245134295b98
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-03 13:14:51 +02:00
Dunajski, Bartosz
711ba1414a
Store operation params in MultiDispatchInfo
...
Change-Id: I519cf84619ca4cdd7c09d351f49832c1ea2b3c82
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-03 12:58:55 +02:00
Daria Hinz
42b87654eb
Add preemption allocation for each of the Csr
...
Change-Id: Id14fbfbf6e9a6a85f035e75b4a20ca198c0996e5
Signed-off-by: Hinz <daria.hinz@intel.com >
2019-07-03 08:17:38 +02:00
Dunajski, Bartosz
27a0c5a566
Remove not used waitUntilGet parameter from takeOwnership method
...
Change-Id: Ic76264a87bbe9179f4aeb2ec3f97cdddd8465654
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-02 15:41:13 +02:00
Mrozek, Michal
d6b438da20
Clean interfaces.
...
Change-Id: Ifbc7caf77d10bd34c1c776739e9f11d3f9b12af8
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-02 15:31:21 +02:00
Milczarek, Slawomir
5fb7b11049
Enable local memory on Linux by default
...
Related-To: NEO-2687
Change-Id: I0a208e0ccd2946f1cc07dcfb36a9e9e071bb40bb
2019-07-02 14:39:24 +02:00
Mateusz Hoppe
14d8165887
Refactor GetSupportedFormats calls
...
Related-To: NEO-612
Change-Id: I2d6b4eeed06cfb3e3afededbfc5e4a1d1355ded7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-07-02 14:14:25 +02:00
Mrozek, Michal
c093f27888
Wire in support for compiler passed work group order.
...
- Also add a support to state that values were passed.
Change-Id: I80006dd16984feb96dce1ac909153c191f9831cd
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-02 08:18:41 +02:00
Mateusz Jablonski
910617c329
Add supportsImage flag to capability table
...
Resolves: NEO-3177
Change-Id: I7b21163187b570ea08cefe37572a3838072cb7bd
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-07-02 07:51:02 +02:00
Dunajski, Bartosz
27654c9282
Buffer-to-Buffer blit operations support
...
Change-Id: I76c9fae83fa2a31bd6108999c7f77f4a47c47f1b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-01 23:46:07 +02:00
Maciej Plewka
832814cefa
Add debug flag to enable calling freeMemory in memory Manager
...
Change-Id: I61a3c6e768bd9a479731f9e3e000069c9b677c33
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-07-01 18:10:48 +02:00
Dunajski, Bartosz
3441b5288d
Update DispatchFlags in enqueueCommandWithoutKernel path
...
Change-Id: Ic1a8de5ee3e6d387d93b7238ab74bf1e3a8e0990
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-01 14:41:35 +02:00
Mrozek, Michal
ee0cd25bef
TBX - fix residency of command buffer.
...
- Make sure that command buffer is properly resident and task counts are
updated.
- There is no need for divergent code flow in flush, we want to ensure
here that command buffer is resident.
- By code unification tbx command stream receiver properly handles
command buffer allocation in all dispatch modes.
Change-Id: Ied3f96ccd3e4774fe2d6f8810021cb9e030b3004
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-01 11:49:35 +02:00
Dunajski, Bartosz
41cca6d790
Use GraphicsAllocation for blit operation instead of Buffer object
...
Change-Id: I7e59a25db97082a6396d441a8fa603df27d6424d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-01 11:23:27 +02:00
Jobczyk, Lukasz
83ee99ad3d
Set supportsMultiStorageResources to true for WddmMemoryManager
...
Related-To: NEO-3182
Change-Id: Ia263b97394b83686262c06768de86c2ac2a37319
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-07-01 10:47:02 +02:00
Jobczyk, Lukasz
5cde27ed03
Add clSetProgramSpecializationConstant to dispatch table
...
Related-To: NEO-2260
Change-Id: I5164939688764effff64b4f7dcbe3a50e0fc794a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-07-01 10:25:21 +02:00
Krzysztof Gibala
407c0213f1
Add clGetMemAllocInfoIntel
...
Related-To: NEO-3317
Change-Id: If46be932e170d45793fe143ebb54fcfb0cda9ccc
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-07-01 09:45:31 +02:00
Milczarek, Slawomir
2e7696121b
freeGraphicsMemory to call freeGpuAddressRange on gfx partition
...
Related-To: NEO-2687
Change-Id: Id4ded6f5b443fb30c795cb8fab4bedda2fd66469
2019-06-28 15:38:29 +02:00
Mateusz Jablonski
91858d89d8
Add missing cleanup of private scratch allocation
...
Related-To: NEO-3190
Change-Id: I7b327c76cf62fab50d11ad06dcc067e92c650815
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-28 14:53:59 +02:00
Mateusz Jablonski
27f3f8ea8f
Pass private scratch size to scratch space controller
...
Related-To: NEO-3190
Change-Id: I6f1e71481679492516d898226de6a1e721896e81
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-28 14:32:06 +02:00
Mateusz Jablonski
223b998d92
Handle PATCH_TOKEN_MEDIA_VFE_STATE_SLOT1 patch token
...
Related-To: NEO-3190
Change-Id: I3e357f7e21a58e5bd2aa8cb8005b720c690664f2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-28 01:48:50 +02:00
Dunajski, Bartosz
56e77ca452
Add BlitProperties to simplify properties passing
...
Change-Id: I4abf99d420487a237e5b465b9d4d121121f45a84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-27 16:31:40 +02:00
Mateusz Jablonski
373dd2021b
Add private scratch space allocation to scratch space controller
...
Related-To: NEO-3190
Change-Id: I8100bb1db99700c2aac487e443a872f56c887dd1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-27 15:57:20 +02:00
Dunajski, Bartosz
da09c70e8c
Remove not used parameter
...
Change-Id: Ieef5a0da66a91075b682e917def3578cf48b0bbe
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-27 13:58:18 +02:00
Dunajski, Bartosz
8d4791143b
Change postSyncAddress offset for cache flush
...
Change-Id: I6cc557888e46e4a1c1ff495ddd2a3f9b6e264a21
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-27 11:42:52 +02:00
Kamil Kopryk
0a59476cb9
clGetDeviceInfo support unified memory 1/n
...
Change-Id: Iebb7f9f81ebfef8382ef12783356127f27ea3fc3
Related-To: NEO-3344
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-06-27 11:19:51 +02:00
Zbigniew Zdanowicz
9bcec32ef4
Add new LinearStream ctor
...
Change-Id: I8c77f90306d9ab27b42cc331bbfce6258bca4a3b
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-06-27 09:59:49 +02:00
Mrozek, Michal
840d81c9fc
Do not initiate limited range allocator if range above max64 bit address.
...
Change-Id: If7b0a83c5e5326f2b16d32533d8631ff6ff877cc
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-26 11:43:24 +02:00
Mrozek, Michal
1bc5f7b142
Ensure that events without commands have proper flush stamps.
...
Change-Id: I937efef7f87fa7df9e9b1a903269e3637eca73ad
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-26 09:08:58 +02:00
Adam Cetnerowski
eb3e6efaf1
Correct GetPlatformIDs error when platform fails to initialize
...
Change-Id: Icb25cd2924aa406c08af9d47a1002ba6d23724f7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2019-06-26 09:01:04 +02:00
Mateusz Jablonski
9e9e7ab61f
Correct memory banks passed to hardware contexts
...
Related-To: NEO-2881
Change-Id: I60d4a649c1ab3db634c56792e407bb318831de1b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-25 22:46:36 +02:00
Dunajski, Bartosz
8263d488c6
Submit Semaphore dependency for enqueue read/write without Kernel
...
Change-Id: I22e1743b4cbd6e8285527fdfe25424a6cb3ff462
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-25 14:21:57 +02:00
Venevtsev, Igor
165d1e4e55
Use GfxPartition for GPU address range allocations
...
[2/n] - OsAgnosticMemoryManager
Related-To: NEO-2877
Change-Id: I887126362381ac960608a2150fae211631d3cd5b
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com >
2019-06-25 12:54:20 +02:00
Dunajski, Bartosz
bb6dfd4fe6
Add debug flag to disable aux translation
...
Change-Id: I1f3a2941de44e9fe793ef3f1c6425c80293cc63a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-25 12:03:52 +02:00
Mrozek, Michal
7d3e8f32c8
[12/n] Unified Shared Memory.
...
- Wire in support for clEnqueueMemsetINTEL.
Related-To: NEO-3148
Change-Id: I50f636e8e0029a154b6a6c7cd46385e92f8d4d7f
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-24 18:14:29 +02:00
Artur Harasimiuk
5dbf8f7b8d
cmake: adding EXCLUDE_FROM_ALL to intermediate libraries
...
These targets should be built on demand when another target requires
this or explicitly requested. This applies to STATIC and OBJECT
libraries.
Change-Id: Ia0eb4e803b09c0ce594fd348ad53c10cdf5b3a9f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-06-24 17:11:01 +02:00