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
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
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
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
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
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
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
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
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
Brandon Yates
ee75c59da5
fix: check BANNED in reset_stats before aborting when debugger is enabled
...
Related-to: GSD-10788
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-05-05 11:51:27 +02:00
Maciej Bielski
bf68fed199
test: mark a function as override
...
Clang-tidy rule: `[modernize-use-override]`
Related-To: NEO-14506
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-04-15 14:32:27 +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
Marcel Skierkowski
5d01677454
refactor: Mock file system in ULTs
...
Functions: fileExists and loadDataToFile
use IO functions from namespace IoFunctions
Now tests that use these functions
are mocked by default,
but some still require access to real files
and have been restored the ability to read files.
They will be mocked in next PRs.
Related-To: NEO-7006
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-04-09 19:51:46 +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
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
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
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
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
Chuansheng Liu
1876a43024
performance: add low latency hint for i915
...
i915 has provided the low latency hint interface, it helps
improve the performance for light workload a lot.
Related-To: NEO-14250
Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com >
2025-03-04 11:14:04 +01:00
Brandon Yates
106e8be9a9
fix: Don't abort application due to gpu fault when debugging is enabled
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-30 23:37:50 +01:00
Naklicki, Mateusz
218122c46b
test: make sure scratch pages are disabled on pvc+
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-01-16 14:23:24 +01:00
Naklicki, Mateusz
3e29ca9057
fix: explicitly disable scratch pages on xekmd platforms
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-01-16 12:09:27 +01:00
Compute-Runtime-Validation
95b3d16d76
Revert "fix: add scratch page support with xekmd"
...
This reverts commit dec695f405 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-12-23 19:05:29 +01:00
Naklicki, Mateusz
dec695f405
fix: add scratch page support with xekmd
...
Also explicitly disable it by default.
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-12-23 11:00:12 +01:00
Mateusz Jablonski
e7a8936d70
test: don't use product specific ioctl helper in generic tests
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 17:26:12 +01:00
Mateusz Jablonski
593a6c54ea
feature: add debug flag to ignore product specific ioctl helper creation
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 13:52:30 +01:00
Mateusz Jablonski
270570c5d3
refactor: move i915 specific logic to ioctl helper i915
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 09:44:30 +01:00
Young Jin Yoon
ebdded1bb9
fix: change error message for GPU page fault
...
Change the error message for GPU page fault to match
with the message from gdb output
Related-To: NEO-13093
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-10-26 01:29:50 +02:00
Oskar Hubert Weber
3ccab79ed8
test: dir create
...
Related-To: NEO-11500
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-08-05 13:58:25 +02:00
Mateusz Jablonski
8edc40adbc
fix: populate SliceInfo based on TopologyMap in drm path
...
pick minimal config in case of multi tile
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-31 15:55:21 +02:00
Wenbin Lu
e2f1735cc5
test: use realistic values in topology query tests
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-29 16:34:22 +02:00
Mateusz Jablonski
382584067a
fix: setup initial l3 bank count before querying topology
...
Resolves: NEO-12169
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-29 12:24:45 +02:00
Mateusz Jablonski
71f4088a1e
fix: correct hw info setting in drm path
...
add fallback to get max eu per ss from topology if not available in other way
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 17:23:56 +02:00
Mateusz Jablonski
85df385582
fix: ensure system info is queried before querying topology
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 16:03:59 +02:00
Mateusz Jablonski
0cdfa882eb
fix: correct setting hw info in drm flow
...
firstly, setup hw info using product specific functions
secondly, query system info from GuC to setup max values
then, query memory info
then, query engine info as it depends on memory info
then, query topology as it depends on engine info
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 12:20:40 +02:00
Compute-Runtime-Validation
4dc737fc4a
Revert "fix: correct setting hw info in drm flow"
...
This reverts commit 3b2a0983f5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-25 05:41:33 +02:00
Mateusz Jablonski
3b2a0983f5
fix: correct setting hw info in drm flow
...
firstly, setup hw info using product specific functions
secondly, query system info from GuC to setup max values
thirdly, query topology to setup current topology data
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-24 16:18:58 +02:00
Mateusz Jablonski
64873a5dd2
test: remove dependency of i915 from mock ioctl helper
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-24 13:21:48 +02:00
Wenbin Lu
357a607d22
refactor: correct the naming of some topology-related variables
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-24 08:39:12 +02:00
Compute-Runtime-Validation
1929e54e91
Revert "feature: temporarily enable scratch page on pvc"
...
This reverts commit e3b97e3716 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-12 09:55:25 +02:00
Mateusz Hoppe
c660784df2
fix: fallback path while creating drm context
...
- if create VM ioctl fails, fallback to query VM from created context
- in fallback path context's VM will not have flags applied
Related-To: NEO-7813
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-09 14:10:51 +02:00
Young Jin Yoon
e3b97e3716
feature: temporarily enable scratch page on pvc
...
Enabled scratch page by default on PVC by setting
isDisableScratchPagesSupported to false for PVC.
Related-To: GSD-7742
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2024-07-01 21:50:16 +02:00
Bartosz Dunajski
da9c009b88
feature: assign unique interrupt to queue
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-07 10:06:31 +02:00
Katarzyna Cencelewska
12d1bce6b9
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-22 16:50:17 +02:00
Compute-Runtime-Validation
94a4bbac57
Revert "fix: change gmm resource for externalHostPtr"
...
This reverts commit 63843862df .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-21 07:43:53 +02:00
Katarzyna Cencelewska
63843862df
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-21 00:43:29 +02:00