Jemale Lockett
8b508fd15f
feature: Add sync host event handling on windows
...
Resolves: NEO-13744
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-05-13 08:44:45 +02:00
Compute-Runtime-Validation
23d7a4af73
Revert "feature: Add sync host event handling on windows"
...
This reverts commit 1ce4d0fdf7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-04-29 04:33:45 +02:00
Jemale Lockett
1ce4d0fdf7
feature: Add sync host event handling on windows
...
Resolves: NEO-13744
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-04-28 21:14:25 +02:00
Brandon Yates
42b097ab4f
fix: Only expose THREAD_SCRATCH dbg reg in heapless mode
...
Related-to: NEO-14653
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-04-18 18:30:13 +02:00
Compute-Runtime-Validation
4e81b84d07
Revert "fix: Only expose THREAD_SCATCH dbg reg in heapless mode"
...
This reverts commit e981e85c31
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-04-18 12:42:33 +02:00
Brandon Yates
e981e85c31
fix: Only expose THREAD_SCATCH dbg reg in heapless mode
...
Related-to: NEO-14653
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-04-17 16:48:44 +02:00
Jaroslaw Warchulski
3e1aa33924
refactor: cleanup headers
...
Related-To: NEO-5548
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-04-14 14:59:40 +02:00
Mateusz Jablonski
2394f9fd91
feature: update base layout of L0 handles to match ze_handle_t layout
...
this layout is required by L0 DDI Handle extension
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-03-28 14:40:20 +01:00
Compute-Runtime-Validation
9785e5c11e
Revert "feature: update base layout of L0 handles to match ze_handle_t layout"
...
This reverts commit 276c606329
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-26 02:37:14 +01:00
Mateusz Jablonski
276c606329
feature: update base layout of L0 handles to match ze_handle_t layout
...
this layout is required by L0 DDI Handle extension
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-25 01:23:43 +01:00
Compute-Runtime-Validation
66c4288494
Revert "fix: using canonized addr in xe kmd"
...
This reverts commit 683d7c7acf
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-21 17:49:05 +01:00
Wojciech Konior
683d7c7acf
fix: using canonized addr in xe kmd
...
Related-To: NEO-7313
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2025-02-21 16:06:06 +01:00
Brandon Yates
c1ac3a733d
feature: Expand exception bitmask checked by dbgUMD
...
Related-to: NEO-8306
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-02-05 02:39:26 +01:00
Katarzyna Cencelewska
b2f8da5109
fix: return pointer instead of reference from getOsInterface
...
on tbx this will be a nullpointer
Related-To: HSD-18040897834
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-01-21 12:52:39 +01:00
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
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
Jitendra Sharma
cf8551ca06
fix: Dont process vmBind if clientHandle is Invalid
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-14 20:42:41 +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
Jitendra Sharma
10753387bf
feature: Introduce processPendingVmBindEvents in eu debug
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-08 08:53:11 +01:00
Jitendra Sharma
0d2ce79194
feature: Ensure module load/unload triggered after all instances events
...
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-07 19:58:35 +01:00
Bartosz Dunajski
47f74b8a7b
refactor: reorganize l0 api include directories [1/n]
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 12:59:08 +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
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
Jemale Lockett
0426603896
fix: Add module debug area to isamap and mirror for xe
...
Resolves: NEO-12685
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-11-22 21:04:13 +01:00
Jemale Lockett
ef8fefec28
fix: correct check for interrupt sent in tile debug sessions
...
Resolves: NEO-12222
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-11-20 23:48:10 +01:00
Jitendra Sharma
428e2132b0
fix: Gracefully handle case when SIP version header is greater than 3
...
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-11-15 17:38:24 +01:00
Brandon Yates
aaf2e997d3
fix: Set xe debugger clientHandle when metadata is rx'd
...
Xe debugger will receive one CLIENT_OPEN event per driver open. In
some use cases their will be multiple opens. We are only interested in
the open from the UMD under debug. Setting clientHandle when metadata is
received will filter out unneeded CLIENT_OPEN events
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-11-05 13:44:59 +01:00
Jitendra Sharma
171f1e27a3
fix: Add debug variables for configurable timeouts in debugger
...
Related-To: NEO-13046
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-23 10:30:03 +02:00
Jitendra Sharma
26709ba124
fix: Implement polling of SW FIFO
...
Related-To: NEO-12955
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-21 07:19:42 +02:00
Brandon Yates
6de2f1a9c9
fix: Remove stopped Threads query
...
Related-to: NEO-12929
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-15 23:23:11 +02:00
Jitendra Sharma
9bd4878841
feature: update GRF register implementation
...
Related-To: NEO-8314
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-15 13:47:34 +02:00
Mateusz Jablonski
8fbe873e1b
build: correct setting for i915/xe prelim setting in package scripts
...
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 15:55:59 +02:00
Jitendra Sharma
a111c18fb1
refactor: Add timestamp to all debugger log
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-08 18:12:20 +02:00
Brandon Yates
be295ef9a0
fix: Fix debugger module load before eventsToAck updated
...
This fixes an uncommon race condition in processing vmBinds in debugger
where occasionally a VMBind may go unacked.
Related-to: NEO-12866
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-04 10:21:12 +02:00
Brandon Yates
013c49db02
fix: change getBindlessDebugSipKernel to also get heapless sip
...
Rename function to getDebugSipKernel and select either bindless
or heapless depending on mode
Related-to: NEO-8396
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-03 20:47:40 +02:00
Brandon Yates
9e03c52e71
refactor: Make page fault event handling generic for xe/i915
...
Related-to: NEO-10134
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-01 09:52:39 +02:00
Jitendra Sharma
733ca5ac28
fix: Write tail index even for fifo wrap around case
...
Related-To: NEO-7990
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-30 18:19:28 +02:00
Jitendra Sharma
2ed2cb43db
fix: Read fifo_head from state save area header correctly
...
Currently we are reading fifo_head from local copy of saved
stateSaveAreaHeader.
However, during fifo read dbgUMD is reading FIFO entries and
accordingly SIP would also update fifo_head.
Hence while accessing fifo_head, ensure that we always read
fifo_head from latest in memory state save area header.
Related-To: NEO-12787
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-25 10:44:41 +02:00
Jitendra Sharma
0b3a6df5db
fix: Take regset_desc from correct SSH based on version major
...
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-24 12:31:21 +02:00
Jitendra Sharma
ac52a2ff5b
feature: Before resuming the thread unlock them
...
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-21 09:25:12 +02:00
Jemale Lockett
f14af782b3
fix: Correct mirroring module debug area
...
Resolves: NEO-11883
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-09-16 12:31:23 +02:00
Mateusz Jablonski
fafc0e10dc
refactor: remove not needed code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-13 17:52:35 +02:00
Filip Hazubski
f87673e761
fix: Add missing check to DebugSessionImp::readFifo function
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-22 15:19:43 +02:00
Mateusz Jablonski
7ac41615cd
fix: create thread with function pointer
...
don't create async thread in neo shared tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-21 18:02:37 +02:00
Mateusz Hoppe
4c3a0d8344
fix: add missing sba capture when debug enabled
...
- In global bindless mode SBA may be programmed for scratch allocation,
missing sba capturing caused issues for kernels with scratch.
- this fix adds SBA capturing after SBA command
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-20 09:32:17 +02:00
Jitendra Sharma
6df6e4bbb0
feature: Add SW FIFO implementation
...
Related-To: NEO-7990
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-08-19 16:38:34 +02:00
Brandon Yates
63478808a7
feature: implement new registers for debugger
...
Related-to: NEO-8396
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-15 09:44:46 +02:00
Brandon Yates
a432bdecc1
refactor: Reorganize xe debugger includes
...
Related-to: NEO-11365
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-02 12:28:11 +02:00
Brandon Yates
ab92499b56
feature: Add support for V3 state save header
...
Related-to: NEO-8396
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-06-27 18:46:03 +02:00