Commit Graph

4452 Commits

Author SHA1 Message Date
Joshua Santosh Ranjan c6bcdf8c7b fix(sysman): correct the error number for fd overflow
Related-To: NEO-10513

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-03-08 13:52:32 +01:00
Mateusz Hoppe 5e15543b14 test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written

Related-To: NEO-7006

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 13:34:19 +01:00
Dunajski, Bartosz 2f03c48c7a feature: in-order host counter allocation pooling
Related-To: NEO-10507

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-08 13:13:04 +01:00
Wenju He ea69b156d2 test: Add image_query test to zello_bindless_kernel
This is helpful to test image query builtin in bindless modes.

Related-To: NEO-7063
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-08 10:59:07 +01:00
Fabian Zwolinski 36ab19faf7 fix: enable cl_cache by default in Level Zero
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-03-08 10:21:33 +01:00
Zbigniew Zdanowicz f1f874c47d feature: store timestamp cb event clear and sync commands
Related-To: NEO-10385

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-08 09:37:26 +01:00
Wenbin Lu 0ba501f7e0 fix: report number of XeLink hops
Also fix one ASAN + LTO failure

Related-To: GSD-7126

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-03-08 07:00:22 +01:00
Compute-Runtime-Validation b44725b371 Revert "feature: Remove support for min power limit property"
This reverts commit cb924cfe6e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-07 20:29:35 +01:00
Mrozek, Michal 10313b7b84 refactor: remove not needed code
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2024-03-07 18:50:16 +01:00
Lukasz Jobczyk 6d1a3d404e refactor: Add helper to control flat ring buffer
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-03-07 17:52:23 +01:00
Mateusz Jablonski 8e7e5ca58f fix: return same UUID format independently on pci bus info presence
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-07 16:56:30 +01:00
Jitendra Sharma e1e1c0d046 feature: Implement metadata create event handling in XE
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-03-07 14:26:48 +01:00
Mateusz Jablonski 9b98a5ad83 test: skip rtas test when rt is not supported
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-07 13:59:26 +01:00
Michal Mrozek e08668b982 refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-03-07 13:02:29 +01:00
Zbigniew Zdanowicz fe377b6597 feature: add out cmd pointer to store data imm encoder
Related-To: NEO-10385

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-07 12:52:08 +01:00
Joshua Santosh Ranjan ba5c6f32b3 feature: return error when file handles are exhaused in sysman engine
Related-To: NEO-10513

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-03-07 09:15:20 +01:00
Mateusz Jablonski a22cefdaed fix: don't program dummy blit when no copy command was programmed
Related-To: NEO-9996, NEO-10571
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-07 09:01:16 +01:00
Michal Mrozek 660539fe4e refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-03-06 20:13:57 +01:00
Zbigniew Zdanowicz 781ef3a113 feature: update command list update capability
Related-To: NEO-10064

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-06 19:49:59 +01:00
shubham kumar a03a561f33 fix(sysman): Fix engine handles in prelim
Related-To: NEO-10553

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-03-06 15:17:13 +01:00
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