Commit Graph

1732 Commits

Author SHA1 Message Date
Maciej Bielski
147bd894ec refactor: use PRINT_STRING macro for most diagnostics
Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-11-28 13:28:29 +01:00
Michal Mrozek
68d01f398f refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-11-28 13:08:13 +01:00
Mateusz Hoppe
015d14891d performance: wrap xeLogs in macro to prevent evaluation of args
Related-To: NEO-14153

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-11-27 16:01:29 +01:00
Jaroslaw Warchulski
cc79a136c9 refactor: do not use C headers
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-25 12:07:50 +01:00
Bellekallu Rajkiran
2ea3686d86 performance: Make memory resident before cpu access
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-21 01:22:31 +01:00
Fabian Zwoliński
4078022318 fix: configure ISA Pool params based on productHelper
When is2MBLocalMemAlignmentEnabled returns true,
increase pool size for builtins from 64k to 2MB.

Additionally, set appropriate alignment for kernel ISA heap allocations.
Additionally, configure isaAllocationPageSize based on productHelper.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-11-20 18:08:14 +01:00
Bellekallu Rajkiran
864020e12d refactor: Merge duplicate if blocks
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-20 16:39:31 +01:00
Jaroslaw Warchulski
cc724285d0 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 16:28:49 +01:00
Mateusz Jablonski
8db92240fc refactor: add wrapper for max product enum value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 08:04:57 +01:00
Bellekallu Rajkiran
794798d858 performance: Make memory resident before cpu access
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-20 07:48:07 +01:00
Jaroslaw Warchulski
a52f526929 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-19 16:03:24 +01:00
Jemale Lockett
dbf9e7ff63 refactor: Add conditions for metadata and vmbind handling
Resolves: NEO-16089

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-11-18 21:08:04 +01:00
John Falkowski
02848968be feature: Add product helper for shared system USM enabling
Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-11-17 16:40:09 +01:00
Lukasz Jobczyk
09981f7102 refactor: Move residency controller to wddm
Resolves: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-17 15:01:09 +01:00
Jakub Nowacki
be34c1ac86 performance: move instead of copy
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-11-14 16:30:05 +01:00
Jaroslaw Warchulski
b1dbeebe01 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-13 12:15:33 +01:00
Jemale Lockett
5677d4b9ab refactor: Update eudebug header
Resolves: NEO-16069

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-11-13 00:40:42 +01:00
Falkowski, John
cfa007e551 feature: Set shared system USM madvise preferred location as prefetch region
Resolves: NEO-16482

Signed-off-by: Falkowski, John <john.falkowski@intel.com>
2025-11-11 04:04:57 +01:00
Compute-Runtime-Validation
ae7f494305 Revert "refactor: Update eudebug header"
This reverts commit 76b0332f10.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-08 14:30:29 +01:00
Jemale Lockett
76b0332f10 refactor: Update eudebug header
Resolves: NEO-16069

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-11-07 20:49:34 +01:00
Compute-Runtime-Validation
156e7fd9f0 Revert "refactor: Update eudebug header"
This reverts commit c410b54866.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-07 11:42:25 +01:00
Compute-Runtime-Validation
7b1c8e10ba Revert "feature: Set shared system USM madvise preferred location as prefetch...
This reverts commit 6b63304673.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-07 11:26:40 +01:00
Jemale Lockett
c410b54866 refactor: Update eudebug header
Resolves: NEO-16069

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-11-06 08:16:08 +01:00
John Falkowski
6b63304673 feature: Set shared system USM madvise preferred location as prefetch region
Resolves: NEO-16482

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-11-05 15:37:08 +01:00
Pratik Bari
811ed064d2 fix: Fix unrecoverable abort during device destruction
An inappropriate ioctl call for the device is observed when both zesInit
and zeInit are called in a process and Sysman device reset is called.
A condition has been added in the UNRECOVERABLE_IF to prevent crash
during cleanup.

Related-To: NEO-16439

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-11-03 15:38:37 +01:00
Brandon Yates
acc7747abc fix: Fix memory corruption in toDrmEuDebugEuControl
This function was unnecessarily creating a new allocation for bitmaskPtr
This allocation was lost then the object went out of scope, which broke
existing flows

Related-to: NEO-16068

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-10-31 08:57:07 +01:00
Compute-Runtime-Validation
56ce056ee2 Revert "feature: enable defer backing by default"
This reverts commit 19bef4f891.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-30 03:02:30 +01:00
John Falkowski
9590a42c10 feature: Enable madvise autoreset by default for shared system USM
Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-10-29 17:19:27 +01:00
Narendra Bagria
19bef4f891 feature: enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-10-27 16:49:02 +01:00
Mateusz Hoppe
ce61eebafa feature: add primary context helper methods to ioctl helper xe
Related-To: NEO-16521

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-10-27 15:26:37 +01:00
Mateusz Jablonski
b97754c107 refactor: create gmm page table manager from branch specific file
Related-To: NEO-11080

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-24 15:00:11 +02:00
Mateusz Jablonski
145f03c294 refactor: encapsulate gmm page table manager handle
wrap destruction logic within unique ptr

set csr handle when creating page table manager

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-24 12:50:10 +02:00
Compute-Runtime-Validation
ad05878165 Revert "refactor: Move residency controller to wddm"
This reverts commit d9624a270c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-24 11:38:41 +02:00
Bellekallu Rajkiran
4573511966 refactor: Refactor user fence setup logic
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-10-24 11:22:26 +02:00
Mateusz Jablonski
ff200e94ab fix: don't create page table manager in Drm path
Page table manager is needed only for gen12 and xe-lpg
when compression is enabled. However, above platforms have
compression disabled in drm path

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-22 15:41:59 +02:00
Mateusz Hoppe
e3185e00fd refactor: add new xe ioctl helper method
- allows setting context properties for root device

Related-To: NEO-16521

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-10-21 16:53:09 +02:00
Lukasz Jobczyk
d9624a270c refactor: Move residency controller to wddm
Resolves: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-21 14:56:14 +02:00
Mateusz Jablonski
d0457e9e2d fix: unify setting BDF in gmm input args in drm path
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-21 14:45:13 +02:00
Jemale Lockett
5df120ddbc refactor: Add function to return eudebug interface type
Resolves: NEO-16006

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-20 16:41:32 +02:00
Grochowski, Stanislaw
6a8b20edb8 fix: add media context helper
Related-To: NEO-16154

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-10-16 15:26:08 +02:00
Chandio, Bibrak Qamar
49020f234d feature: Support for pStart
Related-To: NEO-15156, GSD-9939

Support for start address hint on 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-10-16 00:22:00 +02:00
Jemale Lockett
0528f24764 refactor: Remove unnecessary function definition
Related-To: NEO-16425

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-15 16:49:09 +02:00
Jemale Lockett
0de2b26c7c fix: Fix mixed deletion errors
Resolves: NEO-16425

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-14 20:25:32 +02:00
Jemale Lockett
765af92aca refactor: Add type conversion handling methods for EuDebugInterface
Resolves: NEO-16068

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-10-13 23:56:33 +02:00
Szymon Morek
f90f73e3e4 fix: don't create threads during process shutdown
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-13 18:09:41 +02:00
Fabian Zwoliński
226846323f feature: add memsetAllocation helper with blitter support
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-10 15:12:17 +02:00
Brandon Yates
7b27c3668e fix: calculate subSlicesPerSlice correctly on XeKmd
Populate SliceInfo during topology creation.
Set L0 device props subslicesPerSlice to max
enabled subslice on any slice.

Related-to: NEO-16283

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-10-10 10:44:23 +02:00
Szymon Morek
4df9783448 performance: use 2MB heaps for 2MB-aligned allocations
Related-To: NEO-16165

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-06 18:11:01 +02:00
Radoslaw Jablonski
54de14a9dc refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-10-06 15:32:46 +02:00
Mateusz Jablonski
710d70a787 refactor: remove not needed code
Related-To: NEO-16154

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-02 11:41:08 +02:00