Commit Graph

767 Commits

Author SHA1 Message Date
Daniel Enriquez
3aff89199d L0 Sysman Windows DG2 Readyness Patch.
Implemented Fan Curve, Moved to OAG Counters, Fixed Frequency Range.
2021-01-30 05:59:27 +01:00
Daria Hinz
c55886e9ff Disable adding an event for each split kernel
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-01-29 15:14:54 +01:00
Bartosz Dunajski
c2e333fe38 Update compression encoding interface + test traits
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-29 13:57:15 +01:00
Lukasz Jobczyk
8ed14d0c9f Use ZE_AFFINITY_MASK for neo devices
Resolves: NEO-5438

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-01-29 11:13:29 +01:00
Vinod Tipparaju
7e9461ffa0 Fix to optimize PC dispatched during appendMemoryCopy() call.
Eliminate reduandant PC in case event signal scope is either device or host.
The optimization is applicable to timestamp events as well.

Related-To: LOCI-1995

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-01-29 01:26:40 +01:00
Aravind Gopalakrishnan
8f36ca5736 Flip order of instructions in appendWaitOnEvents
It might be beneficial to flush the caches in parallel with
the wait instruction

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-01-29 01:26:24 +01:00
Mateusz Hoppe
aa79af46ac Fix state sip programming
- STATE_SIP should be added once for MidThread preemption
or when debugger is used for non internal cmdQs

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-28 16:59:35 +01:00
Igor Venevtsev
bb72beac6b Add extra parameters to programStateBaseAddress()
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-01-28 16:03:17 +01:00
Aravind Gopalakrishnan
72e002a3ca Optimize appendBarrier to remove any redundant Pipe Controls
If we know a signal event is provided, we can remove need to use
a separate pipe control for a barrier action.

Related-To: LOCI-1954

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-01-27 07:27:41 +01:00
Mateusz Hoppe
344c207e4d Fix arg type in zello_world_jitc_ocloc test
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-26 16:33:07 +01:00
Matias Cabral
fa80f60ab5 Update metrics libraries file name
Add major number version to the metric library name

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2021-01-26 14:48:45 +01:00
Adam Cetnerowski
3574858c6c ULT renaming: Sysman Manager tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-26 14:48:24 +01:00
Adam Cetnerowski
b567da4819 ULT renaming: XML Parser tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-26 13:10:50 +01:00
Adam Cetnerowski
a742791f0e ULT renaming: PCI tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-26 10:35:56 +01:00
Adam Cetnerowski
992e69592b ULT renaming: Sysman Memory tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-26 08:10:40 +01:00
Adam Cetnerowski
147dc0fbc8 ULT renaming: Global Operations
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-25 01:51:39 +01:00
Vilvaraj, T J Vivek
b41a8d29dd Sysman: add firmware flash API (#1368)
* Sysman: add firmware flash API

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* Sysman: fixed windows implementation of firmware flash API.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* add unit tests to test flashing.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* sysman: add firmware flashing support to zello sysman

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>

* sysman: added progress update function to firmware flash API

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-01-22 19:55:40 +01:00
Mateusz Hoppe
5cd071f7d2 BlackBox tests - respect options in compileToSpirV
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-22 14:56:55 +01:00
Young Jin Yoon
4168ee8120 Print output from Kernel dtor to avoid segfault
Related-to: LOCI-1912
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-01-21 23:00:15 +01:00
Mayank Raghuwanshi
5cd5705239 Implement clear option for zesRasGetState
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-01-21 15:00:13 +01:00
Vinod Tipparaju
494a59c7df Fix to dispatch MEDIA_VFE_STATE with updated scratchSpacePointer & Size
Minor fix to reset scratch space size and indirect params during cmdList reset

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-01-21 14:29:34 +01:00
Filip Hazubski
5763b77bb9 Introduce debuginfo package
debuginfo package contains stripped debug symbols.
Generating debug symbols have been enabled for Release builds.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-21 13:37:52 +01:00
Mateusz Hoppe
5d2ea72db6 Handle relocations from zeBin
Related-To: NEO-5323

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-21 13:16:38 +01:00
Lukasz Jobczyk
18bfc3be8b Revert "Extend ZE_AFFINITY_MASK to OCL"
This reverts commit 452b53fb4d02ebf4205018b9fd982422e2d85f30.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-01-21 10:31:40 +01:00
William Jordan
bcd4e38eca Add subdirectories to unit tests for fabric ports.
Signed-off-by: William Jordan <bill.jordan@intel.com>
2021-01-21 02:28:55 +01:00
Daria Hinz
5a05d7643c Correct event reset
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-01-20 19:22:07 +01:00
Pawel Cieslak
26fcdf7599 Add SKIP_L0_BLACK_BOX_TESTS flag
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-01-20 11:21:48 +01:00
Lukasz Jobczyk
d9b6280511 Extend ZE_AFFINITY_MASK to OCL
Resolves: NEO-5438

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-01-19 14:10:44 +01:00
Kamil Diedrich
af801d1b9c Remove disabled test
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-01-19 12:09:43 +01:00
Adam Cetnerowski
94ab00edc9 ULT renaming: Event Pool tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-01-19 06:25:05 +01:00
Maciej Plewka
24a88d22aa Fix scratch in bindless mode
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-18 15:46:18 +01:00
Maciej Plewka
5a35fc326c Add black box test for scratch
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-18 06:09:06 +01:00
Jitendra Sharma
a931ce24fe Remove DG1 directory from Sysman Power API implementation
As there is no need to keep Sysman's power API's OS specific code
in DG1 folder. So, lets remove that DG1 directory.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-18 01:13:32 +01:00
Piotr Maciejewski
4a5599b1ee L0 Metrics Api: multi adapter support
Switching to Metrics Discovery adapter interface.
2021-01-13 22:45:59 +01:00
Jaime Arteaga
05b5ad37ea Initialize kernel private surface when kernel is created
This instead of when the associated module is created, to avoid
allocating memory for kernels that are never created nor used.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-13 17:22:40 +01:00
Jitendra Sharma
a2eeeff880 Update sysfs path for pmt telemetry
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-12 18:33:45 +01:00
Filip Hazubski
90fd102fe5 Update MockDevice
Remove mockMemoryManager and mockCompilerInterface variables.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-12 14:44:05 +01:00
Jaime Arteaga
5c9d43e618 Revert "Remove unnecessary flush in event profiling"
This reverts commit a0db607083.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-10 22:59:41 +01:00
Jaime Arteaga
08655a315c Revert "Initialize kernel private surface when kernel is created"
This reverts commit be2a87fe98.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-10 22:56:32 +01:00
Jaime Arteaga
26b036ab97 Improve zeCommandListAppendMemoryFill Performance (2)
Add missing kernel for remainder kernel when pattern size is 1.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-09 08:41:17 +01:00
Jaime Arteaga
a0db607083 Remove unnecessary flush in event profiling
Remove flush before appending appendWriteKernelTimestamp, since
the associated PC is only to ensure kernel execution has completed
in the device, so flush to the host is not required.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-09 02:40:45 +01:00
Jaime Arteaga
be2a87fe98 Initialize kernel private surface when kernel is created
This instead of when the associated module is created, to avoid
allocating memory for kernels that are never created nor used.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-08 19:22:17 +01:00
Kacper Nowak
aa28baa7ec Add -DDONT_USE_PREBUILT_KERNELS_L0 flag usage
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-01-08 19:13:46 +01:00
Mateusz Hoppe
6f69bd3560 Initialize SIP kernel in Device::create()
Related-To: NEO-4878

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-08 15:46:23 +01:00
Slawomir Milczarek
55f3c8f134 Add resolve capability for compressed USM device allocations
Related-To: NEO-5107

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-08 12:16:26 +01:00
Jaime Arteaga
479d01c118 Improve zeCommandListAppendMemoryFill Performance
Improve L0 fill operations by copying the pattern using
two kernels: one that copies four bytes at a time, and one
that takes care of the remainder. Additionally, a new
allocation is created to fill up at least a cacheline.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-08 07:24:55 +01:00
Daria Hinz
4591101541 Implementation of profiling for copy/fill API's
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-01-07 09:43:00 +01:00
Daniel Enriquez
bb5d252c4d Sysman for Windows: Fix timestamp units for power and engines.
Returning now in usecs as the documentation state it should be.
2021-01-07 03:30:47 +01:00
Jitendra Sharma
73c7ebdfb8 Add support for performance factor Sysman API
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-06 12:03:36 +01:00
Vilvaraj, T J Vivek
604aa56a4c sysman: use safer options to copy strings in firmware version.
strncpy_s is a safer option than strncpy.
2021-01-06 07:07:59 +01:00