Commit Graph

4432 Commits

Author SHA1 Message Date
Wenbin Lu
a0faad6558 feature: report multi-hop fabric connections
In additon to physical connections we should also report multi-hop
logical connections (MDFI + XeLink) as have positive bandwidth.

Use a modified BFS algorithm to try to find a path between fabric
vertices that are not directly connected together because the KMD always
try to use MDFI link first, then go to XeLink.

Multi-hop connections are bi-directional but might not be symmetric, so
for every pair of vertices A & B that are not directly connected, we
need to try to find both `A -> B` and `B -> A`.

Related-To: GSD-7126

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-03-06 06:36:48 +01:00
Zbigniew Zdanowicz
178dfe0860 test: add counter based checker and event pool option
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-05 18:17:20 +01:00
Dunajski, Bartosz
7bb23818e6 fix: RelaxedOrdering handling in BcsSplit path
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-05 18:06:45 +01:00
Mateusz Jablonski
8b4bca89bc refactor: move ray tracing support capability to release helper
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-05 17:30:57 +01:00
Bellekallu Rajkiran
cb924cfe6e feature: Remove support for min power limit property
Max limit to be same as default power limit.

Related-To: NEO-10525

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-03-05 17:23:54 +01:00
Zbigniew Zdanowicz
b37c57c92b feature: add wait command list argument
Related-To: NEO-10065

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-05 15:44:20 +01:00
Mateusz Hoppe
5589e03e2c fix: pass imgInfo by reference
- Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-05 10:54:59 +01:00
Zbigniew Zdanowicz
2d5d5ec768 fix: correct event host signaling in tbx mode
Related-To: NEO-10065

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-05 08:59:47 +01:00
Dunajski, Bartosz
1d59ffba82 fix: handle in-order allocator destruction
Related-To: NEO-10572

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-04 11:16:55 +01:00
Bari, Pratik
0f8dd5e6c9 fix(sysman): Changes in the Engine BB Test
- The core API used in the Engine Black Box tests is replaced.

Related-To: NEO-10536

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-03-04 11:10:42 +01:00
Fabian Zwolinski
52430762ac fix: cl_cache L0 env vars + refactor code structure
Added support for new Compiler Cache
environment variables in Level Zero.

Moved
`opencl/source/compiler_interface/default_cache_config.cpp`
`level_zero/core/source/compiler_interface/default_cache_config.cpp`
to shared directory
`source/compiler_interface/default_cache_config.cpp`

Switched enabling cache by default from per OS to per API.
Changed default state of cl_cache in Level Zero to disabled.

Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-03-01 17:35:08 +01:00
Dunajski, Bartosz
51ae76a25f refactor: improve handling of in-order atomic signaling
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-01 15:59:25 +01:00
Zbigniew Zdanowicz
8840b6d02f feature: add timestamp postsync command list argument
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-01 14:21:54 +01:00
Dunajski, Bartosz
ea2ad550a1 refactor: improve handling duplicated in-order host storage
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-01 13:54:28 +01:00
Mateusz Jablonski
80aa55a3cb fix: don't program dummy blit prior to MI_FLUSH_DW without postsync
add missing dummy blits before MI_FLUSH_DW with postsync

Related-To: NEO-9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-01 12:36:13 +01:00
Dunajski, Bartosz
bbe1043f08 feature: initial support for pooling in-order counter allocations
Related-To: NEO-10507

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-01 12:08:02 +01:00
Zbigniew Zdanowicz
4baee71974 refactor: add out cmd argument to semaphore wait encoder
Related-To: NEO-10065

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-01 11:43:36 +01:00
Joshua Santosh Ranjan
a3e60acc8f refactor: refactor metric programmable to use open source
Related-To: NEO-10451

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-03-01 06:36:25 +01:00
Compute-Runtime-Validation
5fce046877 Revert "fix: don't program dummy blit prior to MI_FLUSH_DW without postsync"
This reverts commit d796fb559d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-01 01:43:35 +01:00
Mateusz Jablonski
406fb76328 test: correct test condition for additional mi flush wa
Additional MI_FLUSH_DW and dummy blit are separate workarounds

Related-To: NEO-9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-29 18:37:40 +01:00
Dunajski, Bartosz
00964275fb fix: create preemption allocation for Root Csr
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-29 16:46:24 +01:00
Zbigniew Zdanowicz
7d2bed17d9 refactor: change driver and context file names to unique
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-29 16:20:10 +01:00
Mateusz Jablonski
f855a6fbd1 test: remove not needed logs from tests output
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-29 15:29:11 +01:00
Zbigniew Zdanowicz
ce216eacf4 refactor: add kernel count setter to level zero event
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-29 15:07:27 +01:00
Zbigniew Zdanowicz
61d1fb9ef6 refactor: unify getter of event packets to wait
Related-To: NEO-10065

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-29 14:43:55 +01:00
Mateusz Jablonski
d796fb559d fix: don't program dummy blit prior to MI_FLUSH_DW without postsync
add missing dummy blits before MI_FLUSH_DW with postsync

Related-To: NEO-9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-29 13:30:09 +01:00
Wenbin Lu
18d263b21c fix: handle smaller-than-actual count of sub-allocations correctly
If the input count is zero or is greater than the number of sub-allocations,
the driver shall update the value with the total number of sub-allocations.

If count is less than the number of sub-allocations available, then driver
shall only retrieve properties for that number of sub-allocations.

Related-To: NEO-9812

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-02-29 10:40:50 +01:00
Dunajski, Bartosz
9d2a914b03 fix: unregister csr clients during Event reset
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-29 08:44:20 +01:00
Michal Mrozek
64232ec370 fix: choose proper csr for low priority immediate command lists
Resolves: NEO-10168

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-28 12:45:02 +01:00
Mateusz Hoppe
07bac479ab test: print pointers on fail in commandlist_immediate test
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-28 12:24:15 +01:00
Bellekallu Rajkiran
a023b40c90 fix: Synchronize power property retrievals
Related-To: NEO-10525

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-02-28 12:09:56 +01:00
Young Jin Yoon
4e7f225ab1 feature: Modify ddi tables for introspection APIs
Added version check to ensure new functions will be updated into ddi
table only when level_zero version is 1.9.

Related-To: NEO-10265
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-02-28 09:54:24 +01:00
Mateusz Motyl
d642528e86 refactor: 32-bit stream markers support
Signed-off-by: Mateusz Motyl <mateusz.motyl@intel.com>
2024-02-28 09:42:51 +01:00
Bari, Pratik
317e4d84d4 fix(sysman): Changes in the Device Reset Implementation
- The unbind and bind operations in the device reset are now used
for the FLR and Cold Reset and not for Warm reset.

Related-To: NEO-10452

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-02-28 09:27:52 +01:00
Mateusz Hoppe
b0ea2f5759 test: fixes to zello_bindless_kernel
- evict memory
- free buffer
- create kernel object for every case

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-28 09:00:52 +01:00
Bari, Pratik
b55e5ddc87 feature(sysman): Add L3 Fabric Error in Sysman Dir
- Added the Display error category in the tools code as well.
- Added the index increment logic for the tools code as well.

Related-To: NEO-10362

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-02-28 08:48:08 +01:00
Mateusz Hoppe
98787b6b71 feature: bindless image extension - ImageView fixes
- set imgInfo fields correctly for image view
- add image view testcase to zello_bindless_kernel test

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-27 19:11:20 +01:00
Dunajski, Bartosz
8483a922a7 feature: simplify in-order allocation overflow
Related-To: NEO-10507

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-27 18:25:26 +01:00
Mateusz Jablonski
c49445ce4e refactor: remove not needed file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-27 17:31:02 +01:00
Dunajski, Bartosz
fd91543d89 fix: incorrect signaling in-order counter during region copy
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-27 14:11:50 +01:00
Zbigniew Zdanowicz
0bf8e8727e refactor: add output buffer argument to store register to memory encoder
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-27 13:31:55 +01:00
Kulkarni, Ashwin Kumar
0ebaf7e1e2 fix(sysman): enables memory health indicator for supported platforms only
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-02-27 12:40:22 +01:00
He, Wenju
798c068ed1 feature: copy surface state to ssh in bindless image initialization
The surface state needs to be copied to global ssh either during image
initialization for sycl bindless image that could be passed to kernel
through memory.
Privously the copy is done in KernelImp::setArgImage. However, the
function won't be called for sycl bindless image.

Related-To: NEO-10352

Signed-off-by: He, Wenju <wenju.he@intel.com>
2024-02-27 09:35:52 +01:00
John Falkowski
cebedb50c7 feature: get kernel max group size
Implementing support for ze_kernel_max_group_size_ext_properties_t

Resolves: NEO-9617

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-02-27 08:40:55 +01:00
Zbigniew Zdanowicz
0e503b60dc feature: store post sync command in out postsync command pointer
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-26 15:07:52 +01:00
Lukasz Jobczyk
cfd3edfb2c fix: Align IOH entry
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-02-26 14:36:31 +01:00
Zbigniew Zdanowicz
e16b5378da refactor: add output list of patched commands to launch parameters
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-26 13:40:35 +01:00
Zbigniew Zdanowicz
61eb7cab58 test: correct event and event pool flag argument types
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-26 13:16:26 +01:00
Zbigniew Zdanowicz
36ca1bbe2d feature: store post sync command in out postsync command pointer
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-26 12:37:45 +01:00
Dunajski, Bartosz
1b9f3f11a0 fix: disable CB Event implicit conversion if dcFlush is required
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-26 11:26:38 +01:00