Commit Graph

2634 Commits

Author SHA1 Message Date
Mateusz Hoppe
0f657e8877 fix: allow creating hostptr allocations with GPU VA equal hostptr
- when host USM memory is allocated, gpu virtual address should be the
same as cpu address when chunking due to huge size is used

Related-To: GSD-11423

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-16 17:13:17 +02:00
Fabian Zwoliński
8cf8fe4f5a fix: use const auto& to avoid unnecessary copies
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-09-15 17:48:57 +02:00
Szymon Morek
a31eef9bf5 refactor: add option to retrieve comp format from GMM
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-12 15:37:25 +02:00
Mateusz Jablonski
92316c8cd6 fix: don't setup notifyAubCapture callback when not needed
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-12 11:28:37 +02:00
Vysochyn, Illia
f4bd4e603d refactor: Use else if instead of nested else-if conditions
Replaces nested else-if with else if for consistency and readability.
No functional changes.

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-09-11 16:20:59 +02:00
Mateusz Jablonski
ed15408592 fix: correct order of wddm initialization
init gmm after getting device and paging queue handles

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-11 16:14:49 +02:00
Filip Hazubski
0c2a8ef30b refactor: fix typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-09-11 15:55:38 +02:00
Lukasz Jobczyk
aa74555682 refactor: remove unused variable
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-09-11 12:01:32 +02:00
Compute-Runtime-Validation
eba3a2d685 Revert "feature: enable defer backing by default"
This reverts commit 34d4e526e9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-11 05:54:53 +02:00
Narendra Bagria
34d4e526e9 feature: enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-09-10 12:41:30 +02:00
Kamil Kopryk
56415ddac7 refactor: unify naming for l3 flush after post sync
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-10 08:12:39 +02:00
John Falkowski
1f281a01ee refactor: Add product helper getSharedSystemPatIndex
Resolves: NEO-15930

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-09-08 17:17:35 +02:00
Szymon Morek
03357b6089 performance: adjust size threshold for staging on linux
Related-To: NEO-15973

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-05 18:09:49 +02:00
Michal Mrozek
3f9c49f216 refactor: remove redundant code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-09-03 13:43:37 +02:00
Michal Mrozek
3ee33d26d9 refactor: remove not needed code
- low priority never uses direct submission

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-09-02 16:52:53 +02:00
Szymon Morek
90be39c9c0 performance: enable low latency hint on Xe
Related-To: NEO-14708

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-01 13:34:29 +02:00
Aviral Nigam
c1c1f1f0af fix: Fix number of channels and bus width calculation
Take number of memory channels from telemetry instead
of using hard coded value and calculate memory bus width
based on the formula

busWidth = numChannels * 32

Related-To: NEO-15629

Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
2025-08-29 16:29:43 +02:00
Lukasz Jobczyk
d8cc70a130 fix: Leave async builtin init only on PVC
Resolves: GSD-11652, GSD-11481

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-29 12:32:04 +02:00
Brandon Yates
4e8d340cf1 fix: Only primary drm context should enable eu debug
Related-to: HSD-18043158665

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-08-29 01:22:50 +02:00
Grochowski, Stanislaw
92a146c7d2 feature: platform interrupt support detection
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-28 12:47:29 +02:00
Grochowski, Stanislaw
12fa26f202 refactor: remove kmdaf from codebase
Related-To: NEO-14800

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-27 11:12:53 +02:00
Szymon Morek
228da24b38 performance: align alloc size to 2MB on XeKMD/iGPU
Related-To: NEO-15905

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-25 15:37:59 +02:00
Radoslaw Jablonski
393604ef80 refactor: numThreadsPerEu
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-25 11:31:49 +02:00
Slawomir Milczarek
8080d8d7ba feature: Add function to get priority level for queue
Related-To: NEO-14572

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-08-21 16:43:13 +02:00
Szymon Morek
d17255fe18 performance: add low latency hint on xe
Related-To: NEO-14708

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-21 13:09:38 +02:00
Filip Hazubski
40ad3cf6f1 feature: Query L3 bank group info from device blob
Related-To: HSD-14025718322, HSD-18041858866

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-19 14:46:19 +02:00
Neil R. Spruit
43ebc17e17 feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd
- Updated getfd and get IPC Handle helper functions to support opaque or
previous versions

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-18 16:23:44 +02:00
Compute-Runtime-Validation
1e681f8e8b Revert "feature: platform interrupt support detection"
This reverts commit e33865e9c2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:52:32 +02:00
Compute-Runtime-Validation
0855219087 Revert "feature: Support for opaque IPC handles on Windows and Linux"
This reverts commit 46b1b2783b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:22:02 +02:00
Mateusz Jablonski
ec36dd6275 refactor: move gmm callbacks definition to common place
- merge all the callbacks to single template class
- store callback functions in global arrays
- partially reuse callbacks on Linux

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-14 16:49:29 +02:00
Grochowski, Stanislaw
e33865e9c2 feature: platform interrupt support detection
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-14 09:28:33 +02:00
Brandon Yates
7c612a2a01 fix: Set MaxSlicesSupported to true max on linux
Related-to: HSD-18042764574

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-08-14 08:51:55 +02:00
Neil R. Spruit
46b1b2783b feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-14 08:33:56 +02:00
Compute-Runtime-Validation
6880014602 Revert "refactor: store gmm callback functions in global arrays"
This reverts commit a68ea38ba1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 23:19:58 +02:00
Szymon Morek
ce2d7ea67e fix: disable timestamp caching for platforms with dc flush
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-13 17:50:44 +02:00
Mateusz Jablonski
a68ea38ba1 refactor: store gmm callback functions in global arrays
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 14:12:23 +02:00
Jakub Nowacki
c4ab767797 fix: add missing NonCopyableAndNonMovable asserts
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-08-13 13:13:05 +02:00
Chandio, Bibrak Qamar
6acfcb83b9 Revert "Two commits related to pStart feature"
Related-To: NEO-15156, GSD-9939

Revert "test: fix minor errors"

This reverts commit 712dc8221e.

Revert "feature: Support for pStart"

This reverts commit 47caeda487.

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-13 07:10:40 +02:00
Filip Hazubski
4ac82c17f1 refactor: move method to release helper
Related-To: NEO-14998

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-11 19:41:52 +02:00
Radoslaw Jablonski
59c3b06eea refactor: xe topology
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-08 15:31:13 +02:00
Radoslaw Jablonski
c2d64cae6a refactor: queryDeviceCaps ioctl
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-08 14:43:23 +02:00
Compute-Runtime-Validation
b7472fa76f Revert "refactor: queryDeviceCaps ioctl"
This reverts commit 3117d2d2cb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-08 07:05:24 +02:00
Radoslaw Jablonski
e190e1b8ec fix: use relative subslice mapping indices in Xe DRM
This aligns behavior with i915 and L0 spec.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-07 15:58:48 +02:00
Radoslaw Jablonski
9ec004ba59 fix: don't resolve MaxEuPerSubSlice from Xe topology
All Xe platforms should provide MaxEuPerSubslice through System Info,
so there is no need to resolve it from topology.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-07 15:48:19 +02:00
Compute-Runtime-Validation
b40830c1e6 Revert "fix: MaxSubSlicesSupported should be set to total non-fused count"
This reverts commit ee0022d234.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-07 02:15:20 +02:00
Lukasz Jobczyk
4df323aca7 fix: disable async builtin init xe2 and later
Resolves: GSD-11426, GSD-11378, GSD-11424

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-06 12:56:34 +02:00
Chandio, Bibrak Qamar
47caeda487 feature: Support for pStart
Related-To: NEO-15156, GSD-9939

Support for start address hint in zeVirtualMemReserve.

If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-06 12:40:29 +02:00
Radoslaw Jablonski
3117d2d2cb refactor: queryDeviceCaps ioctl
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-06 12:22:03 +02:00
Brandon Yates
ee0022d234 fix: MaxSubSlicesSupported should be set to total non-fused count
Related-to: HSD-18042764574

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-08-06 12:09:36 +02:00
Tomasz Biernacik
28ca00fa1b feature: adjust max threads per EU count
Related-To: NEO-14998

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-08-06 09:02:54 +02:00