Dominik Dabek
24621e8d16
Add test for getMaxParameterSizeFromIGC
...
Test is using MockCompilerInterface
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-30 18:17:40 +01:00
Filip Hazubski
5be4d89b73
Rename function
...
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:03:22 +01:00
Mateusz Jablonski
187120f44e
Program Media Sampler DOP Clock Gate Enable on Xe Hp Sdv
...
remove skipped tests
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-30 16:45:40 +01:00
Lukasz Jobczyk
b5ffad2fec
Revert "Check if direct submission available once"
...
This reverts commit 70a7840da3 .
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 10:31:00 +01:00
Kopryk, Kamil
446a78a134
Force stateless addressing mode for PVC
...
PVC will support buffers greater than 4GB, hence we have to
use stateless accessing mode as default.
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com >
2021-12-29 14:53:18 +01:00
Dominik Dabek
67fff7fc51
Rename igcFeWa to igcFtrWa
...
It references features and workarounds
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-29 11:52:43 +01:00
Szymon Morek
e07b27c0e2
Allow to query memory info with prelim ioctl
...
If prelims are supported, query memory info with
specific ioctl.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-29 10:21:23 +01:00
Maciej Plewka
615688336f
Program all fields in SCM
...
Related-To: NEO-6432
This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-28 16:30:47 +01:00
Dominik Dabek
300a971af3
Use igc interface to get max param size
...
IGC will be queried for max parameter size at the end of initializing
device caps.
Related-To: NEO-4851
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-28 16:10:05 +01:00
Fabian Zwolinski
76565529f6
Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger
...
New name for mock class:
GMockProgram -> MockProgramAppendKernelDebugOptions
Also GMockSourceLevelDebugger class body has been merged with
MockSourceLevelDebugger.
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-12-28 12:58:31 +01:00
Szymon Morek
694046d30e
Remove C-style casts when casting to osHandle
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-28 11:11:49 +01:00
Szymon Morek
d9f6757378
Change return type from unique_ptr to vector
...
In some of the drm functions there is a pattern
to store array in unique_ptr and pass it's length
as an argument. This commit simplifies this.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-28 10:33:53 +01:00
Lukasz Jobczyk
b59b0b6b36
Download timestamps before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 08:14:27 +01:00
Maciej Plewka
df7723411f
Patch image descriptor fields with dword width
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-27 17:55:42 +01:00
Kamil Diedrich
2bbe7438ce
Revert "Add implementation for reading logical subDevice from builtin"
...
This reverts commit 901e1e71f95a8cd90611ed7cbd25705a14f38170.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-27 15:58:51 +01:00
Lukasz Jobczyk
70a7840da3
Check if direct submission available once
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-23 18:00:46 +01:00
Zbigniew Zdanowicz
b6da6471f2
Add notify parameter to direct submission post sync operations
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-23 17:35:48 +01:00
Zbigniew Zdanowicz
732fbe5c7f
Move aub unit tests to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-23 17:35:33 +01:00
Patryk Wrobel
3599e7aeda
Add warning when device binary had to be recompiled
...
Introduced a new warning, which is printed to build log, when the
binary needs to be recompiled. Added a new flag -Wno-recompiled-from-ir
to allow suppression of that message. Removed a bug related to memcpy_s
from ModuleBuildLogImp::getString() and aligned it with specification.
Related-To: NEO-5819
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2021-12-23 16:13:59 +01:00
Lukasz Jobczyk
205e2e1957
Wait for fence before store cmd buffer in reusable pool
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-23 15:36:54 +01:00
Mateusz Jablonski
eb9746987e
Move API agnotic gen8 tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-23 13:49:13 +01:00
Mateusz Jablonski
896e01c1cb
Require exact revision when getting binary builtin for PVC
...
this change also implements logic for recompilation of builtin from spv in L0
in case when binary resource is not available
Related-To: NEO-6170
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-22 19:56:54 +01:00
Filip Hazubski
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +01:00
Zbigniew Zdanowicz
1df68ad71f
Move command stream tests to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-22 13:00:43 +01:00
Szymon Morek
2647d563c7
Remove i915 structs from MemoryInfo
...
Use structs defined in ioctl_helper.h instead of
i915 dependent ones to avoid conflicts between
different kernels
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-22 12:46:59 +01:00
Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 18:29:43 +01:00
Zbigniew Zdanowicz
4176cac845
Move shared mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 13:26:59 +01:00
Dominik Dabek
17beabc32d
Add full src path to ocloc cmd
...
Makes it easier to copy and execute the command
Related-To: NEO-6002
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-21 13:01:58 +01:00
Filip Hazubski
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 12:21:11 +01:00
Mateusz Jablonski
ab4640635d
Cleanup command stream receiver tests 1/n
...
cmd parse tests
aub subcapture tests
aub command stream receiver tests
aub command stream receiver fixture
mock aub subcapture manager
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-20 20:02:50 +01:00
Zbigniew Zdanowicz
7680331b4a
Move shared object mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-20 18:48:37 +01:00
Mateusz Jablonski
4694b7ac5c
Move linear / tbx stream tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-20 17:45:53 +01:00
Lukasz Jobczyk
bc58172075
Revert "Enable task count update from wait"
...
This reverts commit 8db36ddf28d0b85516e0adf77dbfc78000d22146.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-20 16:53:16 +01:00
Krystian Chmielewski
9d5907c8d0
Debug zebin copy section header's flags
...
When creating debug ZEBinary copy section header's flags
from ZEBinary to debug binary.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-12-17 21:01:18 +01:00
Filip Hazubski
461e6d841d
Remove redundant thread arbitration policy variables for SCM
...
Remove CommandStreamReceiver::lastSentThreadArbitrationPolicy
Remove CommandStreamReceiver::requiredThreadArbitrationPolicy
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-17 19:47:59 +01:00
Kacper Nowak
1c74eca1ae
Add source offset entry for arg by value in zebin
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-12-17 16:45:49 +01:00
Lukasz Jobczyk
6e5bc0d5ee
Enable task count update from wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-17 15:21:51 +01:00
Fabian Zwolinski
617f65c285
Add wrapper for snprintf
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-12-17 13:07:49 +01:00
Mateusz Jablonski
66bf806018
Remove magic number from set/getBatchBufferStartAddressGraphicsaddress methods
...
rename methods to set/getBatchBufferStartAddress
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-16 19:03:01 +01:00
Bartosz Dunajski
ae31fec9a7
Add missing PVC test traits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-16 17:09:23 +01:00
Zbigniew Zdanowicz
59b9ee0127
Drop stalling command for partitioned kernels on xe hpc platform
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-16 16:51:38 +01:00
Fabian Zwolinski
ab580bdc11
Remove GMock from GMockCommandQueueHw, MockFlatBatchBufferHelper
...
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-12-16 16:39:45 +01:00
Zbigniew Zdanowicz
0a139caf77
Use timestamp post sync always for multi tile partitioned walkers
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-16 16:03:16 +01:00
Lukasz Jobczyk
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-16 13:22:19 +01:00
Artur Harasimiuk
9d063f29d2
refactor support of other architectures
...
- cmake refactor to disable ld.gold and ld.lld usage when cross-compiling
- skip some ULTs when CPU feature is not available
Related-To: NEO-6017
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-12-16 12:54:51 +01:00
Mateusz Jablonski
3e862d1fbc
Add test matcher for at least Skylake platform
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 19:52:00 +01:00
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
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
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