Robert Krzemień
fe1fd22371
fix: stop direct submission before oa configuration activation
...
Related-To: NEO-12778
Signed-off-by: Robert Krzemień <robert.krzemien@intel.com >
2024-10-22 14:26:44 +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
Oskar Hubert Weber
6730011c3b
test: don't load igsc in unit tests
...
Fixes test timeouts caused by previous changes to dlopen mock
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-10-18 12:20:49 +02:00
Mateusz Jablonski
4154e6666b
fix: correct loading L0 loader functions
...
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function
Related-To: GSD-10147
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-17 15:39:20 +02:00
Compute-Runtime-Validation
f117b5fb68
Revert "fix: correct loading L0 loader functions"
...
This reverts commit 9c7b3c5e19 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-17 08:20:19 +02:00
Mateusz Jablonski
9c7b3c5e19
fix: correct loading L0 loader functions
...
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-16 19:53:05 +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
Oskar Hubert Weber
8527779778
fix: running Blender with SYSMAN enabled on Linux
...
Related-To: NEO-11618
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-10-14 12:36:08 +02:00
Artur Harasimiuk
00aedcaed4
refactor: add NOLINT for pending problems
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-10-10 11:46:35 +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
Mateusz Jablonski
296d442e52
test: don't use DrmQueryMock in xe-drm specific tests
...
DrmQueryMock relies on i915 prelim
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-09 15:34:58 +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
Matias Cabral
6ddb550e05
feature: improve metrics debug messages
...
Resolves: NEO-12640
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2024-10-07 17:58:41 +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
Mateusz Jablonski
0e2b400554
test: fix clang-tidy issues
...
- don't use out of scope enum values
- ensure std::string is not created from nullptr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-03 18:52:15 +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
Filip Hazubski
72cf384c7d
refactor: Fix typo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-10-01 09:31:02 +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
shubham kumar
f402ce0f60
feature: Add support for OA buffer overflow
...
Related-To: NEO-8685
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-09-28 00:38:47 +02:00
Matias Cabral
e7bb9ccd8a
feature: add multi device metric class
...
Resolves: NEO-11426
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2024-09-27 17:46:45 +02:00
Mateusz Jablonski
340a4906a1
fix: fix compilation issues with clang18
...
- pass aligned memory to std::map::find and std::map::erase functions
- use EXPECT_EQ_VAL when comparing potentially misaligned memory
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-27 09:54:54 +02:00
Mateusz Jablonski
c7db84930c
test: fix test compilation issues with clang18
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 18:09:25 +02:00
Mateusz Jablonski
4a226bbfc1
test: fix test compilation issues with clang18
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-25 11:02:09 +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
Bartosz Dunajski
2618f586fa
fix: copy offload mmio programming
...
Related-To: NEO-12771
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-24 19:37:58 +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
Compute-Runtime-Validation
cb0b69a1cb
Revert "feature: Add support for OA buffer overflow"
...
This reverts commit b2d25174fb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-24 03:53:39 +02:00
shubham kumar
b2d25174fb
feature: Add support for OA buffer overflow
...
Related-To: NEO-8685
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-09-23 11:26:28 +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
shubham kumar
8bf95eceea
feature: Add core properties support in zesInit path
...
Related-To: NEO-12643
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-09-18 20:46:47 +02:00
Joshua Santosh Ranjan
6d86d562b5
refactor: move metric driver experimental apis to shared location
...
modify driver experimental extensions according to guideline
Related-To: NEO-12530
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-09-18 20:46:33 +02:00
Joshua Santosh Ranjan
72d0c66651
refactor: pass metricGroup for extension handling
...
Related-To: NEO-12055
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-09-18 00:11:56 +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
Matias Cabral
0c2a3cfd40
test: Improve zello metrics APIs sanity check
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2024-09-11 02:32:20 +02:00
Joshua Santosh Ranjan
365b0affc9
feature: support metric group type
...
Related-To: NEO-12055
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-09-10 13:30:46 +02:00
Mateusz Jablonski
7144e8a537
fix: enhance igsc wrapper
...
use type with correct naming convention
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-09 16:30:40 +02:00
Jemale Lockett
efeee0018f
fix: Set debugger supported on arl
...
Resolves: NEO-12136
Signed-off-by: Jemale Lockett <jemale.lockett@intel.com >
2024-09-05 18:23:47 +02:00
Joshua Santosh Ranjan
ef779165ec
refactor: use appropriate debug macros
...
Related-To: NEO-11034
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-09-02 11:32:51 +02:00
Vishnu Khanth
44658fb7d9
fix: Update appropriate values in PCI property & state for Windows
...
Related-To: NEO-12320
Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com >
2024-08-26 11:39:25 +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
shubham kumar
60711a169e
feature: Add support for DC limits in peak power
...
Related-To: NEO-12290
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-08-21 15:54:47 +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
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
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
Matias Cabral
f9793a4fb1
refactor: update OA metric group to save objects
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2024-08-19 15:34:54 +02:00
Jaroslaw Warchulski
ab9afed574
fix: add WSL path in os_metric_oa_enumeration_imp
...
Related-To: GSD-9130
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-08-14 15:25:52 +02:00