Dominik Dabek
4f71b9ea61
Add flag forcing 2dimage as array in surface state
...
Workaround for a hw bug causing invalid texture address request
Related-To: NEO-5653
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-15 19:47:17 +01:00
Szymon Morek
242b08d72b
Add advise for atomic and preferred location
...
If supported, allow atomic and preferred location
advises. Hide this logic under IoctlHelper.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-15 16:02:19 +01:00
Mateusz Jablonski
ee18008750
Remove duplicated test.h header
...
use full path to include test.h
add missing headers to source list
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 15:34:45 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:09:50 +01:00
Daria Hinz
0aeca8df22
New numerical approach to platforms in ocloc
...
For AOT feature, a new approach to passing
the -device arg to ocloc is implemented.
New character: <Major>.<Minor>.<Revision>
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-5954
2021-12-15 13:02:12 +01:00
Mateusz Jablonski
03e617d14f
Refactor memory object control state methods in generated commands
...
remove setters/getters for Index To Mocs Tables fields
all information contained in MOCS from gmm client context is now handled
by dedicated method set/get MemoryObjectControlState
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:01:20 +01:00
Szymon Morek
601271c92e
Fix includes
...
Add <sys/ioctl.h> include in files with prelims
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-15 11:45:19 +01:00
Mateusz Hoppe
68dbbd7d43
Fix compilation errors
...
- add missing includes
- fix cast
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-14 19:38:25 +01:00
Szymon Morek
854a77d1cf
Move code from drm_query to drm_neo
...
Move methods to drm_neo.cpp and hide
kernel-specific implementations to IoctlHelper
Related-To: NEO-6510
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-14 19:28:16 +01:00
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
Bartosz Dunajski
fe8cb190bc
Remove deprecated code
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-14 11:36:10 +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
Szymon Morek
98d7258a0b
Add prelim ioctls for clos
...
Add several prelim ioctls related to clos for IoctlHelper
Related-To: NEO-6510
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-10 16:50:29 +01:00
Filip Hazubski
cdc064f478
Correct programComputeMode function
...
Reset all fields of StreamProperties when
compute mode command is being programmed.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-10 16:43:07 +01:00
Bartosz Dunajski
a3dbd08d73
Update PVC unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-10 13:45:39 +01:00
Bartosz Dunajski
47b75fe5fb
Update Ftr and WA flags
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-10 13:35:08 +01:00
Mateusz Hoppe
6d87dccd03
Add debug variable to enable source level debugger
...
- new flag ExperimentalEnableSourceLevelDebugger that
allows communication with debugger library
Related-To: NEO-6514
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-10 13:18:21 +01:00
Szymon Morek
5a3fd1dc94
Check i915 version at runtime
...
Related-To: NEO-6510
Check which prelim version is being used.
Select proper IoctlHelper based on that version.
If no version found, switch to upstream instead.
Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-10 12:22:00 +01:00
Raiyan Latif
abb91a7dae
Return error in canAccessPeer when P2P appendMemoryCopy fails
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2021-12-10 10:19:53 +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
Michal Mrozek
ebb16c8b74
Add new debug key to control dependency resolution.
...
Currently only supported scenario is one in order queue.
Instead of resolving dependencies via semaphores, do this with pipe controls.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-09 17:26:38 +01:00
Bartosz Dunajski
94f0a535a1
Fix passing resource48Bit flag
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 17:01:51 +01:00
Bartosz Dunajski
21ddc10597
PVC device IDs
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 16:22:42 +01:00
Filip Hazubski
f137e927c5
Add EngineUsageHint debug variable
...
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 16:06:23 +01:00
Lukasz Jobczyk
dd3c59f46d
Disable evict after migration WA
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-09 15:40:10 +01:00
Kamil Diedrich
b4f4cad6f9
Add ults for overrideGfxPartitionLayoutForWsl function
...
- move implementation from linux to shared
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-09 15:22:51 +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
7b4c37e50d
Update unit test values and excludes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 14:31:13 +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
Bartosz Dunajski
d07c76c237
unTypedDataPortCacheFlush pipe_control helper support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:00:10 +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
e5d7142ae0
Use StreamProperties from CSR when programming STATE_COMPUTE_MODE
...
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 10:51:34 +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
Patryk Wrobel
c324279bf5
Add support for exclusion of IR from binary generated by ocloc
...
Itroduces new parameter "-exclude_ir" to ocloc CLI.
This parameter can be used to reduce output binary size
when IR is not needed.
Related-To: NEO-6477
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2021-12-08 16:11:54 +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
Bartosz Dunajski
72b9dd8a4a
Add PVC AIL specialization
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 14:14:13 +01:00
Bartosz Dunajski
1f09d40e5a
Add PVC unit test target
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 12:29:28 +01:00
Rafal Maziejuk
d5f3ac37bf
Add KernelExecutionType argument to encodeAdditionalWalkerFields method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-12-08 12:00:42 +01:00
Bartosz Dunajski
16e9aaa1cf
Update ftr flags list
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 11:14:25 +01:00
Bartosz Dunajski
d6b0771f6e
Add missing include
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 10:36:59 +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