Commit Graph

1091 Commits

Author SHA1 Message Date
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
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
Michal Mrozek
6ef0af7e22 refactor: remove redundant code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-25 16:14:42 +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
Kamil Kopryk
292970a5d3 test: temporarily skip ults
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-08-22 16:57:49 +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
Michal Mrozek
3b017d41a7 refactor: remove not needed debug variable
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-20 15:03:08 +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
Kindracki, Jakub Tomasz
43d4264047 test: Fix minor compiler errors in ULTs with optimizations enabled
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-19 10:16:59 +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
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
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
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
Compute-Runtime-Validation
c9456cda14 Revert "feature: Support for pStart"
This reverts commit a50c0dbecf.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-06 02:26:13 +02:00
Chandio, Bibrak Qamar
a50c0dbecf 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-05 10:14:01 +02:00
Maciej Plewka
2c287c7c3b fix: allow to use bigger alignment than 2mb on linux
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-08-04 11:38:50 +02:00
Slawomir Milczarek
fa4fd26be2 fix: Add missing registration of allocation from shared handle to smem
Related-To: NEO-12952

Fixes debug assert triggered in unregisterAllocation()
for GPU_TIMESTAMP_DEVICE_BUFFER imported from shared handle:Y
DEBUG_BREAK_IF(allocation->getUnderlyingBufferSize() > sysMemAllocsSize);

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-08-04 09:00:11 +02:00
John Falkowski
a45f47fad1 refactor: Disable Shared System USM if CPU addr range unacceptable
Related-To: NEO-15680

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-08-01 07:50:46 +02:00
Neil R. Spruit
b4f37f3a98 fix: Allocate debug surface and isa as BO instead of userptr
Related-To: NEO-14269

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-07-31 20:24:54 +02:00
Mateusz Jablonski
2204836941 test: move multi threaded drm gem close worker tests to mt tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-31 14:08:14 +02:00
Radoslaw Jablonski
2a236d079c feature: add device caps helpers
Related-To: NEO-13039

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-07-30 15:03:38 +02:00
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