Bartosz Dunajski
5af9dff74d
PVC: Dont override default thread arbitration policy
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 14:30:39 +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
Hazubski, Filip
fca0d03c90
Remove reporting extension cl_intel_global_float_atomics
...
Signed-off-by: Hazubski, Filip <filip.hazubski@intel.com>
2021-12-07 11:54:18 +01:00
Maciej Dziuban
e3bb526067
Optimize timestamp packet dependencies
...
- Clear dependencies even if last engine changed
- Do no program semaphore waiting for blit when blit is submitted with gpgpu
- Track barrier timestamps to correctly synchronize blits in OOQ
Related-To: NEO-6444
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-12-07 11:47:50 +01:00
Bartosz Dunajski
f20236c7f2
Initial PVC support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
Related-To: NEO-5542
2021-12-07 10:22:41 +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
Compute-Runtime-Validation
b7cee61bde
Revert "Fail build program in shared system USM + stateful access case"
...
This reverts commit 0ad8afc0b3
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-12-07 01:00:59 +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
Filip Hazubski
2098b0c3fa
Refactor Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Ensure correct device is used when verifying engine groups.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-06 18:27:31 +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
Bartosz Dunajski
0346a5679f
Fix returned local memory size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-06 15:57:55 +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
Kamil Kopryk
0ad8afc0b3
Fail build program in shared system USM + stateful access case
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
After this change driver will fail clBuildProgram/zeModuleCreate api calls
whenever stateful access is discovered and device has shared system usm caps
enabled.This is required since in this case allocation greater than 4GB
will not work.
If user still wants to use stateful addressing mode,
-cl-opt-smaller-than-4GB-buffers-only / -ze-opt-smaller-than-4GB-buffers-only
build option should be passed as build option, but then user can not use
buffers greater than 4GB.
2021-12-06 15:10:16 +01:00
Milczarek, Slawomir
88121a6f24
Fixed crash in direct submission dtor
...
Crash on an attempt to read from tag address when ring is not started
Related-to: NEO-5869
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-12-06 11:56:19 +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
Bartosz Dunajski
5c266f9ab0
Compression refactor [3/n]
...
Dont use allocation type for compression preference
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 17:20:07 +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
Lukasz Jobczyk
c455c0f9c6
Remove "Update Device::engineGroups"
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-03 10:16:40 +01:00
Bartosz Dunajski
9481d8a88b
Compression refactor [2/n]
...
Dont use allocation type for compression preference
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 08:47:46 +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
55959d4d1d
Helper method to check if allocation is compressed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 16:13:53 +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
Filip Hazubski
4461b8ea3f
Refactor: Update Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-02 15:10:22 +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
ocldev
562ca18afc
Brand string update
...
Updating device brand strings
Based on public support in Windows driver 30.0.101.1069
https://www.intel.com/content/www/us/en/download/19344/
Signed-off-by: ocldev <ocldev@intel.com>
2021-12-02 12:32:33 +01:00
Kamil Diedrich
5bc98718b9
Add support for device allocation on Windows
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-02 12:26:47 +01:00
Filip Hazubski
fe08216102
Refactor: Update Drm::createDrmContext
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-01 17:04:09 +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
Rafal Maziejuk
816e12ed4f
Add expectMemory function override to CSR with aub dump
...
After using clEnqueueVerifyMemoryINTEL api call
MEM_TRACE_MEMORY_COMPARE instruction was not present
in dumped aub file.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2021-12-01 13:47:50 +01:00
Mateusz Jablonski
caaa918705
Add missing maybe_unused keywords
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-01 12:59:17 +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
Mateusz Jablonski
f8de237963
Remove (void) from generated hw cmds
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-01 12:26:12 +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
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
Szymon Morek
12777bd758
Move MemoryInfoImpl logic to MemoryInfo
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-29 13:13:11 +01:00
Filip Hazubski
f99c281155
Update Device::createEngine
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-11-29 12:51:26 +01:00
Lukasz Jobczyk
3c5a1d9a2a
[DG2] Disable direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-29 11:44:32 +01:00