Filip Hazubski
e182aa6055
Unify program thread abitration logic for gen9 and gen11
...
Use single call for programming thread arbitration logic in flushTask.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:10:26 +01:00
Mateusz Jablonski
5700619f24
Refactor test.h header
...
move platform/core specific definitions to separated files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-14 16:44:58 +01:00
Igor Venevtsev
fe250d99b1
Disable L3 caches for debug on ATS and DG2
...
Resolves: NEO-6320
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-12-14 13:59:09 +01:00
Milczarek, Slawomir
21f6e7e17c
Remove mock function to check for page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-12-14 12:50:12 +01:00
Zbigniew Zdanowicz
01348451db
Add multi tile barrier to marker command on multi tile device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-13 18:14:39 +01:00
Krystian Chmielewski
7e08e56d50
Zebin: allow undef symbols
...
Skip undefined symbols when decoding ELF symbol table
instead of treating them as error in zebin path in
order to support dynamic linking scenarios.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-12-13 15:31:56 +01:00
Lukasz Jobczyk
616580637b
Reuse command buffers in L0 command list
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-13 14:52:45 +01:00
Filip Hazubski
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-13 14:27:02 +01:00
Zbigniew Zdanowicz
56bef79733
Add multi tile support for OCL post sync barrier
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-10 17:33:12 +01:00
Joshua Santosh Ranjan
06be26fd1e
Add uuid support using inband information
...
Added chipset specific uuid retrieving functionality
This is used by zeDeviceGetProperties
Related-To: LOCI-2636
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-12-10 08:02:33 +01:00
Filip Hazubski
3511b4755f
Remove redundant coherency variables for SCM
...
Remove CommandStreamReceiver::lastSentCoherencyRequest
Remove CsrSizeRequestFlags::coherencyRequestChanged
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 14:43:21 +01:00
Bartosz Dunajski
8c93004937
Unify device id tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:53:10 +01:00
Bartosz Dunajski
4dde9393ad
Extend engine checkers to support more engine types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:41:25 +01:00
Kamil Diedrich
24c19509b3
Add implementation for reading logical subDevice from builtin
...
- add function for resolving builtins using relocations
- add relocation for __SubDeviceID symbol
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-09 13:20:49 +01:00
Zbigniew Zdanowicz
bac79244d5
Add multi tile event signal capability
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-09 12:13:23 +01:00
Filip Hazubski
1107fdfe55
Rename function and remove unused parameter
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-08 22:47:40 +01:00
Bartosz Dunajski
2fd536104d
Extend GfxPartition to support 57b addressing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 16:05:05 +01:00
Mateusz Hoppe
694e8ac5ac
Add ULT for kernel descriptor population
...
- enhanced testing for non-bindless mode with UpdateCrossThreadDataSize
debug variable
Related-To: NEO-6448
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-08 10:28:40 +01:00
Jim Snow
2dfb7df63b
Add RTDispatchGlobals allocation for ray tracing
...
If a kernel has ray tracing calls, we allocate and initialize
per-device RTDispatchGlobals if needed, and hand off pointer to
the same into a running kernel via an implicit parameter.
Related-To: NEO-5384
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2021-12-08 09:44:13 +01:00
Bartosz Dunajski
27f20b302b
Add PVC shared unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 17:32:54 +01:00
Mateusz Hoppe
9483070b18
Enable bindless aub in L0
...
- update crossthreaddata size according to argument offsets
when processing patchtoken binary when DATA PARAMETER STREAM SIZE
is lower than size required for arguments
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-07 17:28:31 +01:00
Bartosz Dunajski
5ab00bbab4
Add PVC test macros
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 17:07:23 +01:00
Bartosz Dunajski
dfdd3c597a
Remove redundant BUFFER_COMPRESSED allocation type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:35:49 +01:00
Bartosz Dunajski
2b1aa8b331
Compilation fix: Add missing LrcaHelper types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:19:36 +01:00
Bartosz Dunajski
76c730bee8
Add new Stream Property fields
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:04:31 +01:00
Katarzyna Cencelewska
3979af1dcc
Move slice enable to setHwInfoValuesFromConfig
...
Fix problem with not enabled slices in mode SetCommandStreamReceiver=1
Related-To: NEO-6507
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-12-07 09:59:17 +01:00
Milczarek, Slawomir
f29e4acd7e
Add regkey to control cache policy for scratch space
...
Introduce the regkey OverrideL1CacheControlInSurfaceStateForScratchSpace
to control cache policy in surface state for scratch space
Related-To: NEO-3227
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-12-06 19:51:38 +01:00
Lukasz Jobczyk
09d2ffb9ed
Add missing cache flush
...
Resolves: NEO-6505
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-06 17:28:12 +01:00
Jitendra Sharma
8b51358054
In level zero create single tag allocation for csr
...
Multi tag allocation is useful only in openCL to ensure cross root
device synchronization based on tag address.
It is not required in level zero.
Futher multi tag allocation is causing instability in sysman
device reset. So, for level zero instead of multi tag allocation
create single tag allocation.
Related-To: LOCI-2651
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-12-06 15:16:34 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 18:09:02 +01:00
Krystian Chmielewski
10acf9488b
Zebin: accept .visaasm sections
...
Related-To:NEO-6456
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-12-03 14:03:48 +01:00
Zbigniew Zdanowicz
47dbe359bf
Add command encoder for store data command
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 20:56:07 +01:00
Zbigniew Zdanowicz
3e1023fa1a
Unify memory layout for all multi tile post sync operations
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 18:00:40 +01:00
Lukasz Jobczyk
63116e4100
Use wait utils while waiting for timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-02 17:49:05 +01:00
Igor Venevtsev
4d433d8674
Stop using CONTEXT_SET_PARAM to set context VM
...
Use DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT extension mechanism instead
Resolves: NEO-5881
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-12-02 17:39:20 +01:00
Mateusz Hoppe
8b233f7f45
Support for bindless mode in L0 - improvements
...
Related-To: NEO-6448
- add new IGC compilation flag when bindless mode used
- fix SBA programming of BindlessSurfaceStateSize -
always set maximum surface state count
- fix residency of global DSH heap on gen9 - gen12lp
in bindless mode
- add L0 aub test with bindless kernel - disabled
- partial fixes in OCL aub tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-02 16:30:58 +01:00
Bartosz Dunajski
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-02 15:24:35 +01:00
Milczarek, Slawomir
133e13b319
Add getter for shared system memory capabilities
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-12-02 12:51:41 +01:00
Szymon Morek
ce5f9c2214
Rename LocalMemoryHelper to IoctlHelper
...
Related-To: NEO-6472
This helper class is not used only for local memory.
IoctlHelper is more appropriate.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-01 14:34:21 +01:00
Katarzyna Cencelewska
fa16cbceb9
Change size calculating for scratch on dg2
...
Also add proper init for SliceInfo on Linux
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-12-01 12:36:41 +01:00
Kamil Diedrich
3218b784e8
Add override for gfxPartitionLayout in WSL DG1 path
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-01 10:29:27 +01:00
Lukasz Jobczyk
36efe72e3e
Add wait on timestamp mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-01 08:48:00 +01:00
Szymon Morek
e368e6c20b
Move free function to DrmMemoryManager
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-30 14:55:18 +01:00
Mateusz Jablonski
263becc3f8
refactor CFE state programming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-30 12:51:23 +01:00
Mateusz Jablonski
eb572bd61c
Remove gmock from MockGmmResourceInfo
...
Related-To: NEO-4914
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-30 10:23:15 +01:00
Compute-Runtime-Validation
383daf9dbe
Revert "Change size calculating for scratch on dg2"
...
This reverts commit adc3ab5f24 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-30 04:22:55 +01:00
Fabian Zwolinski
5ee5e792e6
Fix hash counting
...
Related-To: NEO-6209
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-11-29 16:59:06 +01:00
Zbigniew Zdanowicz
cb8a17f393
Initialize partition registers only once
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-29 14:43:53 +01:00
Katarzyna Cencelewska
adc3ab5f24
Change size calculating for scratch on dg2
...
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-11-29 14:07:38 +01:00
Mateusz Hoppe
d72a4491be
Add error handling in SipKernelBinary
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-29 13:25:15 +01:00