Commit Graph

18747 Commits

Author SHA1 Message Date
Zbigniew Zdanowicz
bc68b70b40 fix: perform full host synchronization upon immediate cmdlist destruction
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-10 22:00:44 +01:00
Zbigniew Zdanowicz
cd904269ed fix: request for task count should enable monitor fence dispatch
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-10 18:25:35 +01:00
Zbigniew Zdanowicz
fc770cacf2 feature: enable dispatch primary batch buffer from immediate
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-10 17:33:34 +01:00
Lukasz Jobczyk
8ede026c5d refactor: Use gmm resource info to print unknown usage
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-03-10 16:28:31 +01:00
Lukasz Jobczyk
5f70e1cb7b test: reset waitpkgUse on test start
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-03-10 15:43:36 +01:00
Tomasz Biernacik
ec7821ed84 performance: configure Xe2 compression
Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-03-10 15:40:00 +01:00
Pratik Bari
2b7e92b280 refactor: Set the sysman device directory name in SysmanKmdInterface
The name of the Sysman Device Directory is added as a parameter in
SysmanKmdInterface as the name depends on either i915 or xe driver

Related-To: NEO-14070

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-10 13:22:59 +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
ocldev
406048f43c build: gmmlib revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-03-08 06:39:02 +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
Raiyan Latif
80168b194f refactor: Set external semaphore version in L0
Related-To: NEO-14295

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-03-08 01:57:15 +01:00
ocldev
570e05774d build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-03-07 21:32:52 +01:00
Zbigniew Zdanowicz
f8be8414ac feature: add support for wait event preamble in append command list
- add mechanism in queue to trigger start command from queue to regular
- add detection in immediate command list need to dispatch extra start in queue
- fix secondary linear stream in immediate case as it should not use container
- modify tests for primary batch buffer dispatch as default mode
- remove invalid or obsolete tests

Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-07 20:31:09 +01:00
Compute-Runtime-Validation
571e0f2ba3 Revert "performance: enable staging read for cl_buffer"
This reverts commit 04b6e87869.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-03-07 20:30:54 +01:00
Szymon Morek
04b6e87869 performance: enable staging read for cl_buffer
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-03-07 18:56:06 +01:00
Maciej Plewka
c5e1fcf313 fix: Copy tiled 1D array per array element with BLT
Related-To: NEO-14147, HSD-14024424096, HSD-14024424178
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-03-07 17:29:04 +01:00
Tomasz Biernacik
e644b09433 performance: override allocation caching on integrated platforms
Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-03-07 15:44:00 +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
Dominik Dabek
2170f5ca88 refactor: usm reuse to unique ptr
Change usm allocation cache in usm manager to unique ptr

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-03-07 15:14:58 +01:00
Wojciech Konior
110359c6dc test: large grf test parser issue
Related-To: NEO-13585

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2025-03-07 12:26:56 +01:00
Lukasz Jobczyk
53062056ec performance: Enable wait pkg for ULLS light
Related-To: NEO-13922

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-03-07 12:18:38 +01:00
Jaroslaw Warchulski
413194bd2a Revert "fix: do not prefer image compression on xe_lpg for linux and WSL"
This reverts commit 8814b6ac4f.

Resolves: NEO-14286
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-03-07 11:38:46 +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
ocldev
14a8cbf5a8 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-03-07 06:24:41 +01:00
Compute-Runtime-Validation
52d45579c7 Revert "feature: supports core device handle with zesInit"
This reverts commit 320f03f5a6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-03-07 01:24:13 +01:00
Matias Cabral
7cc2db3a32 feature: metrics group calculate properties
Resolves: NEO-13993

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-03-06 23:01:26 +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
Damian Tomczak
81b0cac65f fix: raytracing heapless missing allocation
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-06 17:26:09 +01:00
Zbigniew Zdanowicz
2b370f6a6f feature: handle passing separate epilogue immediate command buffer
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-06 14:52:34 +01:00
Zbigniew Zdanowicz
bb61dafd72 feature: add support for local memory in check available space
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-06 14:52:19 +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
Maciej Plewka
a93cecac36 fix: treat tiled 1D images as 2D with height 1 for BLT copies
Related-To: NEO-14147, HSD-14024424096, HSD-14024424178
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-03-06 11:22:30 +01:00
Dominik Dabek
9eb8e1812c feature: flag to log usm reuse operations
If flag "LogUsmReuse" is set, usm reuse will log operations to csv file.
Each line will contain: timestamp, host/device, operation type,
allocation size, true/false whether operation succeeded.

This data can then be used to produce graphs and help in analyzing
usm reuse in a particular workload.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-03-06 11:06:27 +01:00
Szymon Morek
82fba79d9d performance: set 1ms timeout for ulls controller on LNL and PTL
Related-To: NEO-13843

Limit scope to Windows only.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-03-06 09:13:58 +01:00
Kulkarni, Ashwin Kumar
320f03f5a6 feature: supports core device handle with zesInit
Related-To: NEO-13805

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-03-06 05:30:37 +01:00
ocldev
6ba2d9be13 build: update level_zero revision to v1.21.1
Signed-off-by: ocldev <ocldev@intel.com>
2025-03-05 22:18:14 +01:00
Brandon Yates
64b027f71c feature: Add gfxCoreHelper for StateSip required
Related-to: NEO-12967

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-03-05 20:24:17 +01:00
Zbigniew Zdanowicz
566e52f72b feature: add main lock for both execute and flush
- both execute and flush have their own locks
- spliting these locks makes race condition
- obtain lock at higher level
- do not lock in queue when calling execute from immediate
- pass main lock to flush so can be unlocked before synchronize

Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-05 18:40:49 +01:00
Kamil Kopryk
4c795027e3 refactor: add check if event L3 flush is needed
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-03-05 18:25:29 +01:00
Artur Harasimiuk
b5127eb1ea ci: infra revision update
Related-To: NEO-13251
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2025-03-05 16:21:19 +01:00
Zbigniew Zdanowicz
ae1eb076b7 feature: add optional epilogue to flush task method
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-05 15:15:59 +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
Pratik Bari
01de772162 feature: Enable GuC based Engine Utilization counters for Sysman Engine
Related-To: NEO-14279

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-03-05 13:40:27 +01:00
Lukasz Jobczyk
5a04d1e10a refactor: Print unknown gmm usage type value
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-03-05 10:34:40 +01:00
ocldev
41c8ec4eec build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-03-05 06:19:27 +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
Compute-Runtime-Validation
3414abe74a Revert "fix: make global fence always resident on linux"
This reverts commit efb814d979.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-03-05 02:07:38 +01:00
Zbigniew Zdanowicz
27d7d72033 feature: add pipeline state management for append command list operation
- command list append state is managed from internal queue and can be skipped
- initial state configuration should be processed by both kernel and non-kernel
- only kernel operation can process required state, as non-kernel cannot change

Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-03-04 20:43:22 +01:00
Szymon Morek
ff4da67979 fix: signal notify field before KMD wait
Related-To: NEO-13870

Currently all monitor fences are triggering
interrupt due to Notify Enable field.
With this change, such field is programmed
right before KMD wait.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-03-04 15:19:16 +01:00