Commit Graph

5278 Commits

Author SHA1 Message Date
Andrzej Swierczynski
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
Jitendra Sharma
146fc900c3 Add initial sysman stub as per latest spec
Change-Id: I6f36b9faa21e05a6954de0b50ea01240539441d1
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-11 06:54:08 +05:30
Mateusz Jablonski
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
Jaime Arteaga
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
Bill Jordan
e8bd440773 Don't allow copy or moving Sysman related objects.
Change-Id: I70dd97bffa1c4d08f05eb796c6d6a2eb66f06f4b
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-10 21:05:15 +02:00
Bartosz Dunajski
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
Lukasz Jobczyk
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
Slawomir Milczarek
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
Jaime Arteaga
4e1d96f7c3 Modify creation of queues per ordinals in level-zero
In a multi-subDevice device:
- If creating the queue with the parent device handle:
  - Use subDevice0 engines.
- If creating the queue with one of the subDevice handles:
  - Use that subDevice engines

In a device without subDevices:
- No changes. All engines of device are used.

Change-Id: I11cf08cbab08d168deb135111f884c0c023ba384
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-10 02:04:45 -07:00
Artur Harasimiuk
5079f262c2 infrastructure update
Related-To: NEO-4057
Related-To: NEO-4474
Change-Id: Ibd51e7eebbe474d235236eabb3d97692dcbcee9e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-09 20:59:15 +02:00
Artur Harasimiuk
d20a19658d fix for UninitializedObject reported by clang-tidy
fixes: 2 uninitialized fields at the end of the constructor call
[clang-analyzer-optin.cplusplus.UninitializedObject]

Change-Id: I3332ad70fa661513c3e67f263ef3cbf20ec26485
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-09 19:56:02 +02:00
Pawel Cieslak
54518f253d Update infra
Related-To: NEO-4377

Change-Id: Ic1c08dbc23130ab63746eb25e88d025207ec730f
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-09 18:46:02 +02:00
Artur Harasimiuk
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
Spruit, Neil R
2ae0260c7d Fix Image Copy with null region to handle invalid height/depth in descriptor
Change-Id: Ida41570c1ee12f68f5630bacb357447b6d4dd171
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-07-09 18:32:04 +02:00
Bartosz Dunajski
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
Mateusz Jablonski
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
Igor Venevtsev
c3a1880492 Do not allocate PRIVATE_SURFACE large than 4GB
Related-To: NEO-4479

Change-Id: I97ffa25e9af94e0125e1eaaebeddfdac49205241
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-07-09 13:09:49 +02:00
Adam Cetnerowski
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
Bartosz Dunajski
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
Bartosz Dunajski
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
ocldev
58735c7359 igc revision update
Change-Id: I4de64943d83136ed9b8b752701d00acd45d43861
2020-07-08 21:50:48 +02:00
Adam Cetnerowski
a0a241481e ULT renaming: Preemption tests
Related-To: NEO-2236

Change-Id: I593961394a78edab76b64f213fcec61db27dcd48
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-08 20:31:41 +02:00
Zbigniew Zdanowicz
bac5506b62 Modify function dispatching cross and per-thread data
Related-To: NEO-4585

Change-Id: Ia6b54b8d0c868cab5403332411655dc8c9ef4c8d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-07-08 19:30:23 +02:00
Andrzej Swierczynski
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
Adam Cetnerowski
b2719c447b Update disclaimers for debug variables in release builds
Change-Id: Ibade15f84da25c5d4a0c7a300d0a78be0dbd06ad
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-08 18:14:43 +02:00
Adam Cetnerowski
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
Krzysztof Gibala
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
Jaime Arteaga
823586b6fb Correct address in setBufferSurfaceState
Change-Id: I17c6766f63aa2cde526db297b8334428a29ec85f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-08 16:39:40 +02:00
Adam Cetnerowski
3721a4e1a9 ULT renaming: WDDM 2.0 tests
Related-To: NEO-2236

Change-Id: I5a6fbf30bc2b7ca7c7395536c38fc312a55a2a46
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
20.28.17293
2020-07-08 13:59:33 +02:00
Lukasz Jobczyk
5739d526c4 Broadcast signal to all threads while handling USM pagefault
Related-To: NEO-4721

Change-Id: I77185f8db2576f626c1b6b5615ab5d8f9b22076f
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-08 12:54:01 +02:00
Anton V Gorshkov
e3ccf19b47 Eliminate the usage of non-trivially destructible global objects in API tracing
Change-Id: I13606191053c9d927cfe5fa7c58fc4d63bcd5e6d
2020-07-08 12:18:31 +02:00
Mateusz Hoppe
b3249c244b Make MemoryManager methods pure virtual
Related-To: NEO-4829

Change-Id: I97d0ef07bd26dac9869e61b5ff22064ea08596a8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-08 12:00:09 +02:00
Andrzej Swierczynski
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
Mateusz Jablonski
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
Daria Hinz
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
Adam Cetnerowski
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
mraghuwa
357fef0ff0 Refactor file access in sysman
Change-Id: I9603c96658430064a1d68b901586171c8ba52803
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-07-08 08:32:02 +02:00
Vilvaraj, T J Vivek
3c50e1ede6 fix unintialized class member in Ctor.
Change-Id: Idc3e8a2ddccaf9c94639a3f499824e86de830fd4
2020-07-07 21:48:18 +02:00
Bill Jordan
c7d584b8ec Added boilerplate implementation of Sysman FabricPort
Change-Id: Icb8db2b1bac7858fd07470506c17f5cc38f34581
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-07 13:42:02 -04:00
Bartosz Dunajski
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
Pawel Cieslak
e88be8ba57 Update infra
Change-Id: Ia3c24d7b6947dd9a8cef6f6ca7c4b0255124c5a5
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-07 14:40:28 +02:00
Pawel Wilma
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
Maciej Plewka
04ff7218e3 Use one blit command for copy region
Change-Id: I8a335b3ec58bf4b767d93435691acb036b5b2ce7
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-07 12:22:40 +02:00
Slawomir Milczarek
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
Mateusz Hoppe
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
Igor Venevtsev
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
Pawel Wilma
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
Adam Cetnerowski
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
Maciej Dziuban
b1062812be Use family type from hwInfo in WDDM
Change-Id: I3120673781b4cc0eb170833ac42eab1aad718d79
2020-07-06 17:53:47 +02:00
Slawomir Milczarek
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