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
14b89591e6
performance: Disable gem close worker for ULLS light
...
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-14 19:03:28 +01:00
Brandon Yates
4da8a3694c
feature: Enable page faults for xe driver with debugger on
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-02-14 19:01:55 +01:00
Lukasz Jobczyk
7cb7229c1c
performance: Disable force pin for ULLS light
...
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-14 15:31:50 +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
Lukasz Jobczyk
9085f6aeca
fix: drain gem close worker on csr destroy
...
Resolves: HSD-18041493278
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-13 20:34:13 +01:00
Lukasz Jobczyk
a78e3f98d5
performance: Stop ULLS in bo::wait only when light mode active
...
Resolves: HSD-18041491739
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-13 17:01:58 +01:00
Compute-Runtime-Validation
1533f07912
Revert "feature: Enable page faults for xe driver with debugger on"
...
This reverts commit 62b30fa72c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-02-13 16:37:51 +01:00
Lukasz Jobczyk
bc2b49b958
feature: Introduce ULLS light
...
Add core implementation of ULLS without VM_BIND interface aka ULLS
light.
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-12 17:52:02 +01:00
Brandon Yates
62b30fa72c
feature: Enable page faults for xe driver with debugger on
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-02-10 22:25:19 +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
cdc3b477c9
build: Add missing header to system calls wrapper
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-02-10 11:42:40 +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
Szymon Morek
b11322332c
performance: enable staging write for cl buffers
...
Related-To: NEO-13529
Also, add size threshold on iGPU on Linux,
and disable staging if imported host ptr could
be reused
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-02-05 09:41:17 +01:00
Maciej Bielski
971b7c27a2
fix: enable usm compression on linux
...
Related-To: NEO-12056
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-02-04 13:09:04 +01:00
Slawomir Milczarek
733855e9d9
refactor: Add const suffix
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-02-04 12:35:21 +01:00
Mateusz Hoppe
6e35d055f2
feature: make contextGroupSize dependent on number of processes
...
Related-To: NEO-12952
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-02-03 18:13:33 +01:00
Bellekallu Rajkiran
3bef9f886a
fix: Crash on over memory allocation
...
- Add defer backing flag to gem create ioctl
- Make memory resident before lock
Related-To: NEO-13403
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2025-02-03 14:29:42 +01:00
shubham kumar
f2b48b97d2
refactor: Prework to get sampling unit through ioctl query on xe
...
Related-To: NEO-13777
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2025-02-03 10:37:46 +01:00
Compute-Runtime-Validation
99d4e6d054
Revert "performance: don't wait immediately after VmBind"
...
This reverts commit 09118d2011 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-02-02 18:00:28 +01:00
Fabian Zwoliński
7e9c358a73
fix: apply 2MB alignment to large local memory image allocations
...
In this patch, we align up the allocation size to 2MB for all
image allocations >= 2MB located in local memory.
2MB alignment support is defined by function:
`is2MBLocalMemAlignmentEnabled`
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-01-31 14:58:24 +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
Brandon Yates
635f69e54a
fix: Configure scratch pages for debugger
...
DG2 requires scratch pages on for debugger. Other platforms do not.
Related-to: NEO-13883
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-31 06:49:49 +01:00
Brandon Yates
106e8be9a9
fix: Don't abort application due to gpu fault when debugging is enabled
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-30 23:37:50 +01:00
Fabian Zwoliński
7918b44a94
fix: apply 2MB alignment to large local memory allocations
...
In this patch, we align up the allocation size to 2MB for all
allocations >= 2MB located in local memory.
2MB alignment support is defined by function:
`is2MBLocalMemAlignmentEnabled`
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-01-30 22:09:39 +01:00
Szymon Morek
09118d2011
performance: don't wait immediately after VmBind
...
Related-To: NEO-13456
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-01-30 18:52:22 +01:00
Lukasz Jobczyk
09e23804dc
refactor: Use timestamp types for events and in order nodes
...
Switching tagAllocation into UC causes regressions in non event
scenarios. It is no longer used as dependant type for semaphores.
Restoring previous GMM_USAGE settings for tag.
Marking events and in order nodes using only timestamp types as they
have proper GMM_USAGE settings already and can be both in smem and lmem.
Resolves: NEO-13847
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-30 12:20:38 +01:00
Compute-Runtime-Validation
7cbe19c5a9
Revert "fix: Dont enable scratch pages when debugger is on"
...
This reverts commit 18d04b239e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-29 01:30:59 +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
Lukasz Jobczyk
7eac78d253
refactor: Make semaphore dependant resources UC
...
Change for tagBuffer type on Windows. Timestamp types are already UC on all DC
flush platforms regardless of OS.
Resolves: NEO-13847
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-28 14:51:28 +01:00
Brandon Yates
18d04b239e
fix: Dont enable scratch pages when debugger is on
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-27 22:05:34 +01:00
John Falkowski
e11e7b9b94
feature: Add shared System USM Allocation in support of appendLaunchKernel
...
Related-To: NEO-12988
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2025-01-24 23:41:26 +01:00
Compute-Runtime-Validation
83af0b77ff
Revert "fix: Crash on over memory allocation"
...
This reverts commit 212ccb8bd4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-24 21:35:59 +01:00
Bellekallu Rajkiran
212ccb8bd4
fix: Crash on over memory allocation
...
- Add defer backing flag to gem create ioctl
- Make memory resident before lock
Related-To: NEO-13403
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2025-01-24 14:01:37 +01:00
Compute-Runtime-Validation
ce9202ab9d
Revert "feature: enable recoverable pagefault"
...
This reverts commit 713df81dbf .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-23 04:01:31 +01:00
Tomasz Biernacik
ffc7bd1b37
feature: enable getting fd from vmExport
...
Related-To: NEO-12680
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-01-23 00:44:38 +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
Young Jin Yoon
713df81dbf
feature: enable recoverable pagefault
...
Enabled recoverable pagefault and kmd migration support by
default for bmg and lnl, but disabled kmd migration for XeKMD
in order to disable kmd migration for all platforms using
XeKMD for now.
Related-To: NEO-13116
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2025-01-21 12:17:04 +01:00
Jitendra Sharma
8f5a0995e0
fix: Dont directly use gtId as TileId
...
gtId is not same as tileId. instead use gtIdToTileId
to retrieve tileId based on gtId.
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2025-01-20 10:23:53 +01:00
Raiyan Latif
12e3204cab
fix: Process OpaqueWin32 external semaphore properly
...
Related-To: NEO-11488
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-01-20 00:22:14 +01:00
Jitendra Sharma
06ea5944bd
fix: Retrieve tileIndex using gt_id
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2025-01-16 17:45:03 +01:00
Naklicki, Mateusz
3e29ca9057
fix: explicitly disable scratch pages on xekmd platforms
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-01-16 12:09:27 +01:00
Compute-Runtime-Validation
945c4a3ccc
Revert "feature: Enable page faults for xe driver with debugger"
...
This reverts commit 4300f0bdbe .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-16 11:16:14 +01:00
Krzysztof Sprzaczkowski
a17745532c
performance: Move preemption allocation init to the first submission
...
Related-To: NEO-12323
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com >
2025-01-15 20:22:50 +01:00
Compute-Runtime-Validation
af031ee0e3
Revert "performance: align structures for 64-bit platforms"
...
This reverts commit 9f07f56f7f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-15 09:02:01 +01:00
Compute-Runtime-Validation
242a31a024
Revert "refactor: remove excess cast to C-string and add const reference"
...
This reverts commit 34ee40393f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-15 02:43:40 +01:00
Maciej Bielski
e95c7aac92
fix: set memoryBanks correctly for single memory bank
...
Resolves: HSD-18040585222
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-01-14 20:38:10 +01:00
Brandon Yates
16b0ea6897
feature: Handle page fault events for xe debugger
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-14 18:16:05 +01:00
Semenov Herman (Семенов Герман)
34ee40393f
refactor: remove excess cast to C-string and add const reference
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru >
2025-01-14 13:25:31 +01:00