Mateusz Jablonski
d45c16dfc2
fix: add fallback for invalid handles in extension functions
...
handle context, commandlist, driver, device, event, image and kernel handles
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-28 17:22:35 +02:00
Bartosz Dunajski
db611962f7
fix: improve task count handling in tbx download path
...
Related-To: HSD-18039789178
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-28 15:32:15 +02:00
Bartosz Dunajski
85359331ce
fix: ensure couterbased timestamps writes before access
...
Related-To: HSD-18039452525
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-27 15:04:32 +02:00
Bartosz Dunajski
696b02bfd3
fix: improve TBX downloading after L0 Event sync
...
Related-To: HSD-18038498579
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-23 10:42:17 +02:00
Bartosz Dunajski
ce0ecf5939
fix: download L0 Event TBX allocation on related subdevice if needed
...
Related-To: HSD-18038498579
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-19 18:34:58 +02:00
Filip Hazubski
f4f6bc799e
fix: Move Event resource cleanup do destroy function
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-06 11:39:53 +02:00
Bartosz Dunajski
3758e99cbf
feature: initial support for standalone CB Events Timestamps allocator
...
Related-To: NEO-11925
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 10:13:55 +02:00
Michal Mrozek
ef37b140de
performance: allow non cb events address extraction
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-06-27 16:55:25 +02:00
Bartosz Dunajski
ca77ace883
fix: download TBX Event allocation on Secondary CSRs
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-26 16:33:52 +02:00
Joshua Santosh Ranjan
deefea51ee
fix: use kernel timestamp properties instead of global timestamp
...
Related-To: NEO-11555
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-06-13 18:08:12 +02:00
Jaroslaw Warchulski
0ac1be7669
refactor: pass arrayIndex to Wddm::openSharedHandle function
...
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-07 09:51:26 +02:00
Bartosz Dunajski
51ec39fc55
refactor: move tbx event logic to new function
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-05 17:12:36 +02:00
Bartosz Dunajski
ac33d05470
feature: use new token to assign interrupt id to Event
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-05 15:32:16 +02:00
Bartosz Dunajski
d2caed107b
fix: initialize full page tables during first TBX Event write
...
Related-To: NEO-11519
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-31 11:18:17 +02:00
Bartosz Dunajski
3a73fcd7c8
fix: use correct immediate write offset for in-order counter
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-21 17:21:03 +02:00
Bartosz Dunajski
95b7929d97
fix: disable TBX writable mode after chunk write
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-17 11:04:50 +02:00
Bartosz Dunajski
21114ddc03
feature: make CB event initially signaled
...
Related-To: NEO-11378
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-14 17:05:32 +02:00
Bartosz Dunajski
536698d276
fix: add profiling data to host signalled CB Event
...
Related-To: NEO-11378
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-10 11:16:20 +02:00
Bartosz Dunajski
e5882e0d31
feature: pass GraphicsAllocation to fence wait
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-07 17:59:28 +02:00
Szymon Morek
83e8ae4a20
performance: Reuse GPU timestamp instead of KMD escape
...
This can be enabled only if related
debug flag will be set.
Related-To: NEO-10615
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-05-06 14:46:30 +02:00
Bartosz Dunajski
806da85ec6
refactor: prework to pass interrupt hint
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-29 11:14:53 +02:00
Naklicki, Mateusz
a8e9246f65
performance: use stack vector to create packet init data
...
Resolves: HSD-18037972803, HSD-18038028881
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-26 14:53:29 +02:00
Bartosz Dunajski
2a2596c13b
refactor: pass additional data to ioctl helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-26 14:53:14 +02:00
Michal Mrozek
4aa7c6c99e
performance: optimize counter based waiting schemes
...
- store latest waited counter value.
- do not wait on values that are already completed.
- disable mechanism when counter overflows.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-04-25 17:20:29 +02:00
Bartosz Dunajski
dd6040ab6e
refactor: improve exp extension names
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-18 11:09:23 +02:00
Bartosz Dunajski
cd563c2761
feature: assign external interrupt id to Event
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-17 14:52:12 +02:00
Naklicki, Mateusz
4e6b8a2c90
fix: create buffer with proper size for event packets
...
Related-To: HSD-18037791927
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-16 14:31:22 +02:00
Mateusz Jablonski
cb2b572e94
feature: add support for null aub mode
...
In this mode AUB csr will be created, however, no aub file will be created
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-09 16:59:42 +02:00
Naklicki, Mateusz
5a9853c7d0
fix: properly initialize data for event packets
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-02 17:20:47 +02:00
Mateusz Jablonski
78a4a92b44
refactor: reorder members to reduce internal padding in structs
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-25 15:50:00 +01:00
Zbigniew Zdanowicz
2d5d5ec768
fix: correct event host signaling in tbx mode
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-05 08:59:47 +01:00
Dunajski, Bartosz
bbe1043f08
feature: initial support for pooling in-order counter allocations
...
Related-To: NEO-10507
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-01 12:08:02 +01:00
Zbigniew Zdanowicz
ce216eacf4
refactor: add kernel count setter to level zero event
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-29 15:07:27 +01:00
Zbigniew Zdanowicz
61d1fb9ef6
refactor: unify getter of event packets to wait
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-02-29 14:43:55 +01:00
Dunajski, Bartosz
9d2a914b03
fix: unregister csr clients during Event reset
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-29 08:44:20 +01:00
Michal Mrozek
9f1648b57a
fix: use non zero value for event completion.
...
upon device reset memory gets reset to 0, which can cause
false event completion.
Related-To: NEO-7765
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-02-22 18:50:45 +01:00
Dunajski, Bartosz
8dc3364d56
fix: append paths for standalone CB Event
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-02-16 18:14:31 +01:00
Yoon, Young Jin
22f761b4eb
feature: Add introspection APIs for event
...
Added entrypoints for all event-related introspection APIs
and implemented corresponding functions in Event and EventPool.
Modified Event to record its EventPool upon creation.
Related-To: NEO-10265
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
2024-02-07 11:48:28 +01:00
Maciej Bielski
134c718a25
fix: support zeEventPool IPC handles from single process
...
For all execution paths where needed, use `BufferObjectHandleWrapper`
instances for registration of BO-handles and try to obtain shared
ownership. This allows both sides of IPC communication to be implemented
in the same process and avoid the double-free problem on a BufferObject
of the same handle.
Currently there are two pairs of such calls:
* `zeEventPoolGetIpcHandle()` + `zeEventPoolOpenIpcHandle()`
* `zeMemGetIpcHandle()` + `zeMemOpenIpcHandle()`
The capability of executing both sides from the same process is useful
for testing but not only.
Related-To: NEO-9837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-01-19 14:49:38 +01:00
Dunajski, Bartosz
e354c01acc
feature: allow waiting for standalone CB Event
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-16 11:59:46 +01:00
Dunajski, Bartosz
dfc69c746a
feature: create InOrderExecInfo for standalone CB Event
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-15 16:56:52 +01:00
Dunajski, Bartosz
9309d7d865
feature: initial support of zexCounterBasedEventCreate 2
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-15 11:47:36 +01:00
Compute-Runtime-Validation
1cc4c6c10f
Revert "feature: initial support of zexCounterBasedEventCreate"
...
This reverts commit d8f8b70dd7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-01-15 05:41:10 +01:00
Dunajski, Bartosz
d8f8b70dd7
feature: initial support of zexCounterBasedEventCreate
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-12 15:11:00 +01:00
Warchulski, Jaroslaw
d1061cd923
fix: don't unregister csr clients in EventImp::reset()
...
Related-To: GSD-7129
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2024-01-12 14:35:20 +01:00
Dunajski, Bartosz
aaef241111
refactor: allow creating Event without pool object
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-12 10:08:17 +01:00
Dunajski, Bartosz
6abce2b29d
feature: zexEventGetDeviceAddress support
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-11 16:22:11 +01:00
Dunajski, Bartosz
2082038475
fix: fallback empty counter based pool flags to immediate mode
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-05 19:05:40 +01:00
Dunajski, Bartosz
9d1837fd7e
feature: counter based events flags error handling
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-04 09:23:52 +01:00
Dunajski, Bartosz
144a78019f
feature: initial support for counter based event flags 2
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-01-03 10:01:27 +01:00