Commit Graph

315 Commits

Author SHA1 Message Date
7979dcb757 Improve PrintDeviceAndEngineIdOnSubmission flag
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-24 20:14:27 +02:00
96d14967ac Partial support for XE_HP_SDV
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-24 18:35:54 +02:00
9e6f84e01d Add debug flag to override notify enable parameter
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-22 18:34:59 +02:00
991fd3b358 Add flags parameter to user fence wait function
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-22 15:43:02 +02:00
3c1288de09 Add mmap and munmap to SysCalls
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-06-18 15:44:56 +02:00
f98b46e2cc Correct usage of user fence wait call
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-18 12:15:02 +02:00
0e5ca243e2 Add notify enable parameter to post sync commands
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-17 19:22:51 +02:00
2ecab0fdc7 Evict unused allocations when exec fails
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-17 16:38:25 +02:00
8a037399d1 Immediate binding flag in BufferObject
Related-To: NEO-5985

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-06-17 14:16:13 +02:00
ad18099ed8 Enable KMD fallback for User Fence wait call
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-17 12:12:43 +02:00
ddf75b8d23 Add IPC events support (2/N)
Fix shared allocation on multi DG1 systems

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-06-09 20:55:34 +02:00
13632ebbc9 Fix gpu address alignment for SVM CPU allocations
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-09 10:31:25 +02:00
d14c7e4ffb Add new DRM wait function
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-08 12:29:22 +02:00
5e29dccddc Add IPC events support
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-06-08 08:11:15 +02:00
b80a51e5bf Adding wsl_compute_helper
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-06-07 14:36:21 +02:00
2829226937 Improve query PCI info
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-01 19:26:22 +02:00
9e677da83e Add pread SysCall
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-06-01 19:04:24 +02:00
b3283a4490 When initializing gtSystemInfo initialize DualSubSliceCount
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-01 14:52:19 +02:00
13b2c326fe Add AlignmentSelector helper
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-01 11:44:04 +02:00
3b4ec5b3fa Refactor of global factories
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-28 19:09:24 +02:00
7fdab76d96 Code cleanup - constexpr for bitness ults
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-05-26 13:23:25 +02:00
9dbffa8d93 Refactoring createMemoryManager
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-25 16:58:21 +02:00
bc92cbf9e7 Refactoring hwinfoconfig
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-25 09:02:07 +02:00
67aa1ad7ec Refactoring HwDeviceId
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-24 21:38:20 +02:00
b33473eedd ULT renaming: DRM tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-05-24 15:52:45 +02:00
d7f38ca8e5 Remove unneeded asserts
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-24 15:10:18 +02:00
33e8f73775 Enable custom allocation alignments on Linux
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-24 12:56:51 +02:00
0e9aa45e46 Improving OS abstraction
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-23 21:40:37 +02:00
7c06f6adc2 OsTime refactor
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-20 23:36:13 +02:00
529020c72c Disable low priority BCS direct submission
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-19 12:06:29 +02:00
a5d38170ad Move some shared tests to shared
Tests that are not specific to openCL or level zero

Related-To: NEO-5161

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-18 13:51:18 +02:00
754fb1fffc ULT renaming: Linux Interface tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-05-18 13:22:27 +02:00
4407bf9c49 Set correct MaxSlicesSupported in gtSystemInfo
- calculate maxSubsliceCount in translateTopologyInfo
based on enabled bits

Related-To: LOCI-2080

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-18 01:50:57 +02:00
21d93a33d2 Do not set Max values from topology in Drm::setupHardwareInfo
- max values set in device->setupHardwareInfo and
HwInfoConfig::configureHwInfo

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-17 21:15:45 +02:00
3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
a2a3daeb50 Introduce DrmMemoryManager::createMultiHostAllocation() method
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-05-14 16:01:19 +02:00
544890c066 Change default placement of preemption allocation
Related-To: NEO-5800

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-11 15:26:24 +02:00
8e1e213bcf Disable GEM_WAIT when new residency model available
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-10 14:59:21 +02:00
6a43b6b609 Preserve MaxEuPerSubSlice in configureHwInfo
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-30 17:00:17 +02:00
27c28d275e Fix storing VmIds in OsContextLinux
Related-To: NEO-5801

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-29 17:52:32 +02:00
2d07d6a3d7 Refactor Drm::queryTopology() to take struct
- set max values in SystemInfo based on topology

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-28 12:19:34 +02:00
2d1ef04100 Allow aligning allocations VA to 2MBt pu
Currently under a debug flag

Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-26 11:00:49 +02:00
6bb76c82e3 Revert "Refactor Drm::queryTopology() to take struct"
This reverts commit f83b51e628.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-26 00:56:06 +02:00
1823054e08 Linux: pass adapter BDF to GmmLib
Resolves: NEO-5785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-23 18:45:50 +02:00
f83b51e628 Refactor Drm::queryTopology() to take struct
Related-To: NEO-5640

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-23 13:34:44 +02:00
495841812f Free allocations in 2MB heaps
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-23 09:07:37 +02:00
62d52ba2e9 Fix DG1 tests fail
Related-To: NEO-5679

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-04-21 18:47:22 +02:00
9a22d06efe Store default engine index per root device
Resolves: NEO-5768
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 14:55:13 +02:00
e653699267 Disable monitor fence in Drm ULLS by default
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-20 13:10:22 +02:00
8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +02:00