Commit Graph

11209 Commits

Author SHA1 Message Date
Jim Snow
40fb0c2542 Clean up RTDispatchGlobals patch token parsing
Related-To: LOCI-3349

Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-09-14 07:38:37 +02:00
Vilvaraj, T J Vivek
9e653803e5 sysman: add addtional code for firmware functionality.
Add support for the following functionalities:
diagnostics
ecc
memory ras

Related-To: LOCI-3369

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-09-13 22:03:43 +02:00
Compute-Runtime-Validation
b874f0840e Revert "Move kernel globals from SVM to USM device"
This reverts commit 4d00a7ee8c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-09-13 18:41:44 +02:00
Maciej Bielski
0d0d6a300e Debugger: simplify captureStateBaseAddress()
So far captureStateBaseAddress() was a wrapper around
programSbaTrackingCommands(), doing an additional checking before
calling the latter. The checking is apparently no longer relevant, so
unify the distinction and remove part of the code which is no longer
needed.

In practice, keep the captureStateBaseAddress() while moving the body of
programSbaTrackingCommands() into it. This imposes lower diff-impact
onto the class hierarchy. Remove the second function. Simplify the
caller which had to distinct these two functions previously.

Related-To: NEO-6774
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2022-09-13 17:08:31 +02:00
ocldev
9204cf5487 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-09-13 15:55:16 +02:00
Lukasz Jobczyk
8160a59f2f Enable bcs split in L0
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-13 14:48:00 +02:00
Krystian Chmielewski
09bf464327 Add option to disable zebin in ocloc
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-09-13 14:36:54 +02:00
Szymon Morek
5137b70658 Don't read event memory if signaled state is true
Related-To: NEO-7302

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-13 14:34:44 +02:00
Kamil Kopryk
410fd7d909 Correct binding table prefetch
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075

Binding table entry count was zeroed even when
ForceBtpPrefetchMode debug flag was enabled
2022-09-13 14:34:30 +02:00
Lukasz Jobczyk
88fe22fc49 Split transfers greater than 4MB in L0
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-13 13:53:38 +02:00
Sebastian Luzynski
4d00a7ee8c Move kernel globals from SVM to USM device
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-09-13 11:13:58 +02:00
Bellekallu Rajkiran
47aaac16a6 Add pmt offset mappings for new revision
Related-To: LOCI-3410

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-09-13 08:30:05 +02:00
Maciej Bielski
e1b80ba1a8 Cleanup: updateStreamProperties(), SBA tracking
Fixes found out while working on the StateBaseAddress adaptation to
StreamProperties. Removing unused parameters, improving code reuse
(further improvements come with following commits).

Related-To: NEO-6774
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2022-09-12 17:56:28 +02:00
Grzegorz Choinski
f6ecb1bc0c lint revision update
Related-To: NEO-7304
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-09-12 17:53:22 +02:00
Lukasz Jobczyk
28e6504d41 Add event management to L0 bcs split
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-12 16:02:15 +02:00
Patryk Wrobel
0fb52f7d45 Fix undefined behavior in IoctlHelperPrelim20::prepareVmBindExt()
When pointer type differs from the type, which was obtained
via new[] operator, then delete[] is undefined behavior.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-12 14:14:51 +02:00
Zbigniew Zdanowicz
072686f283 Replace function term with kernel class specific names
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-09-12 12:00:24 +02:00
Zbigniew Zdanowicz
af7eaa0161 add linked copy engine to copy engines group in command list creation
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-09-12 11:21:58 +02:00
Lukasz Jobczyk
63e72965a1 Add initial BCS split implementation for L0
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-12 10:48:30 +02:00
Kamil Kopryk
fad4bee432 Fill leftover cmdbuffer space with MI_NOOPs in debugger and sw tag paths
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-7156
2022-09-12 10:48:13 +02:00
Compute-Runtime-Validation
c2cd1a2698 Revert "Do not expose RCS on DG2"
This reverts commit 69c9a4e86c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-09-12 01:31:19 +02:00
Szymon Morek
48a3cf4b75 Revert "Allocate all event pools in local memory"
This reverts commit 8aa87a6f8109223d61c5d41214331ffc12659295.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-10 01:08:57 +02:00
Kacper Nowak
5b8284d162 Remove remaining dependency on precompiled test kernel in L0
- Enhance zebinary module mock for L0 with kernel attribute,
so at this point L0 ULTs are completely free from IGC dependencies.

Related-To: NEO-7281
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-09-09 14:33:58 +02:00
Cencelewska, Katarzyna
9b19014cf1 Fix read of 64bit enviroment variables
change atoi to atoll

Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2022-09-09 14:00:10 +02:00
Andrzej Koska
69c9a4e86c Do not expose RCS on DG2
The RCS is no longer exposed under windows and linux on DG2

Related-To: NEO-7224
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2022-09-09 13:20:31 +02:00
Mateusz Hoppe
dd7967a05d L0Debug - account for device bitfield
- converting physical/api thread ids should account for
devicebitfield
- debug events for ISA filtered - skip events for not
relevant tiles

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-09-09 13:03:06 +02:00
Krystian Chmielewski
1f6c09ba1d zebin: sanitize scratch space size
Sanitize scratch space size to value programmable on GPU.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-09-09 11:50:09 +02:00
Dominik Dabek
7fa9cfd7fc Add missing cache policy isDebuggerActive values
Cache policy was not kept as WBP in some cases with debugger

Related-To: NEO-7003

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-09-09 10:38:41 +02:00
Compute-Runtime-Validation
417746182c Revert "Ocloc: Add -s to options string for non-spirv input with -g option pa...
This reverts commit 301be3c21b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-09-09 05:42:13 +02:00
Mateusz Hoppe
eb0273d6ff L0Debug - add debug message when ZE_AFFINITY_MASK is used
Related-To: NEO-6980

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-09-09 00:33:37 +02:00
Michal Mrozek
ec1de69fee Do not enable basic WA.
LOAD_BALANCED is disabled so basic WA is not needed.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-09-08 19:54:15 +02:00
Lukasz Jobczyk
d0caa223cd Prepare command list for BCS split
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-08 19:54:03 +02:00
Lukasz Jobczyk
4bd27e4d3e Store context handle in cmd list
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-08 19:32:47 +02:00
Dunajski, Bartosz
409c2c5ca7 Add PVC builtin revisions
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-09-08 17:40:00 +02:00
Patryk Wrobel
340b578248 Use correct destination size when copying device name
This change:
- corrects the size of destination buffer and sets it to ZE_MAX_DEVICE_NAME
- ensures that copied name is null-terminated

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-08 17:01:38 +02:00
Kamil Kopryk
788240c8ba Correct cmdstream size estimation - additional pipeline select gen12lp
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-7156

Additional pipeline select is required only on specific
gen12lp products. That check was missing only in cmdstream size
estimation path, hence we had an overestimation.
2022-09-08 16:34:54 +02:00
Lukasz Jobczyk
3a7f266d66 Enable BCS split in OCL
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-08 15:56:30 +02:00
Patryk Wrobel
4395e0c3a1 Use EXPECT_THROW instead of handmade try-catch in tests
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-08 15:32:52 +02:00
Kacper Nowak
301be3c21b Ocloc: Add -s to options string for non-spirv input with -g option passed
Automatically add "-s" (source path) option if -g flag is present.
This applies only to non-spirv input.
Related-To: NEO-7285
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-09-08 15:19:05 +02:00
Kacper Nowak
710c8cf5ef Linker: add support for symbols with local binding
This commits add support for relocating
symbols with local binding and of functional type
(STB_LOCAL, STT_FUNC).

Related-To: NEO-7299
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-09-08 14:50:29 +02:00
Michal Mrozek
824c781ab5 Do not program extended WA.
It was only needed for LOAD_BALANCED scenarios, so with recent disabling
of this feature in KMD, it is no longer required.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-09-08 13:51:17 +02:00
Lukasz Jobczyk
f65d2aeb87 Split copy along single dimension
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-09-08 12:39:06 +02:00
Dominik Dabek
a72213943e Change DG2 l1 cache policy to WB
With compiler LSC WAs this gives better performance.

If debugger is active, policy will not be changed ie.
will be WBP.

Related-To: NEO-7003

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-09-08 12:14:52 +02:00
Krystian Chmielewski
5af2bc8a60 zebin: add support for kernels source attributes
This commit adds parsing of "user_attributes" section of zeInfo
containing kernel's language attributes.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-09-08 12:07:19 +02:00
Zbigniew Zdanowicz
9c82238c1e add cmake variable to level zero black box tests describing include directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-09-08 12:07:03 +02:00
Mateusz Hoppe
6c7f500649 Parse AffinityMAsk in ULTs DeviceFactory
- enable testing of affinity mask configuration

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-09-08 12:06:44 +02:00
Krystian Chmielewski
2e9574c656 Fix printf for type BYTE and SHORT
Generated instructions writing to printf buffer require destination
address to be DWORD aligned. Because of that values of type BYTE (1B)
and SHORT (2B) need to be written as 4B value.
This change adds support for this. When trying to read value of type
BYTE or SHORT four bytes are actually read to be aligned with compiler
implementation.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-09-08 11:37:18 +02:00
ocldev
3b211c9f8d aub_stream revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-09-08 10:18:10 +02:00
ocldev
b056bdc50c dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-09-08 09:12:17 +02:00
Artur Harasimiuk
ef5334fc3a infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-09-07 20:53:01 +02:00