Jobczyk, Lukasz
2a77d71d4c
Ensure that temporary resources are destructed before wddm
...
Change-Id: I39330718f672a4f35941d1a990aec27446ad8b49
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-11-14 10:57:16 +01:00
Michal Mrozek
e7901775a8
Improve enqueue kernel error handling.
...
- Do not allow to enqueue parent kernel if there is no device queue.
Change-Id: I0f06b8ed2387fc87abd652653f2c8bb8c4939a12
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2019-11-13 19:29:19 +01:00
Slawomir Milczarek
75d0fb308a
Fixed AUB Center class object initialization
...
Related-To: NEO-3916
Change-Id: Ia17abe09c638ee76b8fda98166938c1bab6629a7
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2019-11-13 18:55:39 +01:00
Dunajski, Bartosz
de0c01db8c
Improve RegisteredMethodDispatcher usage
...
Change-Id: I742cc7a25f7ce3c9ad43411a0b1a128d1744c6a2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-13 18:05:02 +01:00
Dunajski, Bartosz
b6015b5293
Add TimestampPacketDependencies helper
...
Change-Id: I3945ac8e495baf442b4f892ba415f939e8d316da
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-13 16:04:48 +01:00
Filip Hazubski
4b2a8e99d8
Add clGetExecutionInfoIntel API
...
This API allows querying for execution related information.
CL_EXECUTION_INFO_MAX_WORKGROUP_COUNT_INTEL parameter allows to query for
maximal work group count that is possible to run concurrently on the device.
Related-To: NEO-2712
Change-Id: I4e6b4c80aeb06ff966fb543c0a7f05ed54416dab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-11-13 12:09:40 +01:00
Mateusz Jablonski
5a8f455a84
Remove csrsContainer from root device environment
...
improve mocking:
- add method to create RootDevice in Platform
- add method to create SubDevice in RootDevice
- add method to create CommandStreamReceiver in Device
Related-To: NEO-3691
Change-Id: Ie9fe3de260492604333c8ca93796bfbffae518c4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-13 10:05:09 +01:00
Dunajski, Bartosz
4102b9cf3d
Pass single Node instead of whole Container to BlitProperties
...
Change-Id: I7493e836550712633ef95e83b8349a3804df1327
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-13 09:38:31 +01:00
Maciej Dziuban
6dd65f2f9e
Unified memory sharing 3/n
...
Require CL_CONTEXT_INTEROP_USER_SYNC
Related-To: NEO-3771
Change-Id: I973635a25d2b2ac5d05557804a4351eb59786bcd
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-12 18:05:37 +01:00
Jobczyk, Lukasz
7b7ac67e47
Extend an allocation properties constructor
...
Related-To: NEO-2998
Signed-off-by Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Change-Id: Ia2a99ff3bae574cc0cc40a973a30bdca126fe12d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-11-12 16:21:54 +01:00
Dunajski, Bartosz
80407aec15
Program barrierTimestampPacketNodes only on first unblocked command
...
Change-Id: I8ebba9f8326e3da2365c001b0c350efb372a3774
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-12 15:37:51 +01:00
Maciej Dziuban
125e2a0ff8
Unified memory sharing 2/n
...
Move acquire/release handling to a base class
Related-To: NEO-3771
Change-Id: I0127e393ce30c0b214b3c9cad590751ad9e386bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-12 14:56:21 +01:00
Slawomir Milczarek
9063e310af
Removed deprecated DRM interface
...
Related-To: NEO-3008
Change-Id: Id3464129c61dbe5afb777e331581c82b1c7a029e
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2019-11-12 13:34:16 +01:00
Filip Hazubski
f8a9eb642e
Remove not needed ifdef
...
Resolves: NEO-3891
Change-Id: I37e66cc2229969409c6eb52e12267ae5531c3abf
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-11-12 12:44:11 +01:00
Dunajski, Bartosz
af8ce96ab4
Add move logic to TimestampPacketContainer
...
Change-Id: Ib666fd57b4ca9123e324a82c3e648b0da49abffc
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-12 08:50:00 +01:00
Dunajski, Bartosz
50f9674d79
Change HostPtrSurface ownership to target CSR
...
Change-Id: I56ab5f7f961f92cf195600b11e836d2f264c9d0d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-08 18:11:37 +01:00
Dunajski, Bartosz
0dafcfcce5
Remove not used variable
...
Change-Id: I72f696948ca37ed7778fb081afe5f88d3abea4e9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-08 17:35:37 +01:00
Dunajski, Bartosz
ad2b8a0bbe
Allow dispatching multiple blit commands with single flush
...
Change-Id: I57ea32dfa8cfd89ec37fc2f1f82ee6f72598c18a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-08 14:35:44 +01:00
Igor Venevtsev
ef7df7dc22
Properly initialize sub/rootDeviceIndex members in AllocationProperties ctor
...
Change-Id: Ib2c5b0cb63291a6b210d273d4de3283b1072274f
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-08 13:38:11 +01:00
Kamil Kopryk
b2fbab7f28
Add support for stateless write buffer rect
...
Change-Id: Id10c97ff2b7c07ca828b17d6bcbc36e97fadfb83
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-07 16:13:04 +01:00
Kamil Kopryk
0ef81b2bc0
Add support for stateless read buffer rect
...
Change-Id: I794be4cacaa9de661c0c7e6ec67da85b0d5eed9a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-07 16:07:03 +01:00
Kamil Kopryk
011701ee5e
Fix for forceStateless check
...
Change-Id: Ic1d4787c3d8c7bdd70f13451d703bbc9958af7c7
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-07 08:28:51 +01:00
Michal Mrozek
fb409e87fc
Do not detect pointers as buffers.
...
Change-Id: I43cf354ad7de9dd802759f7cf6fdb15bec679349
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2019-11-06 15:09:12 +01:00
Cencelewska
e2c4ec47ac
Refactor of programComputeMode in CommandStreamReceiverHw
...
Change-Id: If3ca7e89fe9f2fff371cd88224fe3a669d17f000
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-11-06 11:31:26 +01:00
Maciej Dziuban
603bce2164
Unified memory sharing 1/n
...
This change introduces creating and releasing buffers from
memory handle. Currently Windows NT Handles are supported.
Change-Id: I61b89d97946ce61617ad98922b7e9731d4a754a9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-3771
2019-11-06 10:43:34 +01:00
Igor Venevtsev
684d58d2aa
Make GraphicsAllocation constructors unambiguous
...
Related-To: NEO-2941
Change-Id: Iedd16d0dcb4158b5e7832043289e2e6aba1549d5
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-06 10:12:26 +01:00
Dunajski, Bartosz
afb96b0b57
Change temporary allocations cleanup order
...
Change-Id: I7c6d52d985da14fb6c7a0bd15e4384c1ddfae622
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-05 15:36:33 +01:00
Mateusz Jablonski
5e56c8e25d
Correct validation of allocation usage before freeGraphicsMemory call
...
when allocation was used but not by registered engines then we can destroy it
Related-To: NEO-3857
Change-Id: Ibf6a92603e9317d3355283adecd5e156d7b5ab0a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-05 14:33:18 +01:00
Mateusz Jablonski
d617219665
Add getter for sub device index
...
Related-To: NEO-3691
Change-Id: I1375b3b422997d280e2006b00af8f6fab2314f8b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-05 13:17:05 +01:00
Kamil Kopryk
1bfe9f548e
Add support for stateless write buffer
...
Change-Id: Ie5d5abc9fac268c3467cafed5741828d84b13795
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-05 12:04:10 +01:00
Kamil Kopryk
2599a712fe
Add support for stateless read buffer.
...
Change-Id: Iadf46a6d8651de3fd6bb07efc0eda278e04c86f6
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-05 12:03:29 +01:00
Jobczyk, Lukasz
3fc748c0f9
Use newer GMM API
...
Related-To: NEO-3832
Change-Id: I9c97a20a6a611118eb14348a8c6960115a20777d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-05 08:30:09 +01:00
Zbigniew Zdanowicz
aa7058a2a9
Enable thread-group preemption for GEN12LP
...
Related-To: NEO-3880
Change-Id: Ia8ffc54f923578d3e7334d414e0087feff42eb7d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-11-04 18:30:58 +01:00
Dunajski, Bartosz
2368247405
Move blit residency handling to CSR
...
Change-Id: If832f9af2e98820986de87b547cc75a4c5d588d0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-04 13:10:50 +01:00
Jaroslaw Chodor
cab8968e1a
Fixing regression in rebuildFromIr
...
Change-Id: If1604861180d935575cd06fb2978df114453a070
2019-11-02 21:52:16 +01:00
Gibala Krzysztof
929193c937
Remove OCL object from MemoryProperties 14/n
...
- Remove MemoryProperties from api layer
- Delete mem_obj_types & mem_obj_types_common
MemoryProperties is now fully replaced by MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: I114a887454a187571c22bfd371ef7bf11dd493fd
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com >
2019-10-31 18:04:12 +01:00
Dunajski, Bartosz
63f177e9dc
Add method and debug flag to obtain aux translation mode
...
Change-Id: I86ab1f7847ce61bf653e6be2affd5dafb4f8b211
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-10-31 14:47:15 +01:00
Igor Venevtsev
fed673861f
Add multiple root devices support to memory manager
...
Related-To: NEO-2941
Change-Id: If4977c19dbd083f2d1559a40f9b4e911eab4859c
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-10-31 14:30:19 +01:00
Dunajski, Bartosz
0a702ec679
Improve aux translation logic
...
- Debug flag to disable aux translation builtin dispatch
- Move MemObjsForAuxTranslation to MultiDispatchInfo
Change-Id: If6f3928440f856a0498e43df388868aa74aa60f2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-10-31 12:30:40 +01:00
Lindong Wu
79f068f5d2
add cmakefile for each GEN
...
Change-Id: I9c89bf61cdcc28f9c67d72fd419be137ec469155
Signed-off-by: Lindong Wu <lindong.wu@intel.com >
2019-10-31 11:36:04 +01:00
Gibala Krzysztof
127654a340
Update GEN12LP commands 5/n
...
- MEDIA_SURFACE_STATE
- PIPE_CONTROL
- MI_SEMAPHORE_WAIT
- MI_STORE_DATA_IMM
Related-To: NEO-3861
Change-Id: Ia8d6fe4364ea51d77a91776d055854eecbfc0939
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com >
2019-10-31 11:17:02 +01:00
Adam Cetnerowski
bfed9d04cb
Enable 64 atomics on ICL and TGL
...
Change-Id: I2bc795ec874cb5e450dbd1d67dc599c8107cb73b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2019-10-31 10:42:20 +01:00
Jablonski, Mateusz
d4ab478bb6
Make gemCloseWorkerMode enum class
...
Change-Id: I6850ce0d52c52da80e08768f37c617158d8e1b0c
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2019-10-31 10:08:52 +01:00
Cencelewska
2131378c4c
Add method adjustInterfaceDescriptorData in InterfaceDescriptorData
...
Change-Id: Ia911c718aabaa22b3d1b226209d76ef58c94f203
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-10-31 07:53:41 +01:00
Jobczyk, Lukasz
368b072336
Fix a wddm destructor
...
Change-Id: Ieaf9a17e59157af01a8a538c0310753023208c2b
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-10-30 15:31:29 +01:00
Kamil Kopryk
dc0272d86a
Add support for stateless fill buffer
...
Change-Id: I6dac17090e499f013916b1ba2f2b6d0de47f51a3
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-10-30 12:27:04 +01:00
Jobczyk, Lukasz
e784ba39fb
[2/N] Make the execution environment adapter agnostic
...
-add rootDeviceId to the command stream receiver
Related-To: NEO-3857
Change-Id: I6c7f334ebe3d19cf0c58a4db65d013b7a8b7f982
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-10-29 17:15:01 +01:00
Kamil Kopryk
60237e1f80
Add support for stateless copy buffer rect
...
Change-Id: I9781b0d8bd863d8d5087dac6aa6a076005187afb
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-10-29 14:15:16 +01:00
Lindong Wu
10c3a5eba3
apply dispatch hint to blocking workload.
...
Change-Id: I521d237864db5a6eb0ee78a9b8495552241ba129
Signed-off-by: Lindong Wu <lindong.wu@intel.com >
2019-10-29 08:21:28 +01:00
Mateusz Jablonski
d408b82a19
Move aub center and command stream receivers to root device environment
...
resize root device environments to 1 by default
Related-To: NEO-3691, NEO-3857
Change-Id: Idf3d61e84f8265f30381c18216632d0ffb2a16de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-28 14:40:43 +01:00