Commit Graph

2420 Commits

Author SHA1 Message Date
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
kamdiedrich 987dfdba07 Add additionalData member to GA
Add core path to included files

Change-Id: I8c697dd00a1f37b9af469292367cd090d4fd4875
2019-10-31 12:41: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
Dunajski, Bartosz b810892109 Fix typo
Change-Id: I9745ccece0bfdddd938a3de7511fab2ac2fbe9cf
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-31 12:03:52 +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
Adam Cetnerowski dbe3fef56b ULT renaming: map Image tests
Related-To: NEO-2236

Change-Id: I679281686bd31d61db12c22b4915cc52bf2697e7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-31 10:16:04 +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
Gibala Krzysztof 98305bd582 Remove not needed code, add missing files
Change-Id: I0ffba91d5f2df1d6b6e362896de93928a6f54fb6
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 08:09:41 +01:00
Filip Hazubski 2ece96d8c7 Fix ULT
Change-Id: Iee19897e10b31bfaa836bb1f7bea1c83d38afed6
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-30 16:54:52 +01:00
Adam Cetnerowski c7e448b9a7 ULT renaming: Map buffer tests
Related-To: NEO-2236

Change-Id: Ib8af2ba1b5d958b1b7d3bc0d2c29b6011e545dbc
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-30 12:35:11 +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
Maciej Dziuban ec87330fe7 Move some logic to separate helper
Change-Id: I09cf50b44b38b193d1491f6dcea6b4dd6987dd5e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-10-28 18:32:13 +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
Adam Cetnerowski da50a592c2 ULT renaming: Two walker tests
Related-To: NEO-2236

Change-Id: Id7d04ad1b7c85ee8a48ae88b189820b175d070fc
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-28 13:57:03 +01:00
Dunajski, Bartosz eb5811a797 Fix typo
Change-Id: Ibdc35346a9ef05a4ec643d19bd64b790e608eb1a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-28 13:19:38 +01:00
Maciej Plewka 51dcf2b6d2 add support for packed simd1 dispatch
Change-Id: I3f2bf8e62e0a38d358fb87f02c88c387c874f6b3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-10-28 11:58:25 +01:00
Dunajski, Bartosz 542da0ecf7 Support Gmm::GetMipTailStartLodSurfaceState()
Change-Id: I804061066c1a5c46bd3366ada525511885b2586f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-28 08:56:48 +01:00
Slawomir Milczarek 4a74bda894 Reclassified drm functions to generate warnings only
Related-To: NEO-3008

Change-Id: I0fecb010bbfb29442caba9f2e31a7e05bbd16189
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-25 12:26:06 +02:00
Dunajski, Bartosz 2f343b7711 Add EnableBlitterOperationsSupport debug flag
Change-Id: Ib52e5ac81dc2bbae07db83b893e6447faa13d398
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 11:48:40 +02:00
Dunajski, Bartosz 2be5786b9d Allow for blit enqueue on read/write buffer operations
Change-Id: I69c88e63ef3e8b32bbdf72a69c93f84d3ab45fe3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 10:05:00 +02:00
Dunajski, Bartosz 6059e77fb4 Unify mapAllocation and hostPtrAllocation to transferAllocation
Change-Id: I875d6886ce3b0866da7679925ba973d2d16a1141
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 08:20:08 +02:00
Gibala a32f537601 Remove OCL object from MemoryProperties 13/n
Refactor parseMemoryProperties and createMemoryPropertiesFlags functions

Related-To: NEO-3132
Change-Id: I61aaae69b84d8b0f77c08a59010879cc3a93e6cf
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-24 14:07:42 +02:00
Dunajski, Bartosz 3fea7173e2 Remove redundant makeResident call to avoid BO duplicates
Change-Id: Ie657db6026b4ece2df4f6bdcec8934a314ca64c5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-24 11:05:47 +02:00
Mateusz Jablonski 9924fa34de Make root device environments a vector
Change-Id: I62addd87606c8c87e3b9db53c9179bd5f09df30b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-24 10:29:21 +02:00
Michal Mrozek 1580a936b6 Make sure we hint as OpenCL.
Change-Id: I11b75b9e627651d9ee56ce58864cc4520ee82bfd
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-24 07:57:23 +02:00
Jobczyk, Lukasz bfc9863179 [1/N] Make the execution environment adapter agnostic
-Create a structure for adapter specific data
-Store an array of adapter data in the execution environment

Related-To: NEO-3857

Change-Id: Ia5b52a7bfa53198f0ca5124bcaa0669dd3601faf
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-23 15:51:35 +02:00
Gibala e22ce2f757 Prevent null allocation in createSharedUnifiedMemoryAllocation
Related-To: NEO-3860
Change-Id: I3954279414b226ea332da4a3fd1580853e59bd54
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-23 15:29:40 +02:00
Mateusz Jablonski 472b1627a2 Rename DeviceHelper's method getDevicesCount- > getSubDevicesCount
Related-To: NEO-3691

Change-Id: Ifc7956aa284f88647fab1423f9d5ebc4f5183d07
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-23 15:21:28 +02:00
Dunajski, Bartosz caedea28f8 Dont create hostptr allocation for blit calls if already exists
Change-Id: If3d9f50189dd31e24796f1f56ce400360c461877
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-23 14:15:46 +02:00
Dunajski, Bartosz 3aeaaf6eb3 Disable Image transforms on gen12
Change-Id: I8a62b06d0ef6a5a75fac499158a45d8486bfdd2f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-23 12:33:19 +02:00
Lindong Wu 315d585f99 fix dispatch hints missing in task flush
Change-Id: Iceec3d28a469a32041e67b7e00b4a02731f3fd0b
Signed-off-by: Lindong Wu <lindong.wu@intel.com>
2019-10-23 11:31:55 +02:00
Andrzej Koska 1f6dde3f02 Added DeviceId filtering under Linux
Change-Id: Ie4b91d139beb8f31d50737d829e9d8fe801dcfa1
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-3239
2019-10-23 09:11:04 +02:00
Michal Mrozek 68d152a3d9 Make sure images do not program IA coherency.
Change-Id: Ie3d8f0cec8d03e90f5be7ebf0e888cf8ba54cb14
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-23 08:02:00 +02:00
Jaroslaw Chodor 28464ab2d4 [N/N] compiler interface refactor - move to core
Change-Id: I029e3cd7a6adde9df97a0a7760ecbf5d25d8f501
2019-10-22 19:14:09 +02:00
Mateusz Jablonski c8664b50a4 MemoryManager: don't access command stream receivers from execution environment
Related-To: NEO-3691, NEO-3857

Change-Id: I8d83456f4164d2b25d78bffa368cffe988c498b0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-22 17:38:24 +02:00
Gibala 5f02a0730b Remove OCL object from MemoryProperties 12/n
Remove MemoryProperties from Buffer and Image classes and replaced it with
MemoryPropertiesFlags

Related-To: NEO-3132
Change-Id: Ib582cddf759bf501fa7dbbea3257640eb9f431e9
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-22 14:26:21 +02:00
Dunajski, Bartosz a046de5689 Improve BCS waiting logic to satisfy AUB/TBX mode
Change-Id: I52b44959b8bdc1cc66f136a4785233b95870fd0b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-22 13:36:43 +02:00
Gibala c6e13fdc67 Prevent null allocation in createUnifiedMemoryAllocation
Related-To: NEO-3860
Change-Id: I4b11db679385393a9059af41d71a8ce9c3f9fdc7
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-22 13:32:52 +02:00
Jaroslaw Chodor 3181939892 [3/N] compiler interface refactor - cache
Change-Id: Iac1f36f7f505b100e65c2b44dff7f1689f99bfe5
2019-10-21 23:29:49 +02:00
Michal Mrozek 0bb2458dab Fix svm size programming.
-Base it on max64BitAppAddress.

Change-Id: Id68d12b50b798c5a750a3273963982d4315bd776
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-21 19:32:59 +02:00
Mateusz Jablonski b93817fe7c Use DeviceHelper to calculate number of sub devices
Related-To: NEO-3691

Change-Id: I390b7919fe8960b74cf290923f5daf128d824674
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-21 15:40:18 +02:00
Jobczyk, Lukasz 77d7d9f740 Add a getRootDeviceIndex method
Change-Id: I7f46a42b5ce25a53365b9faaeba62f2c3232f104
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-21 15:35:26 +02:00
Adam Cetnerowski 7f1720ff6d ULT renaming: Two IOQ tests
Related-To: NEO-2236

Change-Id: I465901e69074718b1ba7441846a44d02b740904f
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-21 10:43:04 +02:00
Jaroslaw Chodor 8ec7e45bff [2/N] compiler interface refactor (spir/spirV fix)
Fixing regression in spir/spirV scenarios

Resolves: NEO-3854, NEO-3852, NEO-3845, NEO-3851, NEO-3844

Change-Id: Ifee7f1847c7f6598428f96ae2241b3d85e58ad11
2019-10-20 20:26:10 +02:00
Slawomir Milczarek 3727968488 AUB capture in TBX mode to respect the AUBDumpCaptureFileName debug variable
Change-Id: I0a340ac5be58134237aa2c6513f39dc5d7026634
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-18 10:45:22 +02:00
Daria Hinz 2196f7e216 Move ElfLib to core
Change-Id: I57987e871aac9c72dc786661c1d24f5024dd367b
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-18 08:31:12 +02:00
Mateusz Jablonski 0a44dfcce4 Rename debug variable CreateMultipleDevices -> CreateMultipleRootDevices
Related-To: NEO-3691

Change-Id: I30eae4c5595e6e94aab726f8de2ae9b647406c91
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-17 17:57:58 +02:00
Slawomir Milczarek b3ada0146b AUB subcapture in TBX mode to write the head register upon activation
Related-To: NEO-3051

Change-Id: I5a78de3e43576e2398449ed12935af4000da3deb
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-17 16:03:50 +02:00
Gibala d2576c95aa Remove OCL object from MemoryProperties 11/n
Remove MemoryProperties from MemObj class and replaced it with
MemoryPropertiesFlags

Related-To: NEO-3132
Change-Id: Iff8633c49225b6a1f18103281825b36bf179701f
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-17 13:28:44 +02:00
Jaroslaw Chodor 90e5cf164c Moving hash and file_io to core
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
Artur Harasimiuk 239fe2a0fe fixing clang-tidy issues
Related-To: NEO-3676
Change-Id: Icb1dfd71cef6fada636721e7761567c7abad80db
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-10-17 08:23:32 +02:00
Adam Cetnerowski d08178c5fd ULT renaming: Enqueue Kernel tests
Related-To: NEO-2236

Change-Id: I756be6bf0b28497059656d2b64def1226e69f9b7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-16 16:47:50 +02:00
Chodor, Jaroslaw 856e5c6aaf [1/N] compiler interface refactor
Decouple compiler interface from Program object

Change-Id: Ibd63c6eee01d85527318ccad52e52f5487d3402e
2019-10-16 16:17:13 +02:00
Lindong Wu 9066192dc3 add dispatch hints for more flixable control on workload dispatch
Change-Id: Iecfe3031172fd108a1ef0d77d2fff8ad3cef22b3
2019-10-16 15:40:07 +02:00
Mateusz Jablonski 539d688877 ULT: connect context with command queue
Related-To: NEO-3691

Change-Id: I1bb574f40614cd263f87f0538549769f3d10652f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 14:33:50 +02:00
Mateusz Jablonski 37bd67e791 Correct getting engines from device with sub devices
use first sub device to take engine for low priority or blit operations

Related-To: NEO-3691

Change-Id: I29737df06cc764a10a22a41017ab827cde7960b8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 14:32:02 +02:00
Cetnerowski, Adam dbad1d7081 Revert "Disable cl_khr_subgroups extension"
This reverts commit 332e02ef27.

Change-Id: I913d0a00286f46b9c08913d925e1be08b31c367f
2019-10-16 13:11:04 +02:00
Mateusz Jablonski ecade0a153 Minor cleanup in command stream receiver tests
Change-Id: If50a7b524ab892992955d23d6df42e9df112b57a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 12:41:57 +02:00
Mateusz Jablonski dccce00711 Remove redundant getters/setters from MockContext class
Change-Id: I4283c1b5805141bf573fd433190e08d853ec7275
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 12:29:34 +02:00
Slawomir Milczarek c46e886649 Create drm to check status of set memory regions operation
Related-To: NEO-3008

Change-Id: I0c26656c905ad52295ed0aaf2c53731c99da9cc2
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-16 11:16:27 +02:00
Adam Cetnerowski 09b51cf756 ULT renaming: Kernel LWS tests
Related-To: NEO-2236

Change-Id: I33d290b23ddd56fe2884f2fa472a19056b58942c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-16 00:10:31 +02:00
Jobczyk, Lukasz 332e02ef27 Disable cl_khr_subgroups extension
Related-To: NEO-3807

Change-Id: I03d6a72f897b883c10cff4f31c152d7c9f100b43
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-15 17:26:41 +02:00
Mateusz Jablonski 09c775f347 Add method to get total number of devices in context
Related-To: NEO-3691

Change-Id: I6e468118f99967a40dd8dce30013ada2142ca727
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-15 16:03:49 +02:00
Artur Harasimiuk 68f8e2bade fix member name to comply with rules
Change-Id: I63759164bbd17a5d68fd4ba6c7f0b9138bb511a3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-10-15 15:53:19 +02:00
Kamil Kopryk 2770f75afa Add support for stateless copy buffer to buffer
Change-Id: I7ad19890ea1725bcecf17aee16abe1f993f5b08c
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-10-15 15:26:18 +02:00
Maciej Plewka a1c4283e0c Add method for checking if deferr deleter is enabled
Change-Id: I5949a01ac312669824b8738f4bb7f8aedb2a056b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-10-15 13:28:14 +02:00
Filip Hazubski b6e62528b6 Add support for OffsetToSkipSetFFIDGP igc parameter
Related-To: NEO-3829

Change-Id: I18b237bac5301f57bbb26636bec94683c3d250a7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-14 15:27:34 +02:00
Slawomir Milczarek a59559e516 Add setEngines function stub to drm class
Related-To: NEO-3008

Change-Id: I43d66fb9db1a0005922d7fbd8b96fccff3e7046d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-14 14:42:25 +02:00
Filip Hazubski 65ba8e9fa3 Fix programBarrierEnable call
Related-To: NEO-3211

Change-Id: I14b89d650d8f6aa4aed01d3b15f5392e1ca15cbd
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-14 12:36:14 +02:00
Mateusz Jablonski 79e7a51908 CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR

Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-14 12:18:50 +02:00
Mateusz Jablonski c86fa7763a Add method to get device from device
Related-To: NEO-3691

Change-Id: I710d740d82803e2a844b30a5cd3e4b017192f6f1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-11 12:50:22 +02:00
Filip Hazubski 6a7b7013fe Add programBarrierEnable helper function
Related-To: NEO-3211

Change-Id: I7afe11fa9d440837d66f0003b9e02db1f404d650
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-11 09:17:06 +02:00
Maciej Dziuban 100f888b85 Enable setting additional params for gen12lp image compression
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Change-Id: I6228413938930f36c120523818649cde1a717cf2
Related-To: NEO-3564
2019-10-11 07:25:38 +02:00
Michal Mrozek d652e07c20 Check kernel for inline data.
Change-Id: I8c677615954869ce0859e25b00e5c0b86a326989
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-10 17:41:54 +02:00
Mateusz Jablonski e4ed7e7f12 CMake: add IGDRCL_SOURCE_DIR to prefixes in create_project_source_tree macro
Change-Id: I0fceeab0b42fe58ec92fbaaa4b4704c0b2344647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-10 16:08:21 +02:00
Koska fc067c823b Added test to read the debug int value
Change-Id: I97e90320498b0abbdeeeb92c82e962bb411111c6
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-3239
2019-10-10 14:54:33 +02:00
Filip Hazubski 96031e7bba Update programming BarrierEnable
Related-To: NEO-3211

Change-Id: I27d04d12414738c8e4a3eef1d29967e47a61c0fb
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-10 13:07:23 +02:00
Mateusz Jablonski fcf2387398 Add tests for selecting KMD adapter
Related-To: NEO-3007

Change-Id: I040662e68dccf574b14ecffa02f5427f6ef1899b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-10 12:06:41 +02:00
Koska b9e0411c18 Support for environment variables
Change-Id: Ie52580703d3db36e3993d9e91cbbeb1fbb8cc1ae
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-3239
Current order of reading debug variables:
- igdrcl.config file
- registry (under Windows)
- Environment variables
2019-10-10 11:47:45 +02:00
Filip Hazubski 8ba7a0ea4e Move test.h to a separate directory
Change-Id: Iceb14d701612d5b7814602ab0742ba1110b44a85
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-10 10:58:23 +02:00
Michal Mrozek 68df8be148 Refactor inline reg key.
Change-Id: Ib04b8d4236bbc2862dd152b7350760c2cf20e3f0
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-10 10:28:44 +02:00
Gibala 2f9bfc7748 Remove OCL object from MemoryProperties 10/n
Add cl_mem_flags, cl_mem_flags_intel and wire it in mem_obj.
Refactor:
- validateMemoryPropertiesForImage
- validateExtraMemoryProperties

Related-To: NEO-3132
Change-Id: I90fac5fc00e24fc67346109a1fe6f269ef51e1e0
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-10 10:19:47 +02:00
Daria Hinz 053896c525 Move Preamble tests to core
Change-Id: I57a53ee68022e3f6d7558a56e0001c8126e135a9
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-09 16:29:17 +02:00
Adam Cetnerowski 0e37ae3c8c ULT renaming: Kernel event tests
Related-To: NEO-2236

Change-Id: I0b1f6a1649116ce242ab2ba6ac0b86a57f6c3a9d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-09 15:28:15 +02:00
Andrzej Koska 0ae977015d Adding a debug variable to select a test device
Change-Id: Icf28d456590d532db44119d95be35ec6933a2647
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
Related-To: NEO-3239
2019-10-09 14:25:41 +02:00
Filip Hazubski 81cd28e0f4 Add Math::divideAndRoundUp helper function
Add usage of the function where applicable

Change-Id: I9c41ad37009d1f088fa1917d30525194a10d3061
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-09 13:25:39 +02:00
Mateusz Jablonski e0594d4716 Pass context to isSuitableForRenderCompression method
Related-To: NEO-3691

Change-Id: I3417e647f4219451922a4dc905726366b4448890
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-09 11:47:26 +02:00
Slawomir Milczarek 20e44692af Aub subcapture to respect aub capture file name
If aub file name is specified with the AUBDumpCaptureFileName regkey,
the subcapture will apply it directly without generating any suffixes.

Change-Id: Ib522675fee72e00ba7db5e5c966df0e1b87218d2
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-08 13:18:00 +02:00
Jobczyk, Lukasz 419916f1b4 Add debug variable to measure processGenBinary execution time
Related-To: NEO-3773

Change-Id: I79df8e6639ce775329307f4bfb25cbac5606e8c3
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-08 13:07:27 +02:00
Kamil Kopryk 50f40296c4 Add WaDisableFusedThreadScheduling
Change-Id: I5ad09fc7d366b8062ff7b10f86718f3afe28ba0b
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2019-10-08 12:11:16 +02:00
Adam Cetnerowski 9229b48414 ULT renaming: Global offset tests
Related-To: NEO-2236

Change-Id: I5ac86129913848a5ff701ceaf88ffb8cd9cb8b96
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-08 10:27:57 +02:00
Mrozek, Michal 2ca541a343 Revert "Allow for blit enqueue on read/write buffer operations"
This reverts commit dd75cdcf04.

Change-Id: I0e653d25b190036cc0fdbc6765dd79a5646df3d8
2019-10-07 10:42:02 +02:00
Michal Mrozek 6f08328aa7 Fix sporadic issue in test.
- Parse commands after flush
- Sequence was as follows:
ndr1
1.Parse commands
ndr2
2.Parse commands

cmdq->flush
cmdq2->flush

During parsing #1 we parse BATCH_BUFFER_END at the end of command buffer.
Following NOOP is also parsed.

Then at flush time, BATCH_BUFFER_END is replace with BATCH_BUFFER_START
as we chain them together, however parser is not updated at this point
and still thinks that there is BATCH_BUFFER_END there.

Then we try to locate MEDIA_VFE_STATE, under NOOP iterator we currently
have BATCH_BUFFER_START GPU VA start address that is random.
Depending on the luck, address may be interpreted as VFE_STATE and
test sporadically fails :)

Change-Id: I1d6f2547f1b85f17349976245db7bdcb9fe6b17c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-04 16:28:12 +02:00
Dunajski, Bartosz d3e583f7f4 Synchronize blit enqueue after barrier call
Change-Id: I0349dc5b1581ecb142bdab881877450366bcdb86
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-10-04 14:56:30 +02:00