Commit Graph

2522 Commits

Author SHA1 Message Date
Herman Semenoff 2c276491b2
Merge fa23a41482 into 556c0b64c6 2025-05-29 00:18:03 +08:00
Mateusz Jablonski 72e1ec3b42 fix: pass additional adapter info caps to gmmlib for wddm windows
Related-To: HSD-18041684792
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-27 12:43:31 +02:00
Lukasz Jobczyk a0f683e42b fix: Move evict after unlock to wddm layer
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-27 10:52:23 +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
Mateusz Hoppe 0d57dcfdf0 feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-23 09:24:16 +02:00
Compute-Runtime-Validation 593c9e76f2 Revert "fix: correct limitation for num threads per thread group"
This reverts commit 6ad4ad41b1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-23 02:51:17 +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
Arek G db84fc713c performance: Disable ULLS if Power Hints are set to 100 (max)
Related-To: NEO-14763, HSD-16026432518

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-05-22 16:57:17 +02:00
Katarzyna Cencelewska 6ad4ad41b1 fix: correct limitation for num threads per thread group
taking into account the max work group limit

Resolves: NEO-14922
Related-To: NEO-11881
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-05-22 00:06:21 +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
Slawomir Milczarek 0b46fb9f0d refactor: Add allocation type parameter to ioctl helper functions
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-05-21 17:06:33 +02:00
Szymon Morek 3ba25459e8 performance: set timestamps as non-coherent since xe2
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-21 07:49:56 +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
Slawomir Milczarek 70619b4e6c fix: Fixed build errors on RHEL 8.10
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-05-19 22:05:08 +02:00
Raiyan Latif 60eecb4ad4 fix: Override SYNCOBJ IOCTL value in i915 prelim helper
The IOCTL value of DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE in
prelim header was found to be different than in base
drm header.

Related-To: NEO-14676

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-05-19 19:39:30 +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
Daniel Bermond e0362a7c39 build: add missing headers for GCC 15
For using fixed width integer types[1], the `<cstdint>`[2]
C++ header needs to be explicitly included with GCC 15 due
to changes[3] in libstdc++.

For details, see the documentation[4] about porting to GCC 15.

[1] https://en.cppreference.com/w/cpp/types/integer
[2] https://en.cppreference.com/w/cpp/header/cstdint
[3] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84
[4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx

Signed-off-by: Daniel Bermond <dbermond@archlinux.org>
2025-05-19 15:31:32 +02:00
Dominik Dabek c5c87ab6f9 fix: override for driver protection bits
Add product helper method, default no override.
Use single param. Usage unknown means no override.

Related-To: NEO-14482

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-05-19 12:36:23 +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
Mateusz Hoppe b03f625f03 feature: limit max LWS based on preferred number of workgroups per ss
- limit max LWS size when SLM and barriers are not used

Related-To: GSD-11112

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-16 20:28:00 +02:00
Compute-Runtime-Validation 0a096f1d50 Revert "fix: propagate error createInternalHandle wddm"
This reverts commit eeddd779f0.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-16 02:41:16 +02:00
Tomasz Biernacik e376e738f3 fix: disable deferring MOCS on WSL for LNL
Related-To: NEO-14643

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-05-15 16:50:43 +02:00
Dominik Dabek eeddd779f0 fix: propagate error createInternalHandle wddm
Unify with linux implementation, return -1 on error and 0 on success.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-05-15 15:52:37 +02:00
Maciej Bielski 6e54911cdd fix: do not evict explicitly resident allocations
Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-05-15 08:50:58 +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
Slawomir Milczarek 9d31f1af08 refactor: Remove padding in primary context handle structure
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-05-12 10:14:57 +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 df2c776aab refactor: Remove unused cmdq round robin engine assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-09 11:03:57 +02:00
Lukasz Jobczyk 1d1414febc refactor: remove unused dc flush mitigation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-09 08:26:26 +02:00
Lukasz Jobczyk 063b719a44 refactor: Adjust ulls support debug keys
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-08 13:00:05 +02:00
Szymon Morek 6ae43123f6 fix: correct usages of ULLS-related resources
Related-To: NEO-14360

Current gmm usage type of these resources is causing
them to be cached, which is incorrect.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-08 12:12:45 +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
Krzysztof Sprzaczkowski de72e91269 feature: Native GPU fence synchronization object implementation
Related-To: NEO-10811
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-05-07 11:00:34 +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
Lukasz Jobczyk ac7bd757a6 refactor: deallocate via gmm
Related-To: NEO-13051

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-06 18:12:46 +02:00
Tomasz Biernacik 310d8c2e58 fix: allow ringBuffer in coherent memory only for Xe2+
Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-05-06 15:31:59 +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
Mateusz Jablonski e1c5f770dc refactor: remove not needed IoctlHelperXePrelim
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-05 17:19:24 +02:00
Pratik Bari 22ddaea09f fix(sysman): Correct gtId is fetched from the EngineInfo
Related-To: NEO-14626

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-05-05 15:50:50 +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
Mateusz Jablonski 22b98e36ae fix: add getter for root context properties in ioctl helper xe-prelim
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-05 11:06:30 +02:00
Raiyan Latif ee4be92cc1 feature: Add TimelineWin32 External Semaphore support
Related-To: NEO-14397

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-05-01 18:51:58 +02:00