Zbigniew Zdanowicz
0c301e5e99
Limit preemption programming in level zero command queues
...
When multiple command queues use the same context and retain the same state
No preemption programming for copy command queues
Program preemption preamble only for mid thread preemption
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 10:05:10 +02:00
Warchulski, Jaroslaw
1388818a0e
Move neo_shared_tests sources from /common to /unit_test
...
Resolves: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-07-26 10:47:38 +02:00
Dunajski, Bartosz
a3903c385e
Remove HW types from synchronization interface
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-25 13:59:26 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Artur Harasimiuk
e245523730
per gen/per sku TEST_F/TEST_P refactor
...
In gen/sku specific tests include only required files to reduce
dependency on not related HW scpecific headers and improve build
performance.
This is achieved by reduce in usage of hw_test.h and related collateral,
like shared/source/helpers/definitions/hw_cmds.h which can be replaced
by sku specific hw_cmds_<sku>.h
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-06 23:13:46 +02:00
Joshua Santosh Ranjan
e8494abbe8
Add support for ze_device_memory_ext_properties_t
...
Related-To: LOCI-3099
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-07-06 08:18:22 +02:00
Igor Venevtsev
9e0138f5a7
Debugger L0: expose FC register set
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-05 16:04:54 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-04 18:20:07 +02:00
Bartosz Dunajski
76d905b1f2
Pass LogicalStateHelper to SBA helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-01 14:52:20 +02:00
Bartosz Dunajski
f2bbd63d37
Refactor SBA handling + fix unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-29 13:27:57 +02:00
Artur Harasimiuk
a8e2bd3f98
hw_cmds.h usage cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 11:15:45 +02:00
Mateusz Jablonski
84de510723
Add missing includes to unit_test_helper.inl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 12:05:15 +02:00
Artur Harasimiuk
3af3185e3c
includes simplification
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 17:44:14 +02:00
Szymon Morek
5236b34629
Set L1 policy globally
...
Related-To: NEO-7003
Add function to control l1 policy for both
stateless and surface state cache.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-06-27 14:57:31 +02:00
Szymon Morek
2f46a7da63
Remove not needed function calls
...
Related-To: NEO-7003
Minor: remove empty function calls
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-06-22 16:58:21 +02:00
Luzynski, Sebastian Jozef
410598372d
Move shared tests from igdrcl_tests to neo_shared_tests
...
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com>
2022-06-22 16:45:08 +02:00
Katarzyna Cencelewska
b983ea120b
Add mock helper for hwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-21 18:16:08 +02:00
Daniel Chabrowski
6e3d373ef6
Move tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-13 13:05:46 +02:00
Krzysztof Gibala
81899c4477
Add canonized gpuAddress to GraphicsAllocation constructor
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-06 18:17:36 +02:00
Daniel Chabrowski
1cffe921ba
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-01 18:34:18 +02:00
Krzysztof Gibala
e146a8e8ca
Correct wrong constructor pattern in GraphicsAllocation
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-01 18:06:56 +02:00
Daniel Chabrowski
6fd7ae7142
Cleanup headers
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-26 17:55:44 +02:00
Filip Hazubski
36a07a77a1
Program Source/Destination CompressionType field in XY_BLOCK_COPY_BLT
...
Properly handle blitter commands for media compressed images.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-23 12:16:19 +02:00
Artur Harasimiuk
dc78375d46
use test_files from source location in ults
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-20 14:20:13 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-18 11:42:06 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Kamil Kopryk
fb4b1cca4f
Use internal blitter for internal memory transfers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6621
2022-05-11 19:33:00 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Katarzyna Cencelewska
28317e7062
Correct test and struct names
...
correct names - use xehpc instead of pvc for core tests
transform explicit xehpc tests to pvc if skip exist
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-05 11:35:28 +02:00
Mateusz Jablonski
ac01f74924
style: fix gcc12 compilation errors
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 18:07:15 +02:00
Zbigniew Zdanowicz
819d648997
Use single event for multiple kernels
...
Related-To: NEO-6871
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-28 15:10:04 +02:00
Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Filip Hazubski
3900c9d24a
Report to StreamProperties whether large grf should be programmed with SCM
...
Add helper method to UnitTestHelper to query programmed grf values.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 13:20:14 +02:00
Filip Hazubski
944319b3d9
Correct media compression format for blitter operations on planar images
...
Set most significant bit for chroma planes.
Move common logic to helper function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-22 17:02:16 +02:00
Rafal Maziejuk
a970622cc1
Print slice index in printImageBlitBlockCopyCommand function
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-04-19 12:04:50 +02:00
Rafal Maziejuk
c7d8915dd4
Add debug variable to print XY_BLOCK_COPY_BLT command details
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-29 18:15:13 +02:00
Filip Hazubski
586e8510de
Remove unneeded include
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-26 09:55:25 +01:00
Kacper Nowak
5477cb6b8c
Correct typo
...
- Replace "aligMent" with correct "aligNMent"
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-24 17:46:49 +01:00
Rafal Maziejuk
6ee5c0f677
Add appendBaseAddressOffset function to BlitCommandsHelper
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-18 16:46:15 +01:00
Kamil Kopryk
8c4b2aafa1
Move test_hw_info_config.cpp to shared unit tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6631
2022-03-15 12:36:53 +01:00
Daria Hinz
452050ae40
Refactoring the use of PVC device ids
...
Replacing the old device id implementation
& clearing PVC XT temporary.
Related-To: NEO-6742
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-03-14 15:54:52 +01:00
Kamil Kopryk
7d6bee26c7
Move pvc helpers to pvc files
...
Related-To: NEO-6631
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-03-11 13:46:59 +01:00
Filip Hazubski
80b520bc9b
Change ThreadArbitrationPolicy enum type to int32_t
...
Change ThreadArbitrationPolicy::NotPresent value to -1
Update initial values to ThreadArbitrationPolicy::NotPresent
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-07 20:04:24 +01:00
Rafal Maziejuk
6658768149
Add check in XY_BLOCK_COPY_BLT surface width, height & depth setters
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-03 16:35:51 +01:00
Igor Venevtsev
2263fe59ec
Generate revision-specific kernels for L0
...
Resolves: NEO-6504
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-03-03 13:37:41 +01:00
Mateusz Jablonski
82e3b10c5a
Fix typo
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-25 18:10:41 +01:00
Mateusz Jablonski
a2386ad216
Correct programming of implicit args on pre-XeHp platforms
...
On pre-XeHp platforms implicit args aren't at the beginning of indirect data,
GPU address of implicit args buffer is programmed within cross thread data
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-24 20:52:04 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Kamil Kopryk
4d953fd125
Correct timestamps offset calculation
...
Related-To: NEO-6653
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 12:18:20 +01:00
Baj, Tomasz
7daee00df4
Add alarmTime to ULTs
...
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-6413
2022-01-31 13:51:57 +01:00
Rafal Maziejuk
fc25495ecb
Add missing BlitCommandsHelper ULTs
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-01-28 14:49:04 +01:00
Kamil Kopryk
40483acd17
Improve blitter programming
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-01-18 10:36:05 +01:00
Mateusz Jablonski
e5a18177c5
Add unit test helper function to set pipe control hdc flush
...
Separate unit test helper definitions bdw_and_later / xe_hp_and_later
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-17 15:45:29 +01:00
Rafal Maziejuk
201c3347ff
Rename dispatchBlitCommandsRegion to dispatchBlitCommandsForImageRegion
...
As this function no longer applies to buffers it needed to be renamed.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-01-13 15:42:12 +01:00
Rafal Maziejuk
8729521769
Use dispatchBlitCommandsForBufferRegion when copying buffers in L0
...
First step to separate dispatch blit commands for buffers
from dispatch blit commands for images.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6134
2022-01-11 13:52:56 +01:00
Zbigniew Zdanowicz
2047fc88f9
Move execution environment helper to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-31 11:36:44 +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
Filip Hazubski
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-22 15:22:47 +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
Lukasz Jobczyk
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-16 13:22:19 +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
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
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
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
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
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
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Raiyan Latif
33de789531
Fix Blitter memory fill destination Pitch value
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2021-11-23 16:58:52 +01:00
Bartosz Dunajski
c77fe0bffc
Add xe_hpg common tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-19 19:00:22 +01:00
Zbigniew Zdanowicz
f79de1de8d
Unify calculation of pipe control post sync address
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-16 11:16:46 +01:00
Zbigniew Zdanowicz
36fd163837
Refactor pipe control post sync operations
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-10 08:53:03 +01:00
Compute-Runtime-Validation
908a7721b2
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 2fff0f9059
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-11-10 07:25:44 +01:00
Lukasz Jobczyk
2fff0f9059
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-09 11:05:16 +01:00
Compute-Runtime-Validation
9058de77cc
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 1c68ac1cbc
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-11-08 16:36:18 +01:00
Zbigniew Zdanowicz
f646422076
Move ult helper to shared common library
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-05 12:21:44 +01:00
Lukasz Jobczyk
1c68ac1cbc
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-03 17:16:54 +01:00
Mateusz Hoppe
4d6a2d0a57
Enhance logs in EuThread
...
- do not overwrite memoryHandle in resumeThread() when thread is
not stopped
- add SIP Commands
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-03 11:04:14 +01:00
Filip Hazubski
c15a7f8355
Update UnitTestHelper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-26 11:28:02 +02:00
Igor Venevtsev
4286b3a55c
Reserve precise amount of memory for debug surface
...
Resolves: LOCI-2209
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-10-15 12:19:51 +02:00
Mateusz Jablonski
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-15 09:59:47 +02:00
Mateusz Jablonski
8f81f2ae8d
Cleanup MockGmm
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-14 21:56:53 +02:00
Mateusz Jablonski
44112f8d94
Cleanup includes in shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-13 17:02:22 +02:00
Mateusz Jablonski
7187769744
Move kernel binary helpers to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-06 13:41:34 +02:00
Maciej Plewka
22725e5840
Pass device bit field to create bindless heaps allocations
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-10-05 14:36:59 +02:00
Kamil Kopryk
1a34586dd4
Make sure sip kernel is initialized for aub tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-10-01 12:54:04 +02:00
Bartosz Dunajski
4ba4c32766
Remove SBA->IOH programming on XE_HP_SDV
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-29 12:35:43 +02:00
Mateusz Hoppe
0e58821455
Change DebugMode and TdCtl registers on xehp
...
- refactor tests to use UnitTestHelper
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-09-24 07:38:48 +02:00
Mateusz Jablonski
f8867e0b97
Move generic command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-22 23:55:31 +02:00
Kamil Kopryk
d633b59f17
Cleanup get/set MOCS functions
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-22 17:39:35 +02:00
Bartosz Dunajski
b2909fef56
Remove mockMaxOsContextCount
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-20 19:02:54 +02:00
Mateusz Jablonski
4caa10f76e
Don't use Platform class in shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-20 18:23:07 +02:00
Artur Harasimiuk
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-20 16:46:50 +02:00
Bartosz Dunajski
9ff91defba
Add API name to aub file name
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-16 14:50:25 +02:00
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
Kamil Kopryk
9293c9b676
Use isMidThreadPreemptionSupported helper in compiler interface
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-09 18:17:09 +02:00
Kamil Kopryk
ae88789bce
Move isMidThreadPreemptionSupported helper to hwHelper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-09-07 20:28:55 +02:00
Kamil Kopryk
a203cd2863
Add sip kernel as hexadecimal array header
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5777
2021-09-03 17:16:58 +02:00
Bartosz Dunajski
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-01 14:01:57 +02:00
Milczarek, Slawomir
e7085fdafc
Remove helper to get compression format for stateless compression in SBA
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-27 11:28:53 +02:00
Milczarek, Slawomir
54cf561e09
Add helper to get compression format for stateless compression on XE_HP_SDV
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-25 16:56:40 +02:00
Rafal Maziejuk
c96bd1b35d
Move getHwRevIdFromStepping function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-08-24 15:45:19 +02:00
Filip Hazubski
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-23 17:41:13 +02:00
Szymon Morek
aa5e1780a2
Rename plus in filenames to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-17 11:26:27 +02:00
Szymon Morek
a85ae676e7
Rename plus in cmake macros to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-13 11:40:19 +02:00
Bartosz Dunajski
2661962ac3
Pass engine instanced parameter during OsContext creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-13 11:14:29 +02:00
Bartosz Dunajski
fb996a3d5b
Add EngineDescriptor helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-12 15:19:46 +02:00
Szymon Morek
217d067ad5
Refactor calculating maxMemAllocSize
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-12 14:37:42 +02:00
John Falkowski
da8ddc5907
Add offset to dispatchBlitMemoryFill
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-08-10 06:32:23 +02:00
Milczarek, Slawomir
aed6a9994f
Correct isStatelessCompressionSupported function for shared tests
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-09 09:39:29 +02:00
Milczarek, Slawomir
e5237c2368
Enable stateless compression on xehp
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-03 16:01:44 +02:00
Kamil Kopryk
4533595274
Rename constructPropertiesForCopyBuffer to constructPropertiesForCopy
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-30 11:31:56 +02:00
Bartosz Dunajski
214deac4dc
Add Blit and HwHelper tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-27 14:47:48 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-19 19:49:22 +02:00
Bartosz Dunajski
bec8cdd6f1
Update XE_HP_CORE files to enable unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-08 18:41:41 +02:00
Bartosz Dunajski
fefd2d2429
Add CCS1-3 to EngineNodeHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-28 11:48:21 +02:00
Mateusz Jablonski
6c7ccddae0
Respect 3 dimensions when calculating size for host surface
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-06-17 11:15:30 +02:00
Kacper Nowak
ca4068aafc
Create shared libult_common object library
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-06-12 09:46:42 +02:00
Zbigniew Zdanowicz
4fa5041f27
Add inline directive to smallest functions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-10 09:27:07 +02:00
Filip Hazubski
b25c0e4fc0
Update StreamProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-08 08:57:55 +02:00
Kamil Kopryk
0500f79753
Use size_t for src/dst size in blitProperties
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-06-07 15:20:03 +02:00
Kamil Kopryk
fafcc0b58c
Correct naming of get/set transfer width/height functions for block copy
...
These functions set parameters x2/y2 for block copy.
When offset is not 0 then x2/y2 != transfer width/height,
so the new names are more correct.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-06-07 15:01:13 +02:00
Bartosz Dunajski
786d308f50
Debug flag to override max WG size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-31 12:23:27 +02:00
Piotr Obst
1dd552d473
Change D3DKMT_CLIENTHINT_OPENCL to _ONEAPI_LEVEL0 in L0
...
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-05-19 07:54:50 +02:00
Maciej Dziuban
4ffe456d85
Add PrintOsContextInitializations debug flag
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-18 16:27:16 +02:00
Maciej Plewka
159404f38e
Revert "Program border color once per dsh"
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-05-18 12:26:58 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Zbigniew Zdanowicz
544890c066
Change default placement of preemption allocation
...
Related-To: NEO-5800
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-11 15:26:24 +02:00
Bartosz Dunajski
c6e81d3ed5
Simplify parsing affinity mask
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-05 21:17:53 +02:00
Maciej Plewka
b943ad078f
Program border color once per dsh
...
Related-To: NEO-4928
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-04-30 13:31:58 +02:00
Zbigniew Zdanowicz
902cce597a
Add new functionality to load SIP from file
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-23 13:48:26 +02:00
Milczarek, Slawomir
9839b3049d
Move unit test helper to shared code
...
Related-To: NEO-5161
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-13 20:06:08 +02:00
Mateusz Jablonski
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00