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
Oskar Hubert Weber
1816c8eac4
fix: avoid joining thread in deferred deleter
...
Join thread in DllMain (which we are not aware of)
can result in hang occurring in DeferredDeleter, if the library is
freed before FreeLibraryAndExitThread call from within the worker thread,
the thread gets stuck, thus the main thread is stuck on worker->join().
Related-To: NEO-14121
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2025-04-17 16:17:42 +02:00
Compute-Runtime-Validation
331b515478
Revert "fix: avoid joining thread in deferred deleter"
...
This reverts commit 38a3667304 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-04-16 15:18:27 +02:00
Oskar Hubert Weber
38a3667304
fix: avoid joining thread in deferred deleter
...
Join thread in DllMain (which we are not aware of)
can result in hang occurring in DeferredDeleter, if the library is
freed before FreeLibraryAndExitThread call from within the worker thread,
the thread gets stuck, thus the main thread is stuck on worker->join().
Related-To: NEO-14121
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2025-04-16 10:02:10 +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
Tomasz Biernacik
5bf8b66498
feature: disable getting fd from vmExport
...
Related-To: NEO-12680
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-15 16:08:40 +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
Tomasz Biernacik
194c3058b8
performance: change usage for ringBuffer on integrated devices
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-14 12:25:38 +02:00
Tomasz Biernacik
18435df04c
fix: unify deferring MOCS to PAT
...
Related-To: NEO-14643
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-11 20:10:25 +02:00
Fabian Zwoliński
363aa8cdbd
performance: align local memory Tag allocations to 2MB
...
Align local memory allocations of tag types to 2MB when
2MB alignment is enabled via the product helper
(is2MBLocalMemAlignmentEnabled flag).
Refactored the allocateGraphicsMemoryInDevicePool function to improve
readability and maintainability. Simplified the logic for
determining base size and final alignment by reducing redundant code.
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-04-09 09:59:44 +02:00
Aravind Gopalakrishnan
c7fe7dde90
fix: Correct Xe sysfs paths for ccs mode setting
...
Fix the sysfs paths for Xe KMD
Related-To: NEO-10378
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2025-04-09 06:51:18 +02:00
Lukasz Jobczyk
5bcf500c13
fix: Extend ULLS light mutex range
...
If some operatioins requires ULLS light stop, execute such operations
under mutex in pair with ULLS stop to ensure no other thread will start
ULLS.
Related-To: NEO-14406, NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-04-07 17:35:04 +02:00
Bartosz Dunajski
f99870e716
fix: improve media handling 2
...
Related-To: NEO-14462
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2025-04-03 19:11:53 +02:00
Slawomir Milczarek
7e7e0a000f
refactor: Add ioctl helper for context destruction
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-04-03 16:08:53 +02:00
Brandon Yates
4651e72b0b
fix: Fail device init if kernel debugging is misconfigured
...
Also print error to stderr
Related-to: GSD-10780
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-04-02 21:06:30 +02:00
Lukasz Jobczyk
deca36fd32
fix: Stop ULLS light when evict resource
...
Related-To: NEO-14406
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-04-02 16:37:43 +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
Szymon Morek
3fff3dd77b
fix: set misaligned source memory 1-way coherent
...
Related-To: NEO-14443
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-03-28 14:16:45 +01:00
Compute-Runtime-Validation
88a48f1c5b
Revert "performance: Improve ULLS light residency management"
...
This reverts commit 35eae3f977 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-28 11:21:27 +01:00
Lukasz Jobczyk
b43b23b6ed
fix: Init wait utils after hwInfo init for both OS
...
Resolves: HSD-18041922513
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-27 16:45:22 +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
Compute-Runtime-Validation
a89113fa1a
Revert "fix: Fail device init if kernel debugging is misconfigured"
...
This reverts commit c122bc51f9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-26 13:27:12 +01:00
Brandon Yates
c122bc51f9
fix: Fail device init if kernel debugging is misconfigured
...
Also print error to stderr
Related-to: GSD-10780
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-03-25 20:40:25 +01:00
Lukasz Jobczyk
35eae3f977
performance: Improve ULLS light residency management
...
-skip bo::wait if completion fence not needed
-do not restart exec on evict
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-24 17:48:55 +01:00
Pratik Bari
f67663d863
fix(sysman): Create Engine Handles for multiple gt w.r.t Xe driver
...
For the Xe driver, a single tile can have multiple gts. Now the Engine
handles are created for multiple gts available on the single tile as in
the case for the Xe driver.
Related-To: NEO-14401
Signed-off-by: Pratik Bari <pratik.bari@intel.com >
2025-03-24 17:14:02 +01:00
Bartosz Dunajski
42ced7f5eb
refactor: add NotLockable param print
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2025-03-24 16:22:21 +01:00
Szymon Morek
bb10290828
fix: make misaligned user memory 2-Way coherent
...
Related-To: NEO-9004
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-03-21 17:56:37 +01:00
Lukasz Jobczyk
6cb52f71b4
fix: Avoid mutex deadlock when switch ulls light ring buffer
...
Related-To: NEO-14406
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-19 11:47:40 +01:00
Maciej Plewka
36fa6d66ae
fix: lock csr in stopDirectSubmission if needed
...
Related-To: NEO-13875, NEO-14143, HSD-16026538384, HSD-16026780358
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-03-18 09:30:38 +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
Mateusz Hoppe
9d052cd8ee
fix: pass rootDevice when creating secondary contexts
...
- fix initialization of gfxCoreHelper in drm and wddm
Related-To: NEO-7824, NEO-8171
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-03-17 16:03:27 +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
John Falkowski
4d281cf51d
feature: Implement appendMemoryPrefetch for Shared System USM allocations
...
Related-To: NEO-12989
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2025-03-13 06:26:38 +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
Compute-Runtime-Validation
fa2e3adad3
Revert "feature: Implement appendMemoryPrefetch for Shared System USM Allocat...
...
This reverts commit 97799b3faf .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-12 05:55:32 +01:00
Compute-Runtime-Validation
0d5baa2c30
Revert "performance: Cache timestamps on CPU"
...
This reverts commit 83637404bf .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-12 04:41:46 +01:00
Lukasz Jobczyk
83637404bf
performance: Cache timestamps on CPU
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-11 13:40:18 +01:00
John Falkowski
97799b3faf
feature: Implement appendMemoryPrefetch for Shared System USM Allocations
...
Related-To: NEO-12989
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2025-03-11 09:12:48 +01:00
Fabian Zwoliński
f5e37e725c
Revert "fix: configure ISA Pool params based on productHelper"
...
This reverts commit bf20ae7ae8 .
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-03-10 22:41:13 +01:00
Compute-Runtime-Validation
6ee39ed94c
Revert "fix: Fail device init if kernel debugging is misconfigured"
...
This reverts commit b0c92ea425 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-10 12:23:07 +01:00
Brandon Yates
b0c92ea425
fix: Fail device init if kernel debugging is misconfigured
...
Also print error to stderr
Related-to: GSD-10780
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-03-08 05:02:42 +01:00
Slawomir Milczarek
8e251ed274
refactor: Extended drm wrapper with primary context export / import handle
...
Related-To: NEO-12952
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2025-03-07 15:17:34 +01:00
Maciej Bielski
8ad6a7a86b
feature: unify local memory size getter for i915 and xe
...
Previously i915 was using a sysfs node to query the amount of local
memory of a tile. For xe such sysfs node does not exist so the function
was useless.
Instead of a sysfs node, leverage the local memory size present in
MemoryInfo (queried at init-stage) so that the output is now the same
for both i915 and xe.
Related-To: NEO-11127
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-03-07 09:50:19 +01:00
Szymon Morek
f08b32761e
fix: avoid race when evicting resources
...
Related-To: NEO-13843
DrmMemoryOperationsHandler::mutex is used for residency
handling.
However, this mutex is not being locked during eviction when vm bind
failed.
This is causing races for example when ULLS controller wants to make
resources resident, and user thread wants to evict
them.
Fix is to explicitly obtain lock in problematic path.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-03-07 07:01:41 +01:00
Tomasz Biernacik
1aa418ec15
performance: override cacheable value passed to gmm on linux
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-03-06 21:45:01 +01:00
Lukasz Jobczyk
61fe9ebb8f
performance: Allow power efficient waits with ULLS light
...
Resolves: HSD-18041633458
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-06 14:20:58 +01:00
Tomasz Biernacik
92512fdc64
fix: preserve allocation type for memory object
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-03-05 14:48:57 +01:00
Compute-Runtime-Validation
98d1d629a8
Revert "feature: Enable defer backing by default"
...
This reverts commit fffe8f8027 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-05 03:35:03 +01:00