Commit Graph

2600 Commits

Author SHA1 Message Date
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
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
Lukasz Jobczyk
3e2acefac1 fix: Do not align svm gpu greater than its svm cpu
Resolves: HSD-18042781233

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-05 07:52:18 +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
Mateusz Jablonski
cabb92c9e1 fix: fail device initialization for incorrect product string in non-hw mode
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-01 16:21:40 +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
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
Bartosz Dunajski
d693daf339 fix: fallback copy offload to compute if max copy fill pattern exceeded
Related-To: GSD-11436

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-29 17:00:50 +02:00
Maciej Plewka
ced6c55caf fix: use alignment when allocate by win kmd
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-29 12:42:03 +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
Mateusz Jablonski
05cf05e10e refactor: remove redundant tracking of media sampler programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-28 15:17:46 +02:00
Pawel Szymichowski
211cd3dd5d fix: Remove RTLD_DEEPBIND from dlopen call
Resolves: NEO-15651

Signed-off-by: Pawel Szymichowski <pawel.szymichowski@intel.com>
2025-07-28 11:02:13 +02:00
Bartosz Dunajski
8156c9d5aa feature: adjust required engines count for aggregated split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-25 15:51:30 +02:00
Bartosz Dunajski
1a51b7a214 refactor: remove not needed method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-24 17:24:46 +02:00
Filip Hazubski
58b4d1951a Revert "fix: RTDispatchGlobals programming"
This reverts commit fe34302a3a.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-24 16:30:24 +02:00
Maciej Plewka
88fb60a515 fix: do not align to 64kb when requested alignment is bigger
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-22 19:32:29 +02:00
Chodor, Jaroslaw
74f04acb88 feature: Record&Replay support for additional API calls
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-19 02:56:47 +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
Szymon Morek
1d842c58bf performance: don't terminate ULLS if BCS is busy
Related-To: NEO-15452

If CCS is idle, but BCS is busy, keep CCS ULLS
context running. BMG only.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-17 17:46:23 +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
Tomasz Biernacik
2c5cbec033 feature: control post sync completion check
Related-To: NEO-14844

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-07-15 13:51:19 +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
Compute-Runtime-Validation
a585cb45b7 Revert "fix: use alignment when allocate by kmd"
This reverts commit 72492a9a18.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-12 07:48:44 +02:00
Maciej Plewka
72492a9a18 fix: use alignment when allocate by kmd
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-09 15:16:12 +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
Aleksandra Nizio
6975f7bb8d fix: Disable compiler cache if any IGC_ env is set
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-07 09:55:49 +02:00
Lukasz Jobczyk
0b6789187a fix: Apply alignment when allocate by kmd
Resolves: HSD-18042740668

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-02 12:31:48 +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
Krzysztof Gibala
7ef630d202 fix: use 'w+' mode for gdi.log to prevent errors when file does not exist
Error encountered:
```markdown
Debug Assertion Failed!
File: minkernel\crts\ucrt\inc\corecrt_internal_stdio.h
Line: 686
Expression: ("Invalid file open mode", 0)
```

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-07-01 12:26:07 +02:00
Raiyan Latif
b5f6cdf59b fix: Add missing field in DRM wrapper for ext semaphore
Related-To: NEO-15298

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-30 20:21:49 +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