Commit Graph

1062 Commits

Author SHA1 Message Date
John Falkowski
5aed2bcdce refactor: Use min GPU/CPU address range for system allocator vmBind
Related-To:  NEO-15680

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-07-29 17:08:00 +02:00
Kindracki, Jakub Tomasz
a73d5724e3 feature: Return insufficient permissions when driver device cannot be loaded
Return ZE_RESULT_ERROR_INSUFFICIENT_PERMISSIONS when user doesn't have
permissions to access the GPU driver device file.

Related-To: NEO-8682
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-07-28 16:31:07 +02:00
Eric Mortensen
69f2cda2fa fix: add error checks & return to unMapVirtualMem
Related-To: NEO-8566

Signed-off-by: Eric Mortensen <eric.mortensen@intel.com>
2025-07-17 23:53:19 +02:00
John Falkowski
d3564fab68 refactor: Use common default pat index for vmUnbind
Related-To: NEO-13697

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-07-17 10:41:38 +02:00
Maciej Plewka
12ab2131d8 fix: use alignment when allocate by linux kmd
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-14 09:29:41 +02:00
Fabian Zwoliński
316ef0ac74 test: resolve unsafe type conversion
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 15:06:30 +02:00
Fabian Zwoliński
0bca8782c2 fix: resolve SVM allocation size mismatch for 2MB pages
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 13:32:01 +02:00
Mateusz Jablonski
9dbdbd50f2 test: mock file system in file logger tests
Related-To: NEO-14110
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-04 14:42:00 +02:00
Krzysztof Sprzaczkowski
5a057bbd46 feature: Add PCI barrier mmap logic for xe
Related-To: NEO-13081
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-07-01 16:32:54 +02:00
Marcel Skierkowski
f0d5cf7530 test: StreamCaptureStdErr on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-01 11:52:43 +02:00
Szymon Morek
af6ac59a40 Revert "fix: Override timestamp width from KMD"
This reverts commit 7f2b806413.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-30 16:10:01 +02:00
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
Chandio, Bibrak Qamar
c1867ed981 feature: atomic attributes for shared system alloc
Related-To: NEO-13715, NEO-14862

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-06-23 20:14:47 +02:00
Slawomir Milczarek
e7032ab032 fix: Fixed function for printing execution buffer to return correct vm id
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-20 12:38:56 +02:00
Jaroslaw Warchulski
49152d957f test: cleanup in common matchers
IsAtLeastGen12LP / IsNotWithinXeGfxFamily / IsNotXe2HpgCore /
IsWithinXeHpgCoreAndXe3Core / IsWithinXeHpcCoreAndXe3Core -> deleted
IsAtLeastXeHpCore -> IsAtLeastXeCore
IsBeforeXeHpCore / IsBeforeXeHpgCore / IsAtMostXeHpCore -> IsGen12LP
IsXeHpOrXeHpgCore -> IsXeHpgCore
IsXeHpOrXeHpcCore -> IsXeHpcCore
IsNotXeHpOrXeHpgCore -> IsNotXeHpgCore
IsNotXeHpOrXeHpcCore -> IsNotXeHpcCore
IsWithinXeGfxFamily / IsXeHpcOrXeHpgCore / IsXeHpOrXeHpcOrXeHpgCore ->
IsXeCore
IsNotXeHpgOrXeHpcCore -> IsNotXeCore
IsWithinXeHpCoreAndXe2HpgCore -> IsWithinXeCoreAndXe2HpgCore
IsXeHpcCoreOrXe2HpgCore -> IsWithinXeHpcCoreAndXe2HpgCore
IsWithinXeHpCoreAndXe3Core -> IsWithinXeCoreAndXe3Core
IsXe2HpgCoreOrXe3Core -> IsWithinXe2HpgCoreAndXe3Core
IsAtLeastBmg -> IsAtLeastXe2HpgCore
IsBeforeXeHpcCore -> IsAtMostXeHpgCore
IsBeforeXe2HpgCore / IsAtMostArl / IsAtMostXeHpcCore -> IsAtMostXeCore

Related-To: NEO-12681
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-06-18 10:48:17 +02:00
Kindracki, Jakub Tomasz
43f524d019 test: remove resetCommandStreamReceiver from tests
Added HWCMDTEST_TEMPLATED_F type of tests.
Removed resetCommandStreamReceiver from as many of this tests as
possible.

Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-06-17 17:16:00 +02:00
Slawomir Milczarek
027e5597a3 fix: Fixed function for printing BO binding results to show correct vm id
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-17 11:05:00 +02:00
Compute-Runtime-Validation
763fe6ff86 Revert "feature: Enable defer backing by default"
This reverts commit bf8de245d9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-17 06:31:27 +02:00
Brandon Yates
4f711cf5d8 performance: skip resource registration when debugging disabled
Related-to: NEO-15147

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-06-16 22:53:28 +02:00
Bellekallu Rajkiran
bf8de245d9 feature: Enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-06-16 10:39:08 +02:00
Kamil Kopryk
bb52c358b9 refactor: flush Task method
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-15011

Also correct ults
2025-06-11 16:36:56 +02:00
Marcel Skierkowski
a52260ce63 test: StreamCapture on pipes
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-06-11 15:37:01 +02:00
Brandon Yates
540fa19894 fix: mark resources for capture even when debugger is not init
Some allocations are created before debugger is initialized. This change
will ensure they get marked for capture.

Debugger Enabled check added to bind path where capture flag is set

Related-to: GSD-10856

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-06-04 16:21:22 +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
Radoslaw Jablonski
2762166a7b feature: add device caps query ioctl
Related-To: NEO-13039

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-05-30 16:28:28 +02:00
Mateusz Jablonski
60dfdda1a3 fix: don't fail initialization for small bar config in i915 path
https://github.com/intel/compute-runtime/issues/831
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-29 12:38:09 +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
Filip Hazubski
3dc32cec88 feature: Add debug key to override number of threads per EU
Related-To: HSD-22021012755, NEO-14749

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-05-23 16:20:40 +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
Tomasz Biernacik
0d0a12b04e test: add coverage for overriding cacheable flag by DRM
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-05-21 09:55:22 +02:00
Maciej Bielski
0f8ee57f98 feature: add NEO_LOCAL_MEMORY_ALLOCATION_MODE
Allow the application to force storageInfo.localOnly and get the
out-of-memory returned if not possible.

This is a windows-only feature supported on discrete platforms.

Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-05-20 14:15: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
Szymon Morek
23c817803d performance: enable compression for iGPU on linux
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-19 16:20:37 +02:00
John Falkowski
468c62086e refactor: Gate shared system mem caps with KMD cap
If KMD not capable then set sharedSystemAllocCapabilities=0

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-19 11:08:19 +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
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
Lukasz Jobczyk
cca51ce3e5 fix: Add shared VA surface to ulls light residency
Resolves: GSD-11126

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-14 08:30:55 +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
Falkowski, John
8fb0a7c67f refactor: Disable SharedSystemUsmSupport by default
Support only enabled by setting EnableSharedSystemUsmSupport=1

Related-To: NEO-12988

Signed-off-by: Falkowski, John <john.falkowski@intel.com>
2025-05-12 17:10:11 +02:00
Compute-Runtime-Validation
9c9a0a87b9 Revert "refactor: Disable SharedSystemUsmSupport by default"
This reverts commit 0765b13a10.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-12 04:01:45 +02:00
John Falkowski
0765b13a10 refactor: Disable SharedSystemUsmSupport by default
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-09 21:09:27 +02:00
Lukasz Jobczyk
5cd5bbafc5 refactor: Split waitpkg params for ulls light and default
Related-To: NEO-14866

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-09 12:40:36 +02:00
Michal Mrozek
6f4a397cfc refactor: remove not required parameter
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-05-08 23:13:06 +02:00
Compute-Runtime-Validation
7167f45199 Revert "refactor: Gate shared system mem caps with KMD cap"
This reverts commit 8e59ac7576.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-08 11:26:52 +02:00
Michal Mrozek
afdc04975f refactor: remove ftrSvm variable
- it is true on all platforms.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-05-07 16:16:42 +02:00
John Falkowski
8e59ac7576 refactor: Gate shared system mem caps with KMD cap
Enabled only by setting EnableSharedSystemUsmSupport=1 flag

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-07 06:38:01 +02:00
Compute-Runtime-Validation
d477935ab9 Revert "refactor: Gate shared system mem caps with KMD cap"
This reverts commit f38fae3b18.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-06 12:43:16 +02:00
John Falkowski
f38fae3b18 refactor: Gate shared system mem caps with KMD cap
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-06 07:28:59 +02:00
Jack Myers
27510b6e5e test: mark unused var for LNL
Build with only LNL enabled failed
due to unused static variable.

Variable is still used when other platforms
are enabled, so ``[[maybe_unused]]`` was added
to allow LNL-only builds to succeed.

Signed-off-by: Jack Myers <jack.myers@intel.com>
Related-To: NEO-14849
2025-05-06 01:25:20 +02:00