Commit Graph

190 Commits

Author SHA1 Message Date
Szymon Morek
a2c41e4749 fix: add mock for staging buffer size
No need to allocate 2MB in unit tests.
This commit changes this size to 4KB.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-22 08:36:01 +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
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
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
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 Hoppe
41efee1e7c feature: add mode to expose single root device
- simplify API to expose and use only single root device. Disallow
returning subdevices. This is experimental mode.

Related-To: NEO-14559

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-04-25 13:20:56 +02:00
Lukasz Jobczyk
f36e3c7d23 refactor: Disable gem close worker in ULTs
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-23 17:58:18 +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
Filip Hazubski
504440fc4d feature: Add ftrHeaplessMode flag
Pass hwInfo to isHeaplessModeEnabled and isForceBindlessRequired functions.

Related-To: NEO-14526

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-04-02 21:06:05 +02:00
Filip Hazubski
3d9fc8968e fix: Add BMG device id
Add device ID: 0xE211

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-03-28 13:40:30 +01: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
Wojciech Konior
817c6df46d fix: unify sources from shared added to dll&tests
Related-To: NEO-4372

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2025-03-25 16:39:18 +01:00
John Falkowski
4d281cf51d feature: Implement appendMemoryPrefetch for Shared System USM allocations
Related-To: NEO-12989

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-03-13 06:26:38 +01:00
Compute-Runtime-Validation
fa2e3adad3 Revert "feature: Implement appendMemoryPrefetch for Shared System USM Allocat...
This reverts commit 97799b3faf.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-03-12 05:55:32 +01:00
John Falkowski
97799b3faf feature: Implement appendMemoryPrefetch for Shared System USM Allocations
Related-To: NEO-12989

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-03-11 09:12:48 +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
ocldev
fd2a6b55c2 feature: brand string update
Related-To: NEO-7929

Updating device brand strings
Based on public support in Windows driver 32.0.101.6559
https://www.intel.com/content/www/us/en/download/785597/

Signed-off-by: ocldev <ocldev@intel.com>
2025-02-24 12:21:52 +01:00
Filip Hazubski
c306c457db fix: Add BMG device ids
Add following device ids: 0xE210, 0xE215, 0xE216

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-01-30 22:56:38 +01:00
Dominik Dabek
bebeef0e88 feature: enable usm reuse cleaner
Keep disabled in ULTs, except multi thread tests.

Related-To: NEO-13425

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-01-25 00:38:04 +01:00
Katarzyna Cencelewska
e221c61882 fix: add ptl device id to opensource
Related-To: IGC-11071
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-01-23 21:49:15 +01:00
ocldev
31300249c3 feature: brand string update
Related-To: NEO-7929

Updating device brand strings
Based on public support in Windows driver 32.0.101.6458
https://www.intel.com/content/www/us/en/download/785597/

Signed-off-by: ocldev <ocldev@intel.com>
2025-01-21 00:20:02 +01:00
Pryba, Michal
5218923b6d feature: add automotive sku to alchemist product family
Related-To: NEO-12234
Signed-off-by: Pryba, Michal <michal.pryba@intel.com>
2025-01-13 08:44:25 +01:00
Compute-Runtime-Validation
58707e0cf7 Revert "refactor: migration to std::make_unique C++17"
This reverts commit 4cf685cb7d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-09 01:41:36 +01:00
Semenov Herman (Семенов Герман)
4cf685cb7d refactor: migration to std::make_unique C++17
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru>
2025-01-08 17:20:00 +01:00
Mateusz Jablonski
bb1a125f0c feature: add support for Panther Lake platform
Related-To: NEO-12803

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-07 11:39:56 +01:00
ocldev
1809afeb96 feature: brand string update
Related-To: NEO-7929

Updating device brand strings
Based on public support in Windows driver 32.0.101.6297
https://www.intel.com/content/www/us/en/download/785597/

Signed-off-by: ocldev <ocldev@intel.com>
2024-11-18 13:41:53 +01:00
Chodor, Jaroslaw
d1ab846a5a refactor: cleanup around options files
This patchset improves handling of library names for NEO's dynamic
dependencies.

Related-To: NEO-12747

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-11-15 22:21:16 +01:00
Mateusz Jablonski
9c110b7c81 fix: allow compiling kernels for 20.1.1/20.1.4 releases
Related-To: NEO-13217
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-13 10:36:34 +01:00
Mateusz Jablonski
2054322041 build: update aot config header
stop using BMG_G21_A1 / BMG_G21_B0

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-07 14:46:50 +01:00
Mateusz Jablonski
19e2dd0846 refactor: remove legacy code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 17:25:08 +02:00
Brandon Yates
9b68736074 fix: Fix check for sysfs entry at debugger init time
Related-to: NEO-12656

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-09-17 13:42:49 +02:00
Wojciech Konior
4a375c80e7 refactor: modernize unique_ptr initialization
Related-To: NEO-12634

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2024-09-12 14:30:59 +02:00
Mateusz Jablonski
383d786f31 fix: correct including compiler product helper definition
inl file should be included only in enabler cpp files

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 20:20:39 +02:00
Mateusz Jablonski
c934877790 refactor: remove not needed function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-30 12:18:14 +02:00
Mateusz Jablonski
579af57161 refactor: don't call OsLibrary::load directly, use function pointer
this allows mocking this call in ULT

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 08:59:26 +02:00
Mateusz Jablonski
efb8240a00 refactor: rename OsLibrary::load function to distinguish functionality
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-16 01:35:41 +02:00
Michal Mrozek
d52ca080bd Revert "performance: improve pool handling"
This reverts commit a3c3b6533a.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-08-06 13:04:02 +02:00
Mateusz Jablonski
1fa7e14d0b fix: query engine info prior to query topology
don't setup l3 bank count in default gt sys info

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-25 16:17:44 +02:00
Brandon Yates
50fcb45038 feature: Disable per context VMs with debugger in heapless mode
Related-to: NEO-11791

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-17 16:22:24 +02:00
Mateusz Jablonski
778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Maciej Bielski
bfaf2309e8 refactor: cleanup setupHardwareInfo
Use only `usDeviceID` and `usRevId` (known to be correct) instead of
declaring `hwInfo` pointer until the type of the latter is completely
initialized.

Put initialization of all `hwInfo` fields into `setupHardwareInfo()` for
consistency and make overrides explicit.

Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-04 08:54:57 +02:00
Maciej Bielski
e2cec35f1f refactor: keep correct path on main branch in Drm::create
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-03 12:17:40 +02:00
Michal Mrozek
a3c3b6533a performance: improve pool handling
Related-To: NEO-11731
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-06-25 17:04:17 +02:00
Compute-Runtime-Validation
7136dfbd38 Revert "performance: improve pool handling"
This reverts commit 5f0b9efd2b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-24 12:47:19 +02:00
ocldev
286574b098 feature: brand string update
Related-To: NEO-7929

Updating device brand strings
Based on public support in Windows driver 31.0.101.5590
https://www.intel.com/content/www/us/en/download/785597/

Signed-off-by: ocldev <ocldev@intel.com>
2024-06-24 09:19:15 +02:00
Young Jin Yoon
1fc2a936fc fix: read scratch page options during init
Previous logic to initialize scratch page options during Drm::create
causes issues when PerContextVm is used, so moved the location of logic
to be configured before creating VM.

Related-To: GSD-7611
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-06-18 21:03:04 +02:00
Compute-Runtime-Validation
0f6ce05b93 Revert "fix: read scratch page options during init"
This reverts commit 9322495e7d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-17 03:29:03 +02:00