Jitendra Sharma
8f5a0995e0
fix: Dont directly use gtId as TileId
...
gtId is not same as tileId. instead use gtIdToTileId
to retrieve tileId based on gtId.
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2025-01-20 10:23:53 +01:00
Raiyan Latif
12e3204cab
fix: Process OpaqueWin32 external semaphore properly
...
Related-To: NEO-11488
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-01-20 00:22:14 +01:00
Jitendra Sharma
06ea5944bd
fix: Retrieve tileIndex using gt_id
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2025-01-16 17:45:03 +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
945c4a3ccc
Revert "feature: Enable page faults for xe driver with debugger"
...
This reverts commit 4300f0bdbe .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-16 11:16:14 +01:00
Krzysztof Sprzaczkowski
a17745532c
performance: Move preemption allocation init to the first submission
...
Related-To: NEO-12323
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com >
2025-01-15 20:22:50 +01:00
Compute-Runtime-Validation
af031ee0e3
Revert "performance: align structures for 64-bit platforms"
...
This reverts commit 9f07f56f7f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-15 09:02:01 +01:00
Compute-Runtime-Validation
242a31a024
Revert "refactor: remove excess cast to C-string and add const reference"
...
This reverts commit 34ee40393f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-15 02:43:40 +01:00
Maciej Bielski
e95c7aac92
fix: set memoryBanks correctly for single memory bank
...
Resolves: HSD-18040585222
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-01-14 20:38:10 +01:00
Brandon Yates
16b0ea6897
feature: Handle page fault events for xe debugger
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-14 18:16:05 +01:00
Semenov Herman (Семенов Герман)
34ee40393f
refactor: remove excess cast to C-string and add const reference
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru >
2025-01-14 13:25:31 +01:00
Tomasz Biernacik
cd2383b63e
feature: enable setting prelim properties to context
...
Related-To: NEO-12680
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-01-14 12:49:27 +01:00
Brandon Yates
4300f0bdbe
feature: Enable page faults for xe driver with debugger
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-14 09:32:53 +01:00
Compute-Runtime-Validation
dc49d09e64
Revert "fix: set memoryBanks correctly for single memory bank"
...
This reverts commit ec5477e3ee .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-11 01:56:37 +01:00
Maciej Bielski
ec5477e3ee
fix: set memoryBanks correctly for single memory bank
...
Resolves: HSD-18040585222
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-01-10 10:01:33 +01:00
Semenov Herman (Семенов Герман)
9f07f56f7f
performance: align structures for 64-bit platforms
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru >
2025-01-09 06:03:39 +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
Brandon Yates
4111821c86
feature: place device bitfield in debugger metadata
...
Device bitfield is used to track tile instanced isa segments
by dmgUMD
Related-To: NEO-11104
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2025-01-07 11:56:25 +01:00
Oskar Hubert Weber
435b6f8e28
fix: regression
...
fixes regression caused by previous pr
Related-To: NEO-8116
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-12-24 07:51:07 +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
Oskar Hubert Weber
1c1b2db9a9
fix: allowing neo ULT build with optimization enabled 5/n
...
- fix mismatched-new-delete warnings
- fix initialization warnings
- fix attempt to free a non-heap object warnings
Related-To: NEO-8116
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-12-23 13:07:55 +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
Chodor, Jaroslaw
dd3d5c6460
feature: Add logic for reading loaded library's version
...
getLoadedLibVersion is intended for reading version of a library that was
already loaded into the process prior to this call (i.e. new instance of
the library willnot be loaded).
Note: Currently, only windows version of this functionality is implemented.
Related-To: GSD-10248
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2024-12-20 17:29:19 +01:00
Mateusz Hoppe
1110410caf
fix: change emplace() on map to insert()
...
- fixes problem with some compilers
Related-To: GSD-10365, GSD-10367, GSD-10441
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-12-18 17:51:22 +01:00
Slawomir Milczarek
3a6ce6dca9
feature: Improve ioctl helper function to synchronize userptr allocation
...
Related-To: NEO-11817
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2024-12-18 17:40:27 +01:00
Mateusz Jablonski
ac42206e0a
fix: defer creation of IoctlHelperXe
...
create IoctlHelperXe within Drm::setupIoctlHelper
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 15:36:15 +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
Jitendra Sharma
0248b53d86
feature: Retrieve vmToTile map information for multi tile eudebug support
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-12-18 11:59:49 +01:00
Mateusz Jablonski
f357ada604
refactor: move product specific ioctl helper creation out of i915 specific code
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 11:36:07 +01:00
Mateusz Jablonski
169469eb06
refactor: extract querying device id / revision id to separate method in xe path
...
Related-To: NEO-13527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-18 09:57:19 +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
Filip Hazubski
a0cc124b2e
performance: Pass RootDeviceIndicesContainer by reference
...
Additionally pass std::map by reference in UsmMemAllocPoolsManager c-tor.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-12-17 14:18:30 +01:00
Mateusz Jablonski
474005de7d
refactor: move Drm methods definition to drm_neo.cpp file
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-17 13:41:57 +01:00
Compute-Runtime-Validation
c7d1f3b6a9
Revert "performance: don't wait on fence immediately after bind"
...
This reverts commit ff65d0ab59 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-12-17 06:03:24 +01:00
Mateusz Jablonski
9b4606f5c6
refactor: remove not needed code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 23:47:37 +01:00
Mateusz Jablonski
53d255063c
fix: create eudebug interface at initialize of ioctl helper
...
Related-To: NEO-13511
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 23:45:17 +01:00
Szymon Morek
ff65d0ab59
performance: don't wait on fence immediately after bind
...
Related-To: NEO-13456
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-12-16 16:56:05 +01:00
Jitendra Sharma
322089fa5f
feature: Pass cookie in vmBindExt
...
Provide cookie in vmBindExt, so that information about deviceBitField
could be provided to vmBind. This information could be used in
debugUMD code to to create grouping of ISA segments on different
tiles.
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2024-12-16 14:11:20 +01:00
Mateusz Jablonski
86ecbf3507
fix: explicitly report unhandled event exec queue placements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-16 13:11:39 +01:00
Mateusz Jablonski
8f7bacdd95
feature: add eudebug interface class
...
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values
layout of structs is guarded by static asserts
eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support
This way we can support two different xe-eudebug interfaces within
single binary.
In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).
Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-13 17:07:12 +01:00
Mateusz Jablonski
49c028858a
fix: optimize bind info in ioctl helper xe
...
bind info container is needed to distinguish between userptr and handles
with this change it stores only userptrs and their corresponding gpu va
Related-To: NEO-13501
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-13 16:07:30 +01:00
Mateusz Hoppe
0589a70dc7
feature(sysman): reinitialize gfxPartition on reset
...
Related-To: NEO-13203
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-12-12 16:27:25 +01:00
Compute-Runtime-Validation
924ad580bd
Revert "fix: enable scratch pages on xekmd"
...
This reverts commit 74824f659a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-12-11 07:10:27 +01:00
Szymon Morek
c3ed6e062a
performance: enable timestamp reuse on linux
...
Related-To: NEO-13456
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-12-10 11:57:45 +01:00
Naklicki, Mateusz
74824f659a
fix: enable scratch pages on xekmd
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-12-10 11:48:09 +01:00
Maciej Bielski
1fafd44af5
refactor: use level-specific name for CacheInfo instances
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-10 11:45:11 +01:00
Mateusz Jablonski
d78ca38d9b
refactor: remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-12-09 19:26:00 +01:00
Maciej Bielski
c9726dbb10
refactor: simplify tracking CacheRegion reservations
...
Leverage features of the mechanism to simplify implementation:
- The maximum number of possible cache-region reservations is a small
value known at compile-time
- Each reservation is unique (described by `CacheRegion`) so can have
a dedicated entry with either zero (free) or non-zero (reserved) value
So, there is no need for a dynamic collection (unordered_map here) to
keep track of reservations. A simple array is enough for that purpose.
Also, add some helper-code to enable array-indexing with the values of
`CacheRegion` enum.
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-09 16:50:28 +01:00
Maciej Bielski
4467b1e8de
feature: specify cache level when reserving a region
...
Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-12-09 12:54:48 +01:00