Commit Graph

2608 Commits

Author SHA1 Message Date
Adam Cetnerowski b2877d3725 ULT renaming: Enqueue SVM tests
Related-To: NEO-2236

Change-Id: I9c569846a5a0f16b65566d1d5f52cc98b49b19f7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-26 08:35:27 +01:00
Jaroslaw Chodor c2bc814ac9 Adding support for new relocation types
Change-Id: I52e20542b8d7a6ca46e6d8b8ce715cc5b5ace428
2019-11-25 23:39:59 +01:00
Jaroslaw Chodor 355e8d3e5a [1/N] Program refactor - decouple from patchokens
Change-Id: I63bbf6c31a5db9e788124f22b6105e65c16c86d4
2019-11-25 19:46:21 +01:00
Artur Harasimiuk cf8283cc9a clang-tidy improvements and code fixes
Related-To: NEO-562
Change-Id: Iab9d1ed35e64c9fce849e1b0654ec65f731302e8
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-11-25 16:06:34 +01:00
Dunajski, Bartosz 61b6d5248d Allocation offset support for BufferToBuffer blit operation
Change-Id: Ib4a6bd856d123371ea3f667a74a9448953a0b8ca
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 13:13:48 +01:00
Michal Mrozek 0574372efe Merge 2 image tests.
Change-Id: I537eb18e8feeea4ec1529b903654deed8bd4f252
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-25 12:58:55 +01:00
Dunajski, Bartosz 684b3e1774 Improve aux translation restrictions check
Change-Id: I6e5bd014fef60f89365f536c219ab7d399c51265
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 12:58:12 +01:00
Pawel Wilma 9b84d8f5ba Use RCS as default engine for TGL LP A0
Related-To: NEO-3741

Change-Id: Iac79ff5e7142a3ee74990048fcc84565639a2da2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-25 12:24:20 +01:00
Pawel Cieslak f5b2110ac7 Check for limits when setting values from hw config string.
Related-To: NEO-3841

Change-Id: I80001a1bc25ae839578b9ca92fd7b32ac664ed6e
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-25 11:37:02 +01:00
Dunajski, Bartosz 7727cb230a Add missing override
Change-Id: I47bbe57121534cc24b3fb0969a57e5fead498040
2019-11-25 11:13:28 +01:00
Adam Cetnerowski c5229e9514 ULT renaming: Read image tests
Related-To: NEO-2236

Change-Id: I426f311702630db48f952d5a265804839db162d2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-22 20:36:17 -08:00
Adam Cetnerowski c2ab0b1b94 ULT renaming: Write buffer rect tests
Related-To: NEO-2236

Change-Id: I1ded69858ed6998fe03669383fd697129488a0b7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-22 16:41:47 +01:00
Maciej Plewka 49cde627c4 Adding Command container implementation
Change-Id: Ic2c4b9128fa0275fd10db6e37b89a1f36aee60bc
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-11-22 15:52:22 +01:00
Dunajski, Bartosz bd3acceacd Improve aux translation mode unit tests
Change-Id: Ie8965b1da2a1c8926f59c557e55266379b85271f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-22 11:57:48 +01:00
Gibala Krzysztof de83356b10 Program all semaphores dependencies
Related-To: NEO-3902
Change-Id: I5d8581cf4d1d50bc63626046972336b92af2a071
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-11-22 08:53:59 +01:00
Michal Mrozek bb6559b1b6 Simplify image tests.
Change-Id: Iecb0cedec01ab2836f376d640774a46625589a05
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-22 00:16:00 +01:00
Klein, Yaniv 1d05947cbe sync with interface change on Aub stream
Change-Id: Ibb4937a4c8368d93f4f787c92ff8e9fcd64ae199
2019-11-22 00:01:18 +01:00
Michal Mrozek 50fdda4835 simplify gl sharing tests.
Change-Id: Iedafa4bbdc9ed038806ce114cff6db26942d2ba0
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-21 23:39:40 +01:00
Michal Mrozek fd113e64d4 Simplify Os library tests.
Change-Id: I36de873e457a4da79ea61fb11f5d1e8695be9388
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-21 23:28:43 +01:00
Dunajski, Bartosz 08ceaf432a Enable blit operation on enqueue copy buffer
Change-Id: Ie9571344a9b1e2a783c59955a68094f2868f36ee
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-21 20:54:02 +01:00
Jobczyk, Lukasz 61e91a376b Add unified memory aub tests
Related-To: NEO-2998

Change-Id: I1d047bc98de3cafe50ed7f54bfd3a6b695ec4dbd
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-11-21 10:14:04 +01:00
Pawel Cieslak 6584f58902 Dynamic query of EUCount and SubSliceCount.
Related-To: NEO-3841

Change-Id: I7b92314bb8465233909fd1dddeef4ae1469008c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-20 12:28:04 +01:00
Zbigniew Zdanowicz 8d7c965dd5 Move Preemption tests to core
Change-Id: I717f2e485cac962373474c30e7ed7c52eab58e7f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-11-19 17:47:38 +01:00
Pawel Wilma ae0cefc834 Add patchToken OffsetToSkipSetFFIDGP in device execution
Change-Id: I0634836b787fa371f0b64779732941396a6ba804
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
Related-To: NEO-3892
2019-11-19 17:26:22 +01:00
Kamil Kopryk 5ecb9905c9 Add support for stateless copy image to buffer
Change-Id: I91d1a45d87a5984e0bb7fdb302a716ffcea7bfc8
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-19 17:17:12 +01:00
Piotr Maciejewski f2d0606301 Performance Counters: gen12 support
Change-Id: I40ccf4958636fc9ffa9778c7abd9e1663c4bb7e4
2019-11-19 16:58:04 +01:00
Mateusz Jablonski 13921f698e Move files to core
- OsLibrary class
- sku_info directory
- gmm_lib.h header

Change-Id: Ia86280e61cd2913c546afc40c3751b42e04ab137
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 16:19:52 +01:00
Mateusz Jablonski e7ee6daaa0 Remove runtime/gen_common from include paths
Change-Id: I4d1f9e64e0f4099e7903234e62b070ad4235347a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 13:37:34 +01:00
Mateusz Jablonski 3e1b15c31d Move initialization of AubCenter to RootDeviceEnvironment
make RootDeviceEnvironments vector of unique_ptr

Related-To: NEO-3857

Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 11:30:16 +01:00
Filip Hazubski 717246e26f Rename clGetExecutionInfoIntel
Related-To: NEO-2712

Change-Id: Ie3718affcb3a0caad6e98a9e2850362bd2caed6d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-19 09:08:47 +01:00
Dunajski, Bartosz 2d5169cf65 Setup enqueue dependencies in blocked path
Change-Id: Ia6d549924e3e557bae74dbdac691987450cbd3b7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-19 08:55:55 +01:00
Zbigniew Zdanowicz b31e25dbb6 Move PreemptionHelper class to core
Change-Id: I172c4beb8ea2576505d6192585d45cfa3d00da34
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-11-18 23:59:28 +01:00
Michal Mrozek 6646bd81a7 Check for max allocation size while allocating USM.
Change-Id: I870ffd5d8716dc50ac064666b54f5fa92d8beca3
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-18 17:01:04 +01:00
Kamil Kopryk 9d705e7905 Add support for stateless copy buffer to image
Change-Id: I494a64ecea8ff184626eeee3069de16f37e5b24b
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-18 14:06:06 +01:00
Dunajski, Bartosz 8e945e7919 Improve TimestampPackets handling in blocked path
Change-Id: Idf381a8750cebec6196eb299661dda892e11144d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-18 09:25:56 +01:00
Dunajski, Bartosz 46b5513028 Initial Blit aux translation support
Change-Id: I67fb71be57cff28a3736d5ffb9e1c39b2498feb8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-16 11:42:10 +01:00
Igor Venevtsev 63fd26f6d6 Always specify rootDeviceIndex for graphics memory allocations
Related-To: NEO-2941

Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-11-15 15:14:41 +01:00
Filip Hazubski 5f021afd6d Move HwHelper to core directory
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-15 14:06:40 +01:00
Michal Mrozek 51f7fbe0ec Remove not needed debug flag.
Change-Id: I2cfb1cf531654045242f64f045f6f8ff2cc10d9a
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-15 11:59:42 +01:00
Dunajski, Bartosz 9ecd43fe88 Fix compilation warnings
Change-Id: I2eda2617a60e54794490f932a80703e22e72a276
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-15 11:34:43 +01:00
Adam Cetnerowski 7311cf9fde ULT renaming: Read Buffer Rectangle tests
Related-To: NEO-2236

Change-Id: I72081fe65bf4f2fd96e00ab3670862177be88fa5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-15 10:59:12 +01:00
Michal Mrozek 06941a51af USM - add new API for memory fill.
- This API will eventually replace memset API

Change-Id: I33bb43904d76a56f74493f2567a8526f7f2c1ee4
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-15 10:56:41 +01:00
Mateusz Jablonski a988607cc6 Improve aub tests
skip tests in fixture's setup instead of early returning from test body

Related-To: NEO-3919

Change-Id: Ic61d8857114121bfa6153852fa1046b0ddbf5925
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-15 08:21:26 +01:00
Filip Hazubski 60b4614f24 Remove OCL objects from HwHelper
Change-Id: I6b629421eae5e3c9c158f769ef1bb8d68e37aae7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 19:17:10 +01:00
Maciej Dziuban 47645d6003 Unified memory sharing 6/n
Validate handle type upon buffer creation

Related-To: NEO-3771
Change-Id: I0fd16422220368ffdd41316e16c8506954d04d29
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-11-14 16:19:31 +01:00
Filip Hazubski cf246d73f5 Add wrapper for gen12lp tests
Change-Id: I32a8ef7752721a2cc330aca6d2efa68b1959efd9
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 15:25:34 +01:00
Kamil Kopryk 8bd641c418 Fix for stateless offsets
Change-Id: I32a252065bb667df9c92ff41601db0556b7d156b
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-14 15:06:58 +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
Dunajski, Bartosz 5ab6386581 Improve image aub tests
Change-Id: I14e37cbc87606a702f153c8823bbe883398f4365
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-13 19:23:56 +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
Filip Hazubski 8a047e24f2 Fix unit test
Move single HW test to proper directory

Change-Id: I9e1dd9a0403da11831a76fccd6615621cc4895b8
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-13 16:45:20 +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
Maciej Dziuban df20a73622 Unified memory sharing 4/n
Extract MockSharingHandler to a separate file

Related-To: NEO-3771
Change-Id: I012ca62e376d953928e7b3254aa3aa5330a6c3d4
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-11-13 13:31:59 +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
Klein, Yaniv 340e80bb1a added support for 2 stages write memory of aub_manager
1. write ppgtt pages only by calling write memory with pagesOnly set to true
2. write the actual memory pages by calling writePhysicalMemoryPages

Change-Id: Id3766704e4b8f84f77336f78da6b9270bfd44b70
2019-11-13 11:45:08 +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
Dongwon Kim 48b12337e3 ULT for the previous commit
Author: James Xiong <james.xiong@intel.com>
Date:   Mon Oct 7 10:54:39 2019 -0700

    Enable midthread preemption after the setup is completed

Change-Id: I9639e31233998a98ade6992dc3d5666e53dd3808
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2019-11-13 09:17:49 +01:00
Pawel Cieslak 70af3e33db Remove tbx tests.
Change-Id: I8511c55483504dfb463869958b274d02b45d4079
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-12 22:12:22 +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
Adam Cetnerowski b855852500 ULT renaming: Read buffer event tests
Related-To: NEO-2236

Change-Id: I25282c327180629020fdebc2aeeb321543455dc1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-12 12:31:53 +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 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
Mateusz Jablonski 900818b8fd CMake: refactor compiling test kernels
Change-Id: I50b75a06fa8d3de4e79ad24623738fa582f8f122
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-08 10:28:27 +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
Adam Cetnerowski 3f42625dcc ULT renaming: Migrate Mem Objects tests
Related-To: NEO-2236

Change-Id: If6469c42fd906d115cfa87adc3df9e97409d32f8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-07 15:30:01 +01:00
Michal Mrozek ed88bc69f6 Enhance kernel testing.
Change-Id: I7e9a3c8ba64df82e878a3514a8ed87604cd6f839
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-07 12:27:27 +01:00
Adam Cetnerowski 7e6b47cc14 ULT renaming: Enqueue Marker tests
Related-To: NEO-2236

Change-Id: Ib907867e6b711266b8588934458291672391d208
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-07 11:59:53 +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
Adam Cetnerowski 9b87eabadc ULT renaming: Media kernel tests
Related-To: NEO-2236

Change-Id: I7c38b860128e2e07c77e4ee194247eb054ca763f
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-11-06 14:11:11 +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
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
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
Michal Mrozek 0f122fbcee Remove simplified mocs logic.
Change-Id: I9fabfea94129fbc419ab0c9bca957cf7b9952c38
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-04 14:21:22 +02:00
Mateusz Jablonski 8410bd6e18 Remove device index from command stream receiver
Change-Id: Ia84b0cb8e03260ec940ee0b175b12693e528b8aa
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-04 13:27:33 +02:00
Piotr Zdunowski 5e4362258a Pass timestamp resolution to scheduler through event pool.
Related-To: NEO-2491

Change-Id: I7fb42441320b2b8a63b65ebe1d7f1f435809c80e
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2019-10-04 11:07:43 +02:00
Adam Cetnerowski 27c9dfcba9 Add ICL device ID
Change-Id: I2dbbb6813ee3bb58a51903d97986d81a50608105
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-04 09:14:27 +02:00
Milczarek, Slawomir f0e7e24638 Add support for AUB subcapture in TBX mode
Resolves: NEO-3051

Change-Id: If7c2d550227d0c5d09c35a53387f34f968e7c7b7
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-10-03 18:05:55 +02:00
Michal Mrozek a0a821105d Improve caching policies tests.
Change-Id: I57e6b8e5cb704d473a974daabfea05a1a482f1d6
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-03 17:06:57 +02:00
Dunajski, Bartosz 7278889752 Allow blit enqueue on non zerocopy svm map calls
Change-Id: I7d9748c814efae47f0cd95f2a216436e520fa7fb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-03 14:58:23 +02:00
Daria Hinz 375681ae12 Move Preamble Helper to core
Change-Id: I7d1bf567a67dc93c10d396aeb48ad1179b5b8ecb
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-03 13:54:17 +02:00
Adam Cetnerowski 86a5730c27 Add TGL devices
Change-Id: I399e54b6ade5ce7ba59d61229ddd9de0b86aedb2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-03 13:41:07 +02:00
Adam Cetnerowski 911e9bfa18 ULT renaming: Enqueue handler tests
Related-To: NEO-2236

Change-Id: Ib67eccc3a055cb0ea10c03852f97a53b9a466a50
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-03 12:16:58 +02:00
Maciej Dziuban f5043d66e8 Cleanup Gen12lp tests
Change-Id: Iea5b29c31d23892375b8b49a01549f51c796d4f2
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-10-03 12:12:13 +02:00
Mrozek, Michal dcd404a504 Improve read buffer tests.
Change-Id: I1fc14d3151700ed2e1abe342156b99679aef37fe
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-10-02 17:26:36 +02:00