Commit Graph

1030 Commits

Author SHA1 Message Date
Jaime Arteaga
102de8ffd5 Add option to zello_ipc_copy_dma_buf_p2p to select copy engine
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-02 09:36:43 +01:00
vinod krishna
22f40d9a8e Adding zello_fence blackbox testcase
Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-03-02 08:22:22 +01:00
Mateusz Hoppe
a4102fb812 Add subdirectories in blackbox tests Cmakelists.txt
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:49:46 +01:00
Mateusz Hoppe
8f87dfaf0c Add Debug API handlers
Related-To: NEO-4554


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:26:43 +01:00
davidoli
8fdd1931a9 improve stub for zetKernelGetProfileInfo with ULT
Signed-off-by: davidoli <david.olien@intel.com>
2021-03-01 00:17:58 +01:00
Compute-Runtime-Validation
c0268abc26 Revert "Take spec const value sizes from compiler"
This reverts commit da3805880b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-02-26 16:22:10 +01:00
Zbigniew Zdanowicz
3e4be8d78e Add new allocation type
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-26 12:57:12 +01:00
Jaime Arteaga
d69ffd3641 Revert "Revert e94c942ecb90cd9fa21aa5729c0c0a7ec22ba768"
This reverts commit 71805fd61a.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 19:16:48 +01:00
Jaime Arteaga
722a80079b Add experimental_properties for indirect access (2)
Add support to OpenCL to also make use of indirect access properties
provided by IGC and to make use of DisableIndirectAccess debug key.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 11:41:24 +01:00
Compute-Runtime-Validation
71805fd61a Revert e94c942ecb
Have Tools and Sysman Process Address Tables fail on mismatched versions

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-02-25 10:55:56 +01:00
Maciej Plewka
da3805880b Take spec const value sizes from compiler
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-02-25 10:42:21 +01:00
Jaime Arteaga
0417f5ba12 Add ULT for getIpcMemHandle
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 08:32:32 +01:00
vinod krishna
b38642ab6b Adding zello_copy_only, zello_copy_fence & zello_copy_image blackbox testcases
Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-02-24 17:15:32 +01:00
Mateusz Hoppe
c44fff1379 Enable device discovery from test_files in L0 ults
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-24 10:18:20 +01:00
Daria Hinz
13fe8ed7f1 Revert "Correct POST_SYNC for L0 Events"
This reverts commit 04d1a3255357a7778a530f054700e211d94f3b6d.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-02-24 10:16:22 +01:00
Kamil Diedrich
c686fb250e Allow to import image FD
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-02-23 18:49:35 +01:00
Kanhaiya Singh
a246c358e5 Update zesFrequencyGetAvailableClocks for clocks to be in multiples of 50 Mhz
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
2021-02-23 06:46:25 +01:00
T J Vivek Vilvaraj
2bcbaa294a sysman: improve coverage of firmware API
added ULT to check for nullptr dereference.

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-02-22 18:48:41 +01:00
Jaime Arteaga
ce9158ea1a Complement ULTs for getMemAddressRange
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-20 00:51:02 +01:00
Jaime Arteaga
fd7421ed37 Add some event ULTs
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-19 17:19:29 +01:00
Mayank Raghuwanshi
0cc71827ee Update pmt telemetry node
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-02-19 07:14:13 +01:00
Daria Hinz
64d772d366 Fix for adding MI_SEMAPHORE_WAIT & reset L0 Event
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-02-18 18:33:21 +01:00
Mateusz Hoppe
0b2022cf85 Setup dispatch table with debug tools functions
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-18 17:11:38 +01:00
Jaime Arteaga
e94c942ecb Have Tools and Sysman Process Address Tables fail on mismatched versions
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-16 20:50:44 +01:00
Jaime Arteaga
9dd5ae7ef6 Add ULT for getMemoryProperties
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-16 19:05:13 +01:00
Mateusz Hoppe
6dd0f0c728 Relocate debug data
Related-To: NEO-4769

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-16 14:59:30 +01:00
Jaime Arteaga
62c61c67b4 Have Process Address Tables in the driver fail on mismatched versions
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-15 16:39:19 +01:00
Mateusz Hoppe
f6aafdb274 DebuggerL0: Track all addresses from SBA
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-15 14:22:02 +01:00
T J Vivek Vilvaraj
4cf3bb6a04 sysman: fix unintialized pointer access in firmware module
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-02-15 13:58:05 +01:00
Zbigniew Zdanowicz
c35f560971 Refactor internal interface
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-15 13:24:00 +01:00
Jaime Arteaga
315146a43d Defer builtin initialization until first use
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-15 13:05:43 +01:00
Daniel Enriquez
e88ef75c57 Implementing Reset Device Level 0 Sysman Windows
Enabling Device Reset for Windows.

Signed-off-by: Daniel Enriquez daniel.enriquez.montanez@intel.com
2021-02-12 03:41:48 +01:00
Adam Cetnerowski
f6a0b3c6ce ULT renaming: Module tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-02-11 16:03:39 +01:00
Pawel Cieslak
8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
Jaime Arteaga
1aca16a7ac Add experimental_properties for indirect access
Read zebin experimental properties indicating whether a kernel has
indirect access and if so, ignore calls to zeKernelSetIndirectAccess.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-10 14:23:43 +01:00
Artur Harasimiuk
03ab61c8e8 unit tests cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-02-10 13:52:30 +01:00
Aravind Gopalakrishnan
b204a4f135 Use device allocation for events if host visibility not set
Related-To: LOCI-1684

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-02-09 16:12:24 +01:00
vinod krishna
3770410733 Adding zello_world_usm black box testcase.
Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-02-09 16:12:07 +01:00
Adam Cetnerowski
11634fdae6 ULT renaming: Command List tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-02-09 16:00:58 +01:00
Kacper Nowak
afbead513d Reuse SS allocations on freeGraphicMemory
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-02-09 16:00:42 +01:00
T J Vivek Vilvaraj
31a04b4708 sysman: add support to handle multiple firmwares
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-02-08 20:32:47 +01:00
Mateusz Hoppe
718e4149a8 Add enable-kernel-debug option when debugger is used in L0
- correctly verify debug capabilites in Module

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-08 17:12:02 +01:00
Vinod Tipparaju
bb138e87c1 Fix to optimize SBA dispatch during submissions.
Move the SBA dirty flag inside csr so it is common across command queues.

Related-To: LOCI-1982

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-02-08 12:13:09 +01:00
Jitendra Sharma
3597093758 Update Temperature APIs to get correct temperature
This change updates Temperature APIs to get correct current
temperature based on updated PMT interface.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-02-06 18:39:58 +01:00
Vinod Tipparaju
248e955bad Fix to optimize PC dispatched during appendMemory*() calls.
Includes fix to optimize PC post walker in case of timestamp events.

Related-To: LOCI-1995

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-02-05 13:05:46 +01:00
Igor Venevtsev
3df6110a17 Add extra parameters to setArgStateful()
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-02-05 12:24:27 +01:00
Jaime Arteaga
2fa27ebe73 Move ISA at kernel creation time (2)
For internal kernels, move ISA only at creation time. For user
kernels, do it a module creation time.

Related-To: LOCI-2009

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-04 21:03:41 +01:00
Jaime Arteaga
5a7f844e46 Revert "Defer builtin initialization until first use"
This reverts commit df84232ef2.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-04 18:21:12 +01:00
Zbigniew Zdanowicz
eac124f7b2 Add cmake file
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-02-04 16:49:53 +01:00
Mateusz Hoppe
c7767de7e9 Revert "Fix version-script for ze_intel_gpu"
This reverts commit 7e27ebe70b.
2021-02-04 15:44:01 +01:00