Commit Graph

801 Commits

Author SHA1 Message Date
Lukasz Jobczyk 99972e2a98 Add ZE_HOST_MEM_ALLOC_FLAG_BIAS_UNCACHED implementation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-25 14:39:20 +02:00
Bartosz Dunajski 1f2aa82c5b Remove UNUSED_VARIABLE macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 18:56:33 +02:00
Zbigniew Zdanowicz 8fe2b269f0 Correct cross library dependencies
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-22 18:30:35 +02:00
Bartosz Dunajski d34ef3170a Remove CPP_ATTRIBUTE_FALLTHROUGH macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 17:27:57 +02:00
Filip Hazubski 28b37aea72 Correct handling unique_ptr in functions
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Zbigniew Zdanowicz f305e38b32 Refactor creation of buffer surface state 4/n
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-21 17:46:47 +02:00
Zbigniew Zdanowicz e80ec1df9c Refactor creation of buffer surface state 3/n
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-21 16:57:21 +02:00
Zbigniew Zdanowicz a7747fece5 Refactor creation of buffer surface state 2/n
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-21 16:09:54 +02:00
Zbigniew Zdanowicz 9d56939980 Refactor creation of buffer surface state 1/n
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-21 13:11:31 +02:00
Raiyan Latif f5210ed89f Account for offset pointer in P2P memory copies
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2021-10-21 03:09:31 +02:00
Kamil Diedrich 465bec3d76 Add NTHandle sharing
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-10-19 14:17:25 +02:00
Krzysztof Gibala ca0138da2e Disable PC WA on specific engine type
Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-18 14:04:27 +02:00
Mateusz Jablonski f5c20b924c Revert "Dont look for builtin with default revision"
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-18 13:06:16 +02:00
Mateusz Jablonski 439b8c51d9 Dont look for builtin with default revision
when revision doesnt match revision in registered resources
then use source or intermediate resource


Resolves: NEO-6170
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-15 13:55:40 +02:00
Igor Venevtsev 4286b3a55c Reserve precise amount of memory for debug surface
Resolves: LOCI-2209

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-10-15 12:19:51 +02:00
Bartosz Dunajski 7fa3d0e8f6 Improve L0 Device creation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-15 10:18:40 +02:00
Mateusz Jablonski 0d74ab8ae8 Correct allocating event pool in device memory
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-13 17:36:46 +02:00
Jaime Arteaga e0a093b87a Make IPC events available for P2P operations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-13 17:20:35 +02:00
Bartosz Dunajski 8605f06435 Fix L0 SubDevice creation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-13 16:55:17 +02:00
Maciej Plewka 38eab0e70f Return correct status when module is not fully linked
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-10-13 16:18:42 +02:00
Aravind Gopalakrishnan 0e5a55d947 Reprogram mmio to constant value after use
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-10-13 12:23:47 +02:00
Mateusz Hoppe 10e4b54986 Copy ISA before making it resident
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-10-12 21:51:06 +02:00
Mateusz Jablonski bf25853799 Move some mocks to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 21:46:53 +02:00
Milczarek, Slawomir 5aeae0cf99 Add mem advise control flags to drm alocation
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-10-12 11:39:06 +02:00
Raiyan Latif 0859f99d64 Enable zeDeviceCanAccessPeer
- Propagate return value up from Batch Buffer exec
- Add zeDeviceCanAccessPeer functionality

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2021-10-12 09:38:22 +02:00
Milczarek, Slawomir afa45bd9e7 Add support for mem advise to set cache policy in buffer object
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-10-07 22:16:58 +02:00
Dominik Dabek 59a1adc41b Poll csr completion at CmdQueue
Related-To: NEO-6090

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-10-07 14:25:28 +02:00
Aravind Gopalakrishnan 37ec3cb74e Events workaround for L3Flush issue
Related-To: LOCI-2361

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-10-07 03:49:10 +02:00
Zbigniew Zdanowicz 279181a384 Remove not needed include header
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-06 21:32:40 +02:00
Mateusz Jablonski 5d2d81b2d1 Use uint64_t instead of void * in indirect dispatch programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-06 18:37:36 +02:00
Maciej Plewka 3016ed1c39 Make clearComputeModePropertiesIfNeeded method virtual
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-10-06 11:19:44 +02:00
Jaime Arteaga 62de443660 Add copy engine support for USM shared migration
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-06 10:43:31 +02:00
Jitendra Sharma cfad41f28a Introduce new interface for reinitializing level zero device
This change introduce
- new method deviceReinit, which could be used, to reinitialize
existing level zero device.

Related-To: LOCI-2612

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-10-06 07:16:33 +02:00
Robert Krzemien b5e0d32fe1 Metric Api: Fix activation for sub devices
Resolves: LOCI-2611
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2021-10-05 18:39:22 +02:00
Spruit, Neil R 12ab2961b1 L0 support for SPIRv static module linking
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-10-05 07:09:53 +02:00
Zbigniew Zdanowicz 96fef37834 Move shared local work size code to shared directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-04 14:04:28 +02:00
Jaime Arteaga 560c951b8c Increase size of command buffer for copy blit operations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-04 10:28:27 +02:00
Jaime Arteaga 11980db8eb Create L0 list and module with correct NEO device on explicit mode
When implicit scaling is not used, a root device in L0 defaults to
sub-device 0. In that case, all allocations need to be made against
that sub-device.

For list and module creation, we were passing the root NEO device
instead, and we were allocating their internal allocations using
the least-occupied bank, which meant we were allocating alternately
between the two sub-devices.

This patch makes sure the NEO device used on explicit mode for
the root device is sub-device 0.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-01 00:43:53 +02:00
Zbigniew Zdanowicz 25c71a6c13 Move kernel info to shared directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-29 23:49:49 +02:00
Joshua Santosh Ranjan 4848c67edd Program CommandList for Metric Query
Add commands to the command list for multi-device execution of Metric Queries


Related-To: LOCI-2570

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2021-09-29 22:15:09 +02:00
Bartosz Dunajski 4ba4c32766 Remove SBA->IOH programming on XE_HP_SDV
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-29 12:35:43 +02:00
Bartosz Dunajski 7f3b90b07f Enable Engine Instanced SubDevices
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-29 12:01:34 +02:00
Compute-Runtime-Validation 33f88884bd Revert "Add copy engine support for USM shared migration"
This reverts commit 91e9587a07.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-09-28 19:48:14 +02:00
Jaime Arteaga 91e9587a07 Add copy engine support for USM shared migration
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-09-28 15:30:59 +02:00
Compute-Runtime-Validation e7a7a61b4e Revert "L0 support for SPIRv static module linking"
This reverts commit 479035c839.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-09-24 05:47:50 +02:00
Zbigniew Zdanowicz e295e74c0a Add preemption flags creation to shared code
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 15:20:13 +02:00
Zbigniew Zdanowicz 3b35ba504f Adapt command stream receiver to multiple active partitions
Related-To: NEO-6244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 14:32:20 +02:00
Mateusz Jablonski 34ad95ae12 Handle printf output when implicit args are required
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 13:49:40 +02:00
John Falkowski a59ededd00 update num_sublices based upon implicit scaling
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-09-23 04:31:28 +02:00
Mateusz Jablonski f8867e0b97 Move generic command stream receiver files to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-22 23:55:31 +02:00