Commit Graph

5314 Commits

Author SHA1 Message Date
7aea294c85 Allow perContext VMs
Related-To: NEO-4637

Change-Id: I599aba9c1c06fd9414cfa14ebb2de3fc504d1cad
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-16 11:20:51 +02:00
43f4be3393 Fix offseted ptr in bliter memory copy
Change-Id: I0446cf019cfb3b171ce84bd428c69a83ffc59d54
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-16 11:10:20 +02:00
4c952047f1 Pass MultiGraphicsAllocation in Buffer 2/n
Related-To: NEO-4672
Change-Id: I8d1e1d57cf36023d09cc930701cefff93a071736
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-16 10:56:43 +02:00
d957349f76 Pass MultiGraphicsAllocation in Buffer 3/3
Related-To: NEO-4672
Change-Id: Ic6b696b1df798fcdadcf17f9e22f1c0999361e47
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-16 10:46:42 +02:00
6224db771a PCI driver fix for Discrete devices
Change-Id: I91e444c88b5e72463c7f181ece535da4150a2665
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-07-15 23:33:59 +02:00
fb7082f0f8 ULT renaming: Kernel Info tests
Related-To: NEO-2236

Change-Id: I19dea5d06d1847cf9d9816112b517cb6974f2cd5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-15 15:37:36 +02:00
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
74d520e893 Add missing header to l0 debugger tests
Change-Id: Iaf2be74945b26036f38e3b677c005c4fc3431256
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-15 11:22:29 +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
8324317f90 infrastructure update
Change-Id: I23db22ddb5cbe56f057daa058e18a955a5d07e4f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-14 21:43:06 +02:00
ce781fe9ce Add Per Client Memory info to GetProcessState
Change-Id: Ifa181bce7701a97a46474f0668f0e6bf9d738ac3
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-07-14 21:07:37 +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
8a9ac830cf Split test_cmdlist into two files
Change-Id: I8f2f50afeea338e3cccd5aee56a8dcf4958f365c
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-14 16:34:34 +02:00
c4ceeb5f78 Update infra.
Related-To: NEO-4378, NEO-3963, NEO-4220

Change-Id: Idb2aef17d9697f26634372477a47d02b9be52637
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-14 15:36:55 +02:00
a7100e65f0 Update internal version
Change-Id: I21d04c816cf982c5db26b8b8cb5f5150a30123b7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-14 14:55:30 +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
5d5a266339 Metric Api: get query report slot fix
Change-Id: Ib654f756159d2fe8eb6381be7debd08e2261e320
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-14 13:48:16 +02:00
edf35e14a3 Disable L0 ULTs when there are no L0 headers
Change-Id: Iaaec1549b3670d81c4becd95dde65bb99d532fe9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-14 13:40:11 +02:00
92b15507b0 Initialize variables and validate pointers before actually using them
Change-Id: Iae6fbeac124e1a02da419f5071e1ebc292b390cf
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-14 11:17:58 +02:00
63721561f3 Revert "Fix offseted ptr in bliter memory copy"
This reverts commit 3afeb00d3a.

Change-Id: I6987eb0663a735043d02103c444cca2e109a62e5
2020-07-14 10:25:10 +02:00
f70882c684 Move tracing files to experimental directories
Remove need for zetInit call for tracing

Change-Id: Icbb75d8f52e2f9107e5308fd0c99415ea1e227f6
Signed-off-by: davidoli <david.olien@intel.com>
2020-07-14 00:31:22 +02:00
def3931d0a Move adjustMiStoreRegMemMode method
Change-Id: I11395374242ac43719208157b6fa324961683f7a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-13 17:51:47 +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
1067596196 Add channelOrder and channelDataType to crossThreadData in L0
Related-To: NEO-4649

Change-Id: If07127424fc03ac410665cd1eb0c0da966b46584
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-07-13 16:59:08 +02:00
3afeb00d3a Fix offseted ptr in bliter memory copy
Change-Id: I90c818a3ead16070beb70c91a05622b1d9d14881
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-13 16:58:26 +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
f3f464801c Refactor Event class to make it thread safe
Change-Id: Iabda4500bc4ab7e91a7af396669d3b74f7336132
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-07-13 15:05:55 +02:00
f5130af641 Allocate command buffers with correct AllocationType
Related-To: NEO-4579

Change-Id: Ic16ab56564c9309532cb181e9a8be1b8c0c1cb31
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-13 14:45:37 +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
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
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
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
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
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
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
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
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
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
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