Commit Graph

6037 Commits

Author SHA1 Message Date
bdafc249f4 ULT renaming: Gen8 Device Caps tests
Related-To: NEO-2236

Change-Id: I40b4e80348b75dc974788af38dad5da16ffc5f12
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-19 19:04:46 +02:00
f7dcafc295 Pass ClDeviceVector to Program's ctor
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-19 18:47:11 +02:00
10165ec9eb infrastructure update
Change-Id: I369c64f7bc083cbf4870e7cd102b4495831a427b
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-19 17:29:30 +02:00
7f8b0c5b3f Global l3 invaldate for blitter engine
Related-To: NEO-5175

Change-Id: I88b3c9333398c91a7dd799f5e52cfd9182316960
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-19 16:40:03 +02:00
ca5f34133b Move aub and tbx code to shared
Related-To: NEO-3964

Change-Id: Ice978e582721498d7496f989767ce7d6f5f4caf4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-19 16:04:47 +02:00
ccd5abfbfd Add zesDeviceReset ULTs.
This patch adds two ULTs.

Verify that an IN USE error is returned if the device is open by another
process.

Verify that reset succeeds if device is not in use.

Verify that reset with force succeeds if device is in use.

Verify that reset without force succeeds if device is opened during
reset, and process is killed.

Verify that reset with force fails with device in use
if device is opened during reset, and process will not die

Change-Id: I232572c192bc481d8d63ef39c7494976100325ff
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-10-19 15:01:19 +02:00
8c4f3d3953 Add 4-digit zero alignment of device id in device name
Related-To: NEO-4744

Change-Id: Iedca3cb68c015e70bcebbeb2a45fdc2a8563518d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-19 15:00:32 +02:00
c2c2bc3f82 Reset tag allocators in CSR destructor
Change-Id: I178ece2b5d79c2bd38b8ba5b1c715bd3730b715e
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-19 11:57:25 +02:00
1eefd3743f Optimize ExecuteCommandList.
- reuse vector instead of creating one per every function call.

Change-Id: I584bfbd7757e7b8851ae4970b740adf20659bcb1
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-19 10:49:44 +02:00
beeaae0e26 Add new VADevice class to handle clGetDeviceIDsFromVA_APIMediaAdapterINTEL
Related-To: NEO-5110

Change-Id: I72ec529313579959926a77ee91eb23c7c3bcbdbe
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-19 10:32:56 +02:00
0fd9800cc1 infrastructure update
Change-Id: I41e4d455137e3fa8b0ade03cfd2d5e47dbcd5848
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-19 09:11:13 +02:00
bb4d1e27db igc revision update
Change-Id: I93001744f48bad8c781c87a67b7f99571d0879e4
2020-10-19 04:43:27 +02:00
bc855e4696 Add support for zeContextGetStatus()
Change-Id: Idf6d7bf462d74720f2e21abad7eaecb297388ff4
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
20.42.18209
2020-10-16 22:48:02 +02:00
7c086c9fb4 Use StackVec instead of std::vector in ClDeviceVector
Related-To: NEO-5001
Change-Id: Icab72b5be9f32abf10efd93614768b256aa2ac2c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-16 17:51:40 +02:00
8e44038f9a Revert "Add blitter support for read/write image OpenCL"
This reverts commit cc6d6968dd.

Change-Id: I2696f05c5d1e3959f60239ca49483b00ad1b36ec
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-10-16 15:59:58 +02:00
3e762b25c0 Split buffer object validation and early pinning
Change-Id: If1b136807dc8593179ce743c8e0187ee80c3e95f
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 14:13:33 +02:00
6b0e12ed94 Return error code from BufferObject::bind
Change-Id: I12df63a651c8b0aa0a0b296ae0c8732ddf789a98
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 13:05:52 +02:00
574cd634b9 Refactor bo pinning
Change-Id: I451fa5225096829ea7131d159eb59f906817b2cd
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 12:55:57 +02:00
d27374b468 Move aub related files to aub directory
Additionally remove dependencies on opencl code from aub and tbx code.

Related-To: NEO-3964

Change-Id: Ie81b7d274e2f22b6090df0e07c45123618af5cae
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 12:05:58 +02:00
cc6d6968dd Add blitter support for read/write image OpenCL
Change-Id: I5d8bf0590899751f1f562fd55e44b0ed36ca6110
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-16 11:59:03 +02:00
4623cb3f85 Create module debug area allocation
Related-To: NEO-4550

Change-Id: I1aa151134cb51a7d4f578de3b08cdd51aefc58f2
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-16 11:21:39 +02:00
60bfcbd69f Move populateFactoryTable() to shared
Related-To: NEO-3964

Change-Id: I9da0395265dc164deda219d5390dd9540e04f9aa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 11:07:38 +02:00
34176a8ea9 Correct formatting
Change-Id: I592986cb67099136a75d12ad3bc9729c7f85738b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 10:46:26 +02:00
b414981a2e Link shared helpers tests to shared_tests
Change-Id: I8cf62bb993dbe802fff153654fddb03c5bdb6fc9
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-16 10:41:38 +02:00
1bf270a804 Metric Api: Use 32-bit streamer marker value
Change-Id: I8488a93aa3e27828cef9da090e41e6384270cc99
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-10-16 09:15:54 +02:00
babbb1224f Minor cleanup in buffer ULTs
Change-Id: I5004cbcb7b001a878de96449457bf43db1b23164
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-16 09:15:04 +02:00
bf3d57dd05 Revert "Enable cl_khr_subgroup_extensions"
This reverts commit 5826d3e105.

Change-Id: I3ab7d3ef01edc2d7a15a79bd01a438e863219026
2020-10-16 08:01:45 +02:00
6614698997 Add multi-device support to events
Change-Id: I544d2409fa5ad7c2b64f7bfd081469e80d4f9c73
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-15 12:54:51 -07:00
51c25adc85 fix single-sku builds
Change-Id: Ib1aef5f27148203b808ffb698878c89a410193c4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-15 19:45:56 +02:00
f38beaf31c Remove injecting MMIO from AubCenter's dtor
Related-To: NEO-5147
Change-Id: I338b553ab22a92d799cba3d5414475130c5c50a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 19:44:53 +02:00
067ae67954 Introduce FRONT_WINDOW heaps inside INTERNAL heaps
Related-To: NEO-4550

Change-Id: I1979afb20881bcad7999af3ac5fd4f407b85ccc7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-15 17:18:31 +02:00
97154f7f98 Use ProgramInfo instead of Program in sip kernel
Related-To: NEO-5001
Change-Id: I58eda3ecc52fe1215ea8bbc35f97eea3a9d848e0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 16:41:18 +02:00
dd5c5ed723 infrastructure update
Change-Id: Ie3b37da86917abfc52933bab238bc7105c4b37ec
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-15 14:26:04 +02:00
2d781e5934 Add missing USM host allocation flag
Change-Id: I5658d5574fd522cff072adcc679f04805daabf12
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-15 12:12:55 +02:00
fd492f28b0 Correct useSystemMemoryPlacementForISA
Related-To: NEO-5156
Change-Id: Iee6df3e06eea5707b3b6cb45ac50e9880ee4dfb4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 10:22:30 +02:00
21988a81e1 Enhance debug flag for post blit commands
Change-Id: Ia5dccd083d84ab1b7a1e772f7fd1d5344aa3c6b1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-15 09:46:22 +02:00
971969ba15 Link shared mocks to shared tests
Change-Id: Id3bd943e8f0a430cd672b08a5f088027005e36a6
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-14 18:39:58 +02:00
3ac197e400 Create graphicsAllocation for all devices in buffer
Related-To: NEO-4589
Change-Id: Ic9625eb3c9c359fd4cc5afe3519e7acf4efb0081
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-14 16:05:53 +02:00
43b47b48bf ULT renaming: Gen-specific Sampler tests
Related-To: NEO-2236

Change-Id: Ieea95a0b59c07f1df06b0aec385d7a244325fc52
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-14 13:58:23 +02:00
39f4d9afc4 ULT renaming: Gen-specific Image tests
Related-To: NEO-2236

Change-Id: Icb16d4624fa0aaaca74370ac9498201f6a5325e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-14 12:47:55 +02:00
f825364770 Unprotect memory after migration to CPU
Change-Id: I280296422ec30583752a0b62c7c1c8777aa84c32
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-14 11:14:32 +02:00
e34ba2a233 Create internal BOs with mmap by default
Change-Id: I34f79ae2e44cf087c3fe4ec6ab673e04db04e65e
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-14 10:37:36 +02:00
675f7b380f Fix for broken single sku build
Change-Id: I658bb0943d5ddc5229b8b25c4ae7fba2c867d25f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-14 10:25:19 +02:00
53a99f6772 Fixed 2D/3D copy to use aligned pointers and offsets in kernel programming
- Fixed the 2d/3d copy to correctly pass the aligned allocation data to
the kernel programming of the buffer surface states otherwise unaligned
host ptrs cannot be used.

Change-Id: If62e9321d572a786999a5ead8303f11e2e9a3c8d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-10-14 17:53:40 +00:00
cbeec68c5f infrastructure update
Change-Id: I7c4f5a5bd507a5396a6ac37bdc49af92e0ee3482
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-10-13 16:54:24 +02:00
d7df1ee5dd Rename createAllocWithAlignment parameter
Change-Id: If1b43f3fada0f85323d67ff6b43a6165d5b578ca
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-13 15:47:58 +02:00
ec586d1619 Update internal
Change-Id: I8838b8f33bfb1cdab0f2e515f3e2bb945407162c
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-13 15:26:35 +02:00
4b9abafffe ULT renaming: HW Helper tests
Related-To: NEO-2236

Change-Id: Ic1c3fa762d88b5c49903c02daa7a693d032cc780
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-13 15:12:47 +02:00
8892ee3f1f Align mmaped bo address properly
Change-Id: I010f6619821ad715bb6f0e9640be19943a45abd8
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-13 14:11:08 +02:00
eb8f5fa301 Get CL Device Name with device ID appended at the end
Related-To: NEO-4744

Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-13 14:00:33 +02:00