Commit Graph

2608 Commits

Author SHA1 Message Date
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
Kamil Kopryk d0d113a05d Refactor Gen12lp programVfeState
Change-Id: I845d6d1f1bffb5289d37a1c789ca33e17ff83a10
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2019-10-02 14:30:41 +02:00
Dunajski, Bartosz a0617ebe09 Disable AUBHelloWorldIntegrateTest if not supported
Change-Id: Ie79498008524ef8ac0b02bf7ec8fdc701139a7d6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-01 10:07:12 +02:00
Adam Cetnerowski c2a00fec2a ULT renaming: Fill buffer and image tests
Related-To: NEO-2236

Change-Id: I3b0794cd7be1f5dd409aafb94fb93d96cac73eb9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-01 09:28:55 +02:00
Dunajski, Bartosz 971a2c026f Disable Image test if not supported
Change-Id: I5c11b63b1ff68984db85b4772f0fd300b8e31395
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-01 08:12:44 +02:00
Dunajski, Bartosz 41407535f3 Remove capabilityTable flag override
Change-Id: I5ca70b780d7e6217dc59a70be12ccda87f52df95
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-30 19:19:54 +02:00
Jobczyk, Lukasz 627c359798 Move Host Ptr Manager to the core dir
Change-Id: I48c521acdcd4b3a78eb539026af5ffa840cf2181
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-30 19:07:09 +02:00
Kopryk 3491e5d2e5 Add reg key to disable fused threads scheduling
Related-To: NEO-3772
Change-Id: If9e5d0190b401415c39bd799d81bb15a0f2b3b02
Signed-off-by: Kopryk <kamil.kopryk@intel.com>
2019-09-30 18:17:28 +02:00
Jobczyk, Lukasz 62d5ed2c08 Store a unified memory flags
Related-To: NEO-3610

Change-Id: Ie9f924f188d4024c7355b7655fea231229b4bf6a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-30 16:06:39 +02:00
Dunajski, Bartosz 3ec3ebfdbd Disable Image aub test when not supported
Change-Id: I170fdda48a3662ee6c560017e899c8b4c9e24424
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-30 15:24:51 +02:00
Adam Cetnerowski f513011819 Fix typo
Change-Id: I29c8d04a49e7b5a5d11d4d6727ccaaaab1fa38b0
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-30 15:11:21 +02:00
Cencelewska 81d587e1f9 Change arguments in creation of DispatchFlags
Change-Id: I150e0da2bc76a665e82c308ee2094742c13c2aa3
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com>
2019-09-30 13:53:58 +02:00
Adam Cetnerowski badc704b92 ULT renaming: Fill buffer tests
Related-To: NEO-2236

Change-Id: Ie6464fb26c9271d936c114ea780fdfa9259bd3d0
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-30 12:16:31 +02:00
Jobczyk, Lukasz 3bd4baeba3 Move a unified memory manager to the core dir
Related-To: NEO-3677

Change-Id: Ib60dea2bcaaf5feea97d61cb9f54baee4c6b4b64
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-27 10:46:35 +02:00
Dunajski, Bartosz d18d1b6ce4 Opensource TGLLP
Change-Id: I1685057a641d938170b8c7ec860d2f53f45b1d6d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-27 09:20:41 +02:00
Dunajski, Bartosz dd75cdcf04 Allow for blit enqueue on read/write buffer operations
Change-Id: Id8f6feb09503a901bfbbd9bd755eb6f237fc1f23
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-27 07:52:39 +02:00
Pawel Wilma 439cbff6b7 Print additional logs in sporadically failing unit test
Change-Id: Ib62afef404f018da8c5706c64813347b6dc042d0
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-09-26 16:17:34 +02:00
Dunajski, Bartosz a6ecd1f4f0 Initialize DeviceCaps in MockDevice
Change-Id: I2096462f6cd5e9c215b6166871ad5a2a31a36a2f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-26 10:51:55 +02:00
Katarzyna Cencelewska 260759268a Add logic to change queue slice count
Change-Id: I4f5ccb4ecb290e1a05e3a312b9fa2a5d9c5c17f7
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-09-26 10:21:12 +02:00
Adam Cetnerowski a7daa599fd ULT renaming: Fill buffer event tests
Related-To: NEO-2236

Change-Id: Ie80f14033ccdbde6e349cba03b4032edaee3fee0
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-26 09:56:23 +02:00
Adam Cetnerowski 049c45802a ULT renaming: Copy image tests
Related-To: NEO-2236

Change-Id: I58e756260479263fb1901958f9b5a38b86a47356
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-24 16:48:12 +02:00
Krzysztof Gibala 0753dc211d Remove OCL object from MemoryProperties 9/n
Refactor:
- validateMemoryPropertiesForBuffer

Related-To: NEO-3132
Change-Id: Ibdeec8ecdd2025718a3379b333a6c8ef9a8ceabf
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-24 14:58:13 +02:00
Cencelewska 03f910466e Remove default constructor of DispatchFlags
Resolves: NEO-3394

Change-Id: I6d5d8e389e0680e698423e4e36b4f0d20d173522
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com>
2019-09-24 13:46:34 +02:00
Dunajski, Bartosz 802ec4c879 Allow adding additional cmd_parse files
Change-Id: Id257c460c35b19fd6f20bfbf1930765f9cd3d960
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-24 10:46:15 +02:00
Mateusz Jablonski ea64a3fbc3 Add method for getting number of available devices
Related-To: NEO-3691

Change-Id: Ida2454adbfc9b177acbbb320f3f9577849a6fd74
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-24 06:29:25 +02:00
Mateusz Jablonski 7cb6d665a5 Use device index from os context when allocating heaps and command buffers
Related-To: NEO-3691

Change-Id: I64015d606bba289d250920899ad620171e8303b7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-23 17:26:39 +02:00
Adam Cetnerowski efbea1e542 ULT renaming: Copy Buffer to Image tests
Related-To: NEO-2236

Change-Id: I9fdc905e95ea9e9c9a433eee0971b803eb44741d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-23 13:21:20 +02:00
Zdunowski, Piotr 3b228667e5 Add missing override specifier.
Change-Id: Ide680ec0b85103611ee1b32f327e4f95e491a7da
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-09-23 12:03:19 +02:00
Adam Cetnerowski b169e33451 ULT renaming: Enqueue Copy Buffer tests
Related-To: NEO-2236

Change-Id: I1efdd03e61d7d4fc391bcce09800fd39d3b4e468
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-23 11:10:09 +02:00
Dunajski, Bartosz 2cb3be0b47 Pass Kernel to sendInterfaceDescriptorData()
Change-Id: Ie3617ccadf577d120e941416ecda55e1b60a78d2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-23 08:18:21 +02:00
Filip Hazubski 76638922bd Keep GmmClientContext in GmmResourceInfo deleter
Resolves: NEO-3575

Change-Id: I825a9acf993a46e6260bc7c77a955ed83da3b672
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-09-22 08:46:33 -07:00
Dunajski, Bartosz 91f33138ed Add more ftr flags
Change-Id: I3f1b8edf4b79315fd99b8b5bed8336d8767ec8c0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-20 12:54:10 +02:00
Kamil Kopryk b71e3a8bee Add aub test with stateless path
Change-Id: I189deba70dbd9c7dfb33994b3a7876b3b889a47e
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3627
2019-09-20 12:13:40 +02:00
Dunajski, Bartosz 33e64747fd Add FtrMemTypeMocsDeferPAT flag
Change-Id: I36e3cbaf824e4cb7469749afbe22d5a3745f261b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-20 10:51:44 +02:00
Dunajski, Bartosz 02c8f2a19e Add Ftr and Wa flags
Change-Id: Ie5b2b7fdbbaedf1c548deb25173e029e40b7077e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-19 20:15:06 +02:00
Zdunowski, Piotr 41ef3d6ebc Fix multithreading issue in allocation cleanup.
Resolves: NEO-3582

Change-Id: I269fbe8b17cdafa198ed0c89e4b55c15acbc5126
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-09-19 15:37:13 +02:00
Venevtsev, Igor 072048105d Introduce addressWidth template param to GmmHelper::(de)canonize
Related-To: NEO-2941

Change-Id: I1100fe9f94de6f6f25d255d3288774f0aba1b2ca
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-09-19 13:07:30 +02:00
Piotr Fusik 02e1677cf0 DrmCommandStreamEnhancedTest for different families.
Related-To: NEO-3008

Change-Id: I04ef29ff868a0b2dda50cf7a6a7c660149b5ec6a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-19 12:23:39 +02:00
Piotr Fusik 22c112cb12 Remove *_TYPED_CMDTEST_BODY macros.
Change-Id: Id21c12a05d35296c38704179fbf2c920d6f7745a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-19 11:51:17 +02:00
Adam Cetnerowski b1af4ccb2f ULT renaming: Copy Buffer Rect Tests
Related-To: NEO-2236

Change-Id: Ia49f75d3e7de725de4cefb2a7898e49214e8ab98
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-18 19:47:34 +02:00
Dunajski, Bartosz 4dd1155be6 Map allocation support for blit operations
Change-Id: Iff1b972b2a46610f9690c3412d00b994691e6e28
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-18 19:32:43 +02:00
Dunajski, Bartosz 438b27a73e Take maxKernelWorkGroupSize for totalWorkItems check
Change-Id: I30ebee26eddeb31890565b0edcbefc21392a91d1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-18 16:27:33 +02:00
Dunajski, Bartosz 0398572c48 Add MemObj offset to constructPropertiesForReadWriteBuffer()
Change-Id: I1b90eeb6eec1b5172fb07900351c24581e8b3b3c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-18 07:49:31 +02:00
Kamil Diedrich 115070767c Move graphics_allocation to core folder
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Mrozek, Michal e6341f48bb Add extra settings file
Change-Id: I49757d38a76cf7e3ae5357477296a4d4e6dcc84e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-17 13:26:14 -07:00
Adam Cetnerowski 9f633e3359 Disable VME on BDW
Change-Id: I9a76f2c7d97254aa6b71e1be44fb1ac5317f37ea
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-17 16:33:57 +02:00
Mateusz Jablonski dc949f6d18 Setup sub device's os context based on sub device id
Move types defined by using to separated header file

Related-To: NEO-3691

Change-Id: I71dfca0644b7022c4a381fbe396d0e32ca7d1ce5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-17 14:04:26 +02:00
Piotr Fusik 578a03e417 Remove redundant test code.
Related-To: NEO-3008

Change-Id: Ibd52700d6eef01136a3df8ce97a6e4d4d741495e
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-17 13:36:19 +02:00
Dunajski, Bartosz fe7340e029 Add hostPtrOffset to constructPropertiesForReadWriteBuffer()
Change-Id: If7ac8efaa0ae9c485339abae49503052f97bae79
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-17 13:30:18 +02:00
Piotr Fusik 1616c529bc DrmCommandStreamTest for different families.
Related-To: NEO-3008

Change-Id: I97b251cb3f955c9e7a1d6bb6e43a07c3f3fdafce
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-17 10:01:51 +02:00
Dunajski, Bartosz 9d6dcd6fff Use Kernels maxKernelWorkGroupSize to compute WG size
Change-Id: I947b5612f36cd2437e1ead98712c914ffe4b5b15
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-17 08:39:05 +02:00
Dunajski, Bartosz ca94628058 Refactor setting max workgroup size for Kernel
Change-Id: I2a489d60a3ec9ee363c10e3a5f12b6c7ba4e8dd8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-2946
2019-09-16 19:44:56 +02:00
Mateusz Jablonski f7f420b066 Pass os context to ScratchSpaceController::setRequiredScratchSpace
Related-To: NEO-3691

Change-Id: I3c040b9dd8e31dc798d70c7d0b12e2a89d22fa80
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-16 17:56:03 +02:00
Piotr Fusik f18b3bb5f5 Clean up TestedDrmCommandStreamReceiver.
Change-Id: I566bda0e8c942c3a458e24ad1ee23845f4a5c1ba
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-16 17:44:01 +02:00
Venevtsev, Igor 3fab76d95e Add GfxPartition::initAdditionalRange() stub
Related-To: NEO-2941

Change-Id: Iec74652a5ee2cc79af9093d520e892cb30045cdf
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-09-16 16:47:28 +02:00
Mateusz Jablonski 5c120893ed Move method isMultiOsContextCapable to CommandStreamReceiverHw
Related-To: NEO-3691

Change-Id: I3169ee8d5a29b8f562b70403b2fa9ebba7601a48
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-16 14:46:11 +02:00
Adam Cetnerowski 4d8dc3885e ULT renaming: Enqueue Copy Buffer Event tests
Related-To: NEO-2236

Change-Id: I64fe478aab55c84d28513dcef32021871b9a0149
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-16 11:32:12 +02:00
Dunajski, Bartosz d31ba78221 Remove maxWorkGroupSize parameter from provideLocalWorkGroupSizeHints
Change-Id: I2317fce1c39800b9c94678e6c4c5c32a8d26d6a1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-13 14:46:36 +02:00
Mateusz Jablonski 5d640e7100 Remove multiOsContextCapable flag from GraphicsAllocation
Change-Id: I3ebeef39befdc2a3e0f9d7d76ae531622ecf1a42
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-13 13:55:42 +02:00
Dunajski, Bartosz 0337b58ee4 Remove dcFlush parameter from finish call
Change-Id: Ifc808822399a100745a9d81bb5f6e45903a895fa
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-13 12:28:10 +02:00
Dunajski, Bartosz c0c6a46ece Wddm 2.3 improvements
- Dont create synchronization object manually - take it from HW queue
- Construct MonitoredFence from HwQueue object
- D3DKMT_SUBMITCOMMANDTOHWQUEUE should get currentFenceValue
instead of its handle
- Dont pass MonitoredFenceVa/Value in cmd buffer header

Change-Id: I4717119379cef2f0e641ce9f4ef614089491a85d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3728
2019-09-13 10:27:04 +02:00
Jobczyk, Lukasz cbc04629fd Move memory pool to the core dir
Related-To: NEO-3677

Change-Id: I04fce78640cb0bfc26ad8950261324d997cd113a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-13 09:56:21 +02:00
Dunajski, Bartosz ee1939ca18 Revert "Allow for blit enqueue on read/write buffer operations"
This reverts commit 70de319f33.

Change-Id: I38aa340ddbf906a3c121aa768a6c8300f48db8df
2019-09-13 09:20:51 +02:00
Daria Hinz ae4425351f Preamble Helper Refactor
Change-Id: Iacd05dcb6d9047fc2814895fa87d1cd9be6df446
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-09-13 08:29:03 +02:00
Dunajski, Bartosz 8daf59c246 Skip unit tests when Source Level Debugger is not supported
Change-Id: I6de120636a2d59348679478aa3d1901972527166
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-12 15:53:34 +02:00
Jobczyk, Lukasz 2e8e6bdb18 Move majority of utilities to the core dir
Related-To: NEO-3677

Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-12 15:07:02 +02:00
Krzysztof Gibala 04e1d73fcc Remove duplicate enums in RENDER_SURFACE_STATE
Remove:
- tagSHADER_CHANNEL_SELECT_ALPHA
- tagSHADER_CHANNEL_SELECT_BLUE
- tagSHADER_CHANNEL_SELECT_GREEN
- tagSHADER_CHANNEL_SELECT_RED
Replace:
- tagSHADER_CHANNEL_SELECT

Change-Id: Ia08ac5920107e0c2f4c3e3ef64622f1cd5254174
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-11 16:58:12 +02:00
Jobczyk, Lukasz ae7ec589fc Set proper command type in unified memory methods
Related-To: NEO-3610

Change-Id: I9758c63d0a1ee5c978259c2675519a388ffc9c4f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 13:27:19 +02:00
Jobczyk, Lukasz d7236d391c Add MigrateMem and MemAdvice implementations
Related-To: NEO-3610

Change-Id: I2c5b37927bf63fbc99a8f932baabd461798a345d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 11:47:11 +02:00
Mateusz Jablonski af80a61db3 Add debug flag to create multiple sub devices
Related-To: NEO-3691

Change-Id: Ia3554424221e102094c40cdd5941680c6a253b18
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-11 10:25:21 +02:00
Jobczyk, Lukasz 3fe91e6d69 Move host_ptr_defines to the core dir
Related-To: NEO-3677

Change-Id: Ic973fb65f584563cc3fbcfa20eb81fe687dc5435
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-11 09:35:55 +02:00
Adam Cetnerowski 751de37635 ULT renaming: Enqueue Barrier tests
Related-To: NEO-2236

Change-Id: I6d2ffedad67c30404777b2093809a1c3ffee8160
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-10 20:39:19 +02:00
Adam Cetnerowski 3dcef0d2e0 Remove unused test
Related-To: NEO-2236

Change-Id: I588078d9c22ab9dc721158e4dcd1a7314322c420
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-09-10 16:11:52 +02:00
Dunajski, Bartosz b09a0af97d Adjust hostPtr size in unit test to fit image requirements
Change-Id: I061ca8f65d8a05a92dafa361a1fae58bd5e6ec53
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 15:04:50 +02:00
Koska, Andrzej ccea3f497c Enhance VME registry support
Related-To: NEO-3583
Change-Id: I4ddad40348d276cb4f52ceedadf77ab615c85db9
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2019-09-10 14:40:03 +02:00
Dunajski, Bartosz 6ab6a06b1b Add error handling in allocateGraphicsMemoryForImageImpl and improve ULTs
Change-Id: I418a888fe31d5a7f008bdcfa0a3aabb77bc4df39
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 14:20:48 +02:00
Jobczyk, Lukasz fa8fc3fc43 Move a LocalMemoryUsageBankSelector to the core dir
Related-To: NEO-3677

Change-Id: Ie9fff1b353b8c2432305b44063861767e44add32
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-10 10:53:58 +02:00
Jobczyk, Lukasz 523d2af942 Get a Memory Manager directly from an Execution Environment
Change-Id: I11fcdc08928405eed4efe3ead2f863fa30cf1427
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-10 10:35:30 +02:00
Dunajski, Bartosz 712e4ee31c Improve aub tests
Change-Id: Iabbcf48783a4361797fcde1b01a61a603ce1e37c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 10:08:08 +02:00
Dunajski, Bartosz 1a5430339a Add more tiling support checks in unit tests
Change-Id: I53d02d04a78833b5f0d0b648f8e9ee951c2ba95b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 07:42:00 +02:00
Jacek Danecki 6689f45289 Fix compilation on clang 4 and 5
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/209

Change-Id: If0cecc836138f038da9dc74cf21c865b61aadddf
2019-09-09 17:34:30 +02:00
Dunajski, Bartosz dd39251af5 Add tiling support checks in unit tests
Change-Id: If1330fcda0c373e03988f515f38e4e74c9c352bb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-09 16:47:04 +02:00
Dunajski, Bartosz f0f6027936 Revert imageSupport check during creation
Change-Id: Ife995d54c0211f283688ccf2589225f140ee7bdf
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-09 16:19:46 +02:00
Mateusz Jablonski 9c200530c8 Remove not needed inclusions of device.h
Change-Id: Idfd8122592f58539a569143146443c08a18dace9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-09 15:05:29 +02:00
Dunajski, Bartosz 70de319f33 Allow for blit enqueue on read/write buffer operations
Change-Id: Iacdd2b75c671209d961fdf1754ff348af45ae56c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-09 12:51:06 +02:00
Mrozek, Michal aa16d9dec9 Revert "Change the offset calculation to use CCS."
This reverts commit 81b055024e.

Change-Id: I5e0491fb946379f4ad2fabd6099570fea5fe1b2f
2019-09-09 10:50:08 +02:00
Krzysztof Gibala c100db4333 Remove duplicate enums in SAMPLER_STATE command
Remove:
- tagTCZ_ADDRESS_CONTROL_MODE
- tagTCY_ADDRESS_CONTROL_MODE
- tagTCX_ADDRESS_CONTROL_MODE
Replace:
- tagTEXTURE_COORDINATE_MODE

Change-Id: I26fb654628360f107378c7bdd531951f196c35cf
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-09 09:15:53 +02:00
Mrozek, Michal dface02b19 Remove mapping on free.
Change-Id: I0ec5783362c9091edf98f893b062faaaad125522
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-06 14:16:33 +02:00
Dunajski, Bartosz 3e4dd67f09 Refactor linear/tiled Images logic
Change-Id: I1deac70e95c6953645e9f52fb75f103b62927066
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-06 13:59:52 +02:00
Milczarek, Slawomir 093bc4da9c Add support for multiple buffer objects in drm allocation
Resolves: NEO-3364

Change-Id: I05e8b9a05328298dcc578d62b2aa7b56ffbf4ddc
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-09-06 10:16:05 +02:00
Mrozek, Michal 06d4fa54f1 Adjust tests to shared system memory support.
Change-Id: I894030ef673d60e31dae55141e60170ac92afc15
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 16:48:10 +02:00
Jobczyk, Lukasz 882a216688 Move Debug helpers to the core dir
Related-To: NEO-3677

Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-05 16:00:35 +02:00
Mrozek, Michal 37a805af62 Adjust tests to HwHelper settings.
Change-Id: Ibc775edc30659099b23d11a102190d228862a411
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 15:53:32 +02:00
Mrozek, Michal 3f12acb356 Force no shared system memory capabilities in svm tests.
Change-Id: I4133aac5bfe1097bbbbb3d3a28f4ddf34f88e004
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 14:24:26 +02:00
Mrozek, Michal 3f433baf38 Force stateless compilation for builtins path.
Change-Id: I8ee826fdcc455a3770fa54ee635aaeff62ee35e6
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 13:07:21 +02:00
Piotr Fusik 8278d58841 Pass by const reference.
Related-To: NEO-3008

Change-Id: I90e430ccfc049ccb164865e29b6ec3f6f7e98b86
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-09-05 12:35:00 +02:00
Mrozek, Michal 46b3012eb5 Force stateless compilation when device supports shared system memory
Change-Id: I8e11ef82baf010a9a400bc9d733b8ec37a9fbb21
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 12:34:32 +02:00
Pawel Wilma 849ff8c6d1 Add per-DSS back buffer programming
Related-To: NEO-3220

Change-Id: Ide341205a283d8973b5c11f3a953eabbda14262f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-09-05 11:45:44 +02:00
Mrozek, Michal 0cd93d6d7d Disable 64 bit integer atomics on icllp.
Change-Id: If24c40414d10a2bb9ec6e0d5fa3296a873a0a062
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 10:17:14 +02:00
Mrozek, Michal 29613a2b1a Allow to set shared system memory pointers in constant buffers.
Change-Id: Ie2a811c0f50abf667df82517abf2291e00a18460
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 07:36:02 +02:00
Jobczyk, Lukasz b25422deb1 Refactor a createUnifiedMemoryAllocation method
Related-To: NEO-3330

Change-Id: I3703d2474b7b3c91d584c165952d2762c7423bab
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-04 19:45:11 +02:00