Raiyan Latif
533d351f5d
fix: Add External Semaphore IOCTL calls to XE ioctl helper
...
Related-To: NEO-15298
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-06-24 06:15:53 +02:00
Szymon Morek
48b4a33645
Revert "performance: enable low latency hint on Xe"
...
This reverts commit b74dc9b7e1 .
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-06-02 12:18:43 +02:00
Chodor, Jaroslaw
46c60290b9
refactor: introducing igfxfmid_wrapper
...
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-05-30 19:26:04 +02:00
Kamil Kopryk
b7681a2e7b
refactor: redirect flush L3 host usm to external by default
...
Related-To: NEO-13163
Rename ForceL3FlushAfterPostSync to EnableL3FlushAfterPostSync
Rename DisableFlushL3ForHostUsm to RedirectFlushL3HostUsmToExternal
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-05-28 08:50:01 +02:00
Raiyan Latif
d6849a5605
feature: Add support for External Semaphore TimelineSemaphoreFd
...
Related-To: NEO-15032
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-05-23 00:40:05 +02:00
Filip Hazubski
3e59a2f108
fix: Correct IoctlHelperXe logic to query PF support
...
Move logic in order to respect relevant checks before trying to query support.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-05-21 18:55:17 +02:00
Raiyan Latif
2b5e2ee851
feature: Add signal/wait support for OpaqueFd external semaphore
...
Related-To: NEO-14676
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-05-19 22:56:48 +02:00
Raiyan Latif
0e0cf3f742
feature: Add support for importing OpaqueFd external semaphore
...
Related-To: NEO-14676
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-05-18 18:04:39 +02:00
Mateusz Jablonski
a361ca1e3f
test: improve logging in unit tests
...
include API name
unify tests timeout/sigabrt message across OSes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-05-15 11:56:53 +02:00
Szymon Morek
b74dc9b7e1
performance: enable low latency hint on Xe
...
Related-To: NEO-14708
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-05-14 15:47:21 +02:00
shubham kumar
7d85b1aeb7
feature: add support for eustall uAPI
...
Related-To: NEO-14347
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2025-05-13 09:34:52 +02:00
Lukasz Jobczyk
f36e3c7d23
refactor: Disable gem close worker in ULTs
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-04-23 17:58:18 +02:00
Slawomir Milczarek
a2d25ca31f
feature: Add syscall wrappers for pidfdopen and pidfdgetfd
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-04-17 19:50:39 +02:00
Chandio, Bibrak Qamar
bed2ad1ac0
feature: memAdise for System Allocator
...
Related-To: NEO-13715
Implements basic functionality for zeCommandListAppendMemoryAdvise for
system allocator
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2025-04-16 07:11:14 +02:00
Maciej Bielski
6ecf5b373e
feature: exit with warning if small bar detected on Linux
...
Return early and provide justification, otherwise SIGBUS error is
returned.
Related-To: NEO-14506
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-04-14 14:43:25 +02:00
Damian Tomczak
f9516b8723
test: remove DEFAULT_TEST_FAMILY_NAME from fixture
...
Related-to: NEO-14395
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2025-04-09 23:29:25 +02:00
Filip Hazubski
504440fc4d
feature: Add ftrHeaplessMode flag
...
Pass hwInfo to isHeaplessModeEnabled and isForceBindlessRequired functions.
Related-To: NEO-14526
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-04-02 21:06:05 +02:00
Bartosz Dunajski
831b488685
fix: improve media engine handling
...
Related-To: NEO-14462
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2025-03-31 10:40:21 +02:00
Slawomir Milczarek
3560b016bd
test: Add errno check to SysCalls wrapper for mkfifo
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-03-28 17:07:10 +01:00
Bartosz Dunajski
85f2734ca4
fix: correct gt_id to tile_id engine mapping
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2025-03-27 15:57:57 +01:00
Damian Tomczak
0243004907
feature: additional checkers to enable feature
...
Resolves: NEO-13973
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2025-03-26 18:06:20 +01:00
Lukasz Jobczyk
54cb0e24f8
performance: Switch waitpkg use to tpause for ULLS light
...
Related-To: NEO-13922, NEO-14336
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-21 18:09:37 +01:00
Slawomir Milczarek
9e0e485166
test: Extended SysCalls wrapper with flag to fail access function
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-03-21 02:37:17 +01:00
Maciej Bielski
a7c46b8213
feature: support L2 cache reservation
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-03-17 19:41:55 +01:00
Compute-Runtime-Validation
13db35c35f
Revert "fix: set correct default value of cacheable flag"
...
This reverts commit a8d9e7ed35 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-13 20:38:57 +01:00
Tomasz Biernacik
a8d9e7ed35
fix: set correct default value of cacheable flag
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-03-13 18:26:02 +01:00
shubham kumar
e287174211
feature: Add EU stall support for xe2/xe3 core
...
Related-To: NEO-13777
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2025-03-12 23:10:24 +01:00
Slawomir Milczarek
3f9ac1512d
test: Fixed flock wrapper to return success for non-negative file descriptor
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-02-27 18:18:38 +01:00
Slawomir Milczarek
0a7ed9f9f4
feature: Add ioctl helpers for primary contexts
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-02-24 17:37:05 +01:00
Filip Hazubski
4be1153253
fix: Remove pragma once from inl files
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-02-18 20:19:15 +01:00
Maciej Bielski
6924a48ca6
refactor: prepare CLOS logic for extension
...
Prepare cache setup and reservation logic to be extended w.r.t other
cache-levels.
Conceptually this change is like adding a switch-statement, in several
places, in which existing code makes a single (and only) case. This is
caused by splitting larger development to ease the review. Further cases
will be added in following steps. Such approach sometimes creates code
which may seem redundant but it is meant to simplify plugging following
extensions in an easy way.
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-02-17 10:43:08 +01:00
Lukasz Jobczyk
c7c7ae9d49
refactor: Remove redundancy around gemCloseWorker in csr
...
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-13 21:42:28 +01:00
Chandio, Bibrak Qamar
7149743162
fix: Set vmbind user fence when makeMemoryResident
...
Related-To: NEO-11977, GSD-10293
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2025-02-10 14:20:09 +01:00
Slawomir Milczarek
354064a539
refactor: Extend wrapper for system calls with mkfifo command
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-02-07 18:49:36 +01:00
Brandon Yates
f7e63ba0d0
feature: Add support for optional PF enable flag for exec queue create
...
Related-to: NEO-8306
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-02-05 19:24:01 +01:00
Compute-Runtime-Validation
d23249b061
Revert "fix: Set vmbind user fence when makeMemoryResident"
...
This reverts commit 80dc4fb43a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-31 11:36:29 +01:00
Chandio, Bibrak Qamar
80dc4fb43a
fix: Set vmbind user fence when makeMemoryResident
...
Related-To: NEO-11977, GSD-10293
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2025-01-28 22:04:37 +01:00
Mateusz Hoppe
19a0a27862
refactor: adjust unit tests to work with secondary engines
...
Related-To: NEO-12952, NEO-13789
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-01-22 13:31:43 +01:00
Mateusz Jablonski
e7a8936d70
test: don't use product specific ioctl helper in generic tests
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 17:26:12 +01:00
Mateusz Jablonski
169469eb06
refactor: extract querying device id / revision id to separate method in xe path
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 09:57:19 +01:00
Mateusz Jablonski
86ecbf3507
fix: explicitly report unhandled event exec queue placements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 13:11:39 +01:00
Mateusz Jablonski
8f7bacdd95
feature: add eudebug interface class
...
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values
layout of structs is guarded by static asserts
eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support
This way we can support two different xe-eudebug interfaces within
single binary.
In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).
Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-13 17:07:12 +01:00
Maciej Bielski
1fafd44af5
refactor: use level-specific name for CacheInfo instances
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-10 11:45:11 +01:00
Maciej Bielski
c9726dbb10
refactor: simplify tracking CacheRegion reservations
...
Leverage features of the mechanism to simplify implementation:
- The maximum number of possible cache-region reservations is a small
value known at compile-time
- Each reservation is unique (described by `CacheRegion`) so can have
a dedicated entry with either zero (free) or non-zero (reserved) value
So, there is no need for a dynamic collection (unordered_map here) to
keep track of reservations. A simple array is enough for that purpose.
Also, add some helper-code to enable array-indexing with the values of
`CacheRegion` enum.
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-09 16:50:28 +01:00
Alicja Lukaszewicz
789efc8909
fix: remove number of RT stacks from capability table
...
Related-To: NEO-10830
Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com >
2024-11-21 14:46:50 +01:00
Wenbin Lu
2ba80ce114
feature: support physical host memory
...
Related-To: NEO-11981
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-11-20 08:19:52 +01:00
Chodor, Jaroslaw
d1ab846a5a
refactor: cleanup around options files
...
This patchset improves handling of library names for NEO's dynamic
dependencies.
Related-To: NEO-12747
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2024-11-15 22:21:16 +01:00
Mateusz Jablonski
4154e6666b
fix: correct loading L0 loader functions
...
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function
Related-To: GSD-10147
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-17 15:39:20 +02:00
Tomasz Biernacik
c982981dde
feature: add number of rt stacks to capability table
...
Related-To: NEO-12138
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2024-10-17 14:46:19 +02:00
Compute-Runtime-Validation
f117b5fb68
Revert "fix: correct loading L0 loader functions"
...
This reverts commit 9c7b3c5e19 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-17 08:20:19 +02:00