Commit Graph

1252 Commits

Author SHA1 Message Date
Aravind Gopalakrishnan
fa2ddedf42 Add implementation for zeEventQueryTimestampExp
Related-To: LOCI-2318

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-08-06 11:43:25 +02:00
Robert Krzemien
7a0b3f4c03 Metric Api: Metric enumeration for all sub devices.
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>

Related-To: LOCI-2422
2021-08-05 05:11:57 +02:00
Filip Hazubski
b7bdb3b9ce Correct initialization of command queue group flags
Related-To: NEO-4940, NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-05 04:59:44 +02:00
Brandon Yates
1980edd05b Add ze_init_flag_t check to zeInit()
Return an error and don't init if flag is non-zero and GPU_ONLY flag is not set

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-08-05 00:31:22 +02:00
Jaime Arteaga
ec18046f24 Remove peer allocation from device map when freeing original allocation
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-04 22:42:50 +02:00
Bartosz Dunajski
470c49b24f Update TSP tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 21:38:26 +02:00
Filip Hazubski
caf1ab628a Do not allow mixing cooperative and non-cooperative kernels in an execute
When executing command lists, ensure that all lists contain either cooperative
or non-cooperative kernels. When appending kernels to a command list, do not
allow mixing cooperative and non-cooperative kernels.

Related-To: NEO-4940, NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 20:24:33 +02:00
Jaime Arteaga
79a2607c63 Add method to increase stream size when appending new commands
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-03 17:09:26 +02:00
Zbigniew Zdanowicz
7b52f587da Disable timeout for inifinite synchronization time
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 16:34:07 +02:00
Milczarek, Slawomir
e5237c2368 Enable stateless compression on xehp
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-03 16:01:44 +02:00
Filip Hazubski
2dd0e67e65 Disable overdispatch by default
When disable overdispatch is available:
- change default value of CFE_STATE::ComputeOverdispatchDisable to true.
- change default value of
INTERFACE_DESCRIPTOR_DATA::ThreadGroupDispatchSize to 3u.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 15:28:53 +02:00
Michal Mrozek
d3fd5077e7 Do not allocate surface if not needed.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-08-03 12:43:12 +02:00
Zbigniew Zdanowicz
b454bcbfe7 Make KMD wait function non default and available under debug key
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 11:24:43 +02:00
Bartosz Dunajski
e880cf2ad6 Add xe_hp_sdv unit test target + minor test fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 11:12:57 +02:00
Kamil Diedrich
2afb785bba Add AIL functionality
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-02 15:31:58 +02:00
Milczarek, Slawomir
eb14d8458b Add helper function to enable stateless compression
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Compute-Runtime-Validation
1f4a835314 Revert "Add xe_hp_sdv unit test target + minor test fixes"
This reverts commit 6f75d67406.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-02 13:48:10 +02:00
Bartosz Dunajski
0ecc7b26b4 Revert "Use UINT64_MAX for infinite event timeout"
This reverts commit 147d9b592a810bf80a192833724a79596ec095b9.

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-02 12:54:46 +02:00
Mateusz Hoppe
51967a4f67 Refactor DebugSession
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-08-02 09:19:02 +02:00
Andrzej Janik
e11e00763a Use UINT64_MAX for infinite event timeout
Signed-off-by: Andrzej Janik <andrzej.janik@intel.com>
2021-07-30 22:30:19 +02:00
Jitendra Sharma
fdc71ea26e Sysman: Fix format specifier mismatch warning in PCI API
Related-To: LOCI-2445
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-07-30 22:27:21 +02:00
Kamil Kopryk
4533595274 Rename constructPropertiesForCopyBuffer to constructPropertiesForCopy
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-30 11:31:56 +02:00
Bartosz Dunajski
6f75d67406 Add xe_hp_sdv unit test target + minor test fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-30 10:23:08 +02:00
Mateusz Hoppe
549b458e2f Add UNRECOVERABLE_IF when bufferAllocation is nullptr
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-30 09:59:36 +02:00
Jaime Arteaga
b057935c7c Associate shared-allocations with device in multi-device systems
When a shared-allocation is created in a multi-device system and
no device is passed during the call, then the allocation needs to be
associated with all the devices. For now, that means we default to
creating the shared-allocation in the host, with no device-backing
memory, so all devices can access it.

However, if a device is passed, then the shared-allocation is
expected to be accessed only by that device, and there is no need
to allocate it solely in the host.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-29 20:28:27 +02:00
davidoli
6024ac536a MultiDevice ActivateMetricGroups enabled
Related-To: LOCI-2398
Signed-off-by: davidoli <david.olien@intel.com>
2021-07-29 17:35:21 +02:00
Mayank Raghuwanshi
0f2754e943 Add support for hwmon interface for sysman power
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-07-29 14:53:29 +02:00
Joshua Santosh Ranjan
229ab9e30c Add tests for sysman schedulder
Adding unit tests for scheduler module


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2021-07-29 14:53:15 +02:00
Mateusz Hoppe
89144e494d Add DebugSession helper methods
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-29 13:21:23 +02:00
Jaime Arteaga
c961301ac7 Add cache flush to appendBarrier
Related-To: LOCI-2436

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-28 09:35:02 +02:00
Jaroslaw Chodor
7c6c45f5b5 Add option to allocate private mem per dispatch
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-07-27 13:34:12 +02:00
Bartosz Dunajski
cf4972d90e Update abbreviation string.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-27 11:49:32 +02:00
Jitendra Sharma
478edfc0e4 Sysman: Add support to check if resizable Bar supported
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-07-27 08:13:08 +02:00
Mateusz Hoppe
c96c1b045a Pass info about system routine in module debug area
Resolves: NEO-6097

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-27 08:08:39 +02:00
Compute-Runtime-Validation
1d1a8473aa Revert "Add support for ze_kernel_preferred_group_size_properties_t"
This reverts commit aa98c9211d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-07-27 05:07:23 +02:00
Jaime Arteaga
aa98c9211d Add support for ze_kernel_preferred_group_size_properties_t
Related-To: LOCI-2313

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-26 20:31:38 +02:00
Kamil Kopryk
aed1da7495 Code cleanup - avoid copy 3/n
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-07-26 12:25:38 +02:00
Mateusz Hoppe
ad5735c60b Add EuThread class
- add thread map to RootDebugSession


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-26 10:29:46 +02:00
Bartosz Dunajski
9f5b3efa73 L0: Add xe_hp_core unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-23 17:57:10 +02:00
Mateusz Hoppe
738e62a9ef Change tested devices scope of preamble tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-23 17:23:48 +02:00
Mateusz Hoppe
c4950eb892 Method to get attention bitmask from threads vector
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-23 15:22:22 +02:00
Mateusz Hoppe
b37d46dd3d Remove not needed virtual keyword
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-23 12:20:20 +02:00
Szymon Morek
1a7c9e63fa Add method to set force non coherent
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-23 11:18:04 +02:00
Zbigniew Zdanowicz
1b4ceb3d11 Use KMD wait function for infinite timeout synchronization
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-22 19:35:36 +02:00
Vilvaraj, T J Vivek
c2ab7fcf70 add memType and Memory channel support to systemInfo
use the updated systemInfo to acquire Memory Type.


Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-07-22 18:38:39 +02:00
Bartosz Dunajski
31250b343f TSP: Move packetsUsed member out of GraphicsAllocation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-22 17:04:40 +02:00
Vinod Tipparaju
823dee432a Optimize UMD to skip PIPE_CONTROL command having DCFlush
Related-To: NEO-5927

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-07-22 16:52:00 +02:00
bradocaj
2715f03ee2 Tuning of unit test granulatity.
Signed-off-by: bradocaj <branislav.radocaj@intel.com>
2021-07-22 15:59:15 +02:00
Jaime Arteaga
4c4823f55e Add PIPE_CONTROL prior to kernel in L0
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-22 10:51:11 +02:00
Jaime Arteaga
803d7cdd8a Add debug key to print UMD shared migrations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-22 08:37:09 +02:00