Commit Graph

643 Commits

Author SHA1 Message Date
bbf50f8d4d Add Device::getParentDevice function
Change-Id: I7b75bca67dceb74624c8dd8fd8c1542437fd9393
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-15 12:38:34 +02:00
c22aa75c2f ULT renaming: Kernel Data tests
Related-To: NEO-2236

Change-Id: I2075d261ccf58f224954c0e2d9c3fdf9e6e28ca1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-15 10:52:00 +02:00
49a7fb4b19 Add flag to emit pipe control prior to walker.
Change-Id: Ief410664b09d758394744ebdf011923556864035
2020-07-15 10:33:20 +02:00
073a40c14c Move reading env vars to DriverImp
- add requirePerContextMemorySpace flag to ExecEnv

Related-To: NEO-4637

Change-Id: I3968bedd9cfd1b1e41e79b63939b7a9bf25e7ff5
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-14 19:51:41 +02:00
74ac02e1f3 Improve logic in addInternalAllocationsToResidencyContainer
Change-Id: I0be0082d2d70623867b691629cac09f5d653fc0d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-14 18:51:55 +02:00
4b6f8b415e Correct HeaderFilterRegex
Related-To: NEO-3963

Change-Id: I85c2076a00fa53df0f46b9227697cc7aa0cf2ba8
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-14 18:46:37 +02:00
38740c7b75 Use blit when patching data segments with Linker
Change-Id: I79e92add07f5bd7a68d4b03cf8069ed9c2cb907f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-14 17:47:14 +02:00
6be8d332f4 Pass MultiGraphicsAllocation in Buffer 1/n
Pass MultiGraphicsAllocation in Buffer instead of GraphicsAllocation

Related-To: NEO-4672
Change-Id: I7fb05ab53f54875f41d90f480e7f930b3b9f2fda
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-14 16:50:39 +02:00
5eb047238f Move profiling methods implementation
Change-Id: I9e11cae2a264c0726770a4a4d6bc71891ce0d270
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-14 14:38:30 +02:00
3c4c7a0215 Drm create context with an implicit virtual memory address space
Related-To: NEO-4821

Change-Id: I18545d976788daacbb195e243f4049b7f83fd3a2
2020-07-14 14:26:49 +02:00
031ee61b5a ULT renaming: Unhandled Token tests
Related-To: NEO-2236

Change-Id: I3aaed094be93e683ae5e361949c05ab623cbbfc6
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-14 14:06:28 +02:00
77dbdf17d1 ULT renaming: Block Kernel Manager tests
Related-To: NEO-2236

Change-Id: Ice2aa7daa4ef3c0b91b3788f570ff8b41eee1f0b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-13 17:36:38 +02:00
eb766be160 Add dg1 unit tests
Change-Id: I9b66f2da665b21ba0a714cec79ae3b1d72ecdb51
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-13 17:23:00 +02:00
2912cebbd4 Update Context::blitMemoryToAllocation function
Change-Id: I5f81cb023b75e82bd3aff8e393f6b9463c767112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-13 15:23:51 +02:00
77f50e5444 Always pass device bitfield to AllocationProperties in constructor
Related-To: NEO-4722

Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-13 09:00:10 +02:00
6b7b3a178f Use HWTEST2_F with TGLLP matcher instead of TGLLPTEST_F in non-TGL ULT files
Change-Id: I98b09d7cd19108b728665caaf6ed479081bc0733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-10 23:30:12 +02:00
a637c82c4e Share USM host pointers among devices
Change-Id: Ibdab580609e6bbb32b370ce6ee0b321df6d63245
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-10 23:06:06 +02:00
1544453f24 Fix dumping allocations when BCS copy is allowed
Change-Id: I0d56e0d2e8007e7dc1686fab0e40502b658c254e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-10 16:53:47 +02:00
ff0add74e3 Add alternative residency model on Linux
Related-To: NEO-4732

Change-Id: I79e165d2b647af200ca314e1183ecf05903de644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-10 12:38:57 +02:00
519e75e3d6 Add DRM capability to create a virtual memory address space on Linux
Related-To: NEO-4821

Change-Id: Iefc17d6c0a3649791b9a9b15791a6d263399873d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-10 12:16:09 +02:00
e61123a8bf fix tag allocation in ULT
This is to avoid UB behavior during ULT execution.

Change-Id: If6b3d07d32cbcb50a8e0bb727fcada4d1ee63672
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-09 18:32:50 +02:00
4d356178eb Use HWTEST_F for some allocation tests
Change-Id: I0060e052740ff0426e14c2efea2310a6f2dc76e7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-09 17:53:19 +02:00
1a1b4b1c26 Extend key to host ptr fragments container
use separated entries per root device

Related-To: NEO-3691

Change-Id: I26b85b8852b23e6a4d290da689174c59343536b3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-09 17:10:54 +02:00
8acb2fdb92 ULT renaming: Profiling tests
Related-To: NEO-2236

Change-Id: Ic7391450d2181bc2b090d0c1343aefdbe78971a7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-09 12:37:57 +02:00
5c5d4b85e2 Pass HwInfo to setExtraAllocationData
Change-Id: Iba5433ca3de5f66ebb5ab4867607ec5fbb1cd464
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-09 12:09:02 +02:00
2485a214e1 Submit Gpgpu context when Bcs copy is required after barrier
Change-Id: Ifa962e8cb07227466f977398658394393d58f65f
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-09 11:00:59 +02:00
97aa485048 Pass device bitfield to flattenBatchBuffer
Related-To: NEO-4722

Change-Id: I8ba971c1335689aefdee3ebe13270aa55e5424e9
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-08 18:32:26 +02:00
af556aa65f Enable cl_khr_il_program on all platforms
Change-Id: Ifb05a7768d3c203dd5f8e32dabcf5f8c5bcac3ad
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-08 17:57:21 +02:00
a8b40de5e8 Remove graphicsAllocation from MemObj
Related-To: NEO-4672
Change-Id: Ie11ba2e30516947f9ca107d53c5b41429dfdace5
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-08 17:18:16 +02:00
3721a4e1a9 ULT renaming: WDDM 2.0 tests
Related-To: NEO-2236

Change-Id: I5a6fbf30bc2b7ca7c7395536c38fc312a55a2a46
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-08 13:59:33 +02:00
e3ccf19b47 Eliminate the usage of non-trivially destructible global objects in API tracing
Change-Id: I13606191053c9d927cfe5fa7c58fc4d63bcd5e6d
2020-07-08 12:18:31 +02:00
913cfcf0a1 Pass device to KernelInfo::createKernalAllocation
Related-To: NEO-4722

Change-Id: Ica85fe3e1ff43a158337ff7049fbc8486f8f39fc
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-08 11:53:08 +02:00
5c0d5635d4 Correct unified memory manager tests
use mockRootDeviceIndex instead of hardcoded zero

Related-To: NEO-4672
Change-Id: I6072ed1419f15f2e157fa8a272fd409df5d2eeb7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-08 11:30:45 +02:00
b79672e3f1 Cmd line option to generate only spirV file
Related-to: NEO-4678
Change-Id: I502aede9f6e0796c1319d9c242a8b9095253cb88
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-07-08 11:16:10 +02:00
ac505449b7 ULT renaming: Execution Environment tests
Related-To: NEO-2236

Change-Id: I07a3085edef94709d85f783ccf81aa59afdf15a9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-08 09:27:25 +02:00
a465d5c753 Dont clear dependencies on enqueue engine switch
Change-Id: Ic6c6f202052c7024c7997de882f0079eead07303
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-07 15:51:00 +02:00
9e813b7851 Fix for broken single SKU builds
Change-Id: Ie3cd04c0fdecdccea8324800d2db812bbdd95488
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-07 13:25:03 +02:00
8569deca70 Add extended drm mock for DG1 platform
Related-To: NEO-4744

Change-Id: Ie3acde075a2a3de4a7f8702f59c835f76c830a2d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-07 09:58:03 +02:00
fea4472553 Allocate per-context memory with specific GPU VA
Related-To: NEO-4829

Change-Id: I821f6709bfa98df3b51a1c966b7a953752d85f74
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-07 09:14:10 +02:00
1f63f39d77 Pass preferred GPU virtual address to mapMultiHandleAllocationWithRetry()
Related-To: NEO-4479

Change-Id: I4591b013e3c9bf459e944c34f3617aaa11a66baf
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-07-07 08:58:58 +02:00
1543fd6103 Read _options.txt in ocloc also for non-standard kernel file extensions
Related-To: NEO-3776

Change-Id: I139cab31cddc1f02ac40e5c06cca0c24a1180cf2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-06 18:23:20 +02:00
7fa7654d47 ULT renaming: Platform tests
Related-To: NEO-2236

Change-Id: I9989ab1e3bf0dd7197d7cd6ad0f8e5c728b8edb8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-06 18:07:48 +02:00
b1062812be Use family type from hwInfo in WDDM
Change-Id: I3120673781b4cc0eb170833ac42eab1aad718d79
2020-07-06 17:53:47 +02:00
85152c5107 Fixed DG1 unit tests for memory info
Related-To: NEO-4744

Change-Id: I3e45d405befb0de0f12003a86bfc8a8cc1f2b4dc
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-06 17:22:39 +02:00
db15e04f5f Add DG1 unit tests for memory info
Related-To: NEO-4744

Change-Id: Ib10719797f52e262ac7f77744f7407890cd23eca
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-06 12:46:58 +02:00
a31db56769 Move isWorkaroundRequired to hw_helper files
Related-To: NEO-4751
Change-Id: Id2c87ee087e767c22adba1242010bb659be6684c
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-06 09:33:07 +02:00
3f64cc0e4d Improve debug flag to force aux translation
Change-Id: Ie17d3dc850de657144c7ba8b9bb7af85d77d4655
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-06 09:11:30 +02:00
383025d1bb Revert "Increase max parameter size"
This reverts commit fdf85aff7a.

Change-Id: I3f35aa3491d42c24cc6f9aef7bed22c8d6c98376
2020-07-06 08:53:29 +02:00
0ca7e5b5ae Fix ocloc -device option
Related-To: NEO-4782

Change-Id: I2e7752a4f9f1bdf4cc1c45549e39139d8e77b89f
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-07-03 11:51:58 +02:00
fdf85aff7a Increase max parameter size
Change-Id: Ia1fc949dfcc1ef2eb7dbea7e55cc2fa1483405a1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-07-02 17:24:31 +02:00