Commit Graph

1261 Commits

Author SHA1 Message Date
Kamil Diedrich 2d5d071e66 Extended import device memory functionality
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-10 13:24:56 +02:00
Mateusz Jablonski 33a2f49b21 Correct SKIP_UNIT_TESTS flag handling
store flags for L0 tests in global scope

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-08-10 09:37:09 +02:00
John Falkowski da8ddc5907 Add offset to dispatchBlitMemoryFill
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-08-10 06:32:23 +02:00
Vinod Tipparaju a2012e04dc Add pageFault migration support for immediate cmdlist submission via flushTask.
Move logic for makeResident & pageFault migration to command place for re-use.

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-10 06:21:04 +02:00
Vinod Tipparaju 37670aeb91 Add support for new thread arbitration policies via zeKernelSchedulingHintExp
Related-To: LOCI-2319

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-09 21:07:08 +02:00
Jitendra Sharma c54152bbbc Sysman: Add support to check whether resizable PCI BAR is enabled
Related-To: LOCI-2414

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-08-09 19:37:16 +02:00
Daniel Enriquez 2f0fcf4aee Sysman for Windows: Fix Free memory from get state.
KMD no longer tracks allocation, move to use OS functions.

Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-08-06 23:33:55 +02:00
Szymon Morek cc2d701e9d Enable AllowUnrestrictedSize debug flag on L0
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-06 18:59:08 +02:00
Krystian Chmielewski 8f72a68440 Use proper private mem allocation
Related-To: NEO-6063
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-08-06 13:17:21 +02:00
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