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
shubham kumar
739e781fd8
fix(sysman): Fix sysman APIs taking incorrect path
...
Related-To: NEO-12291
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-08-12 21:08:09 +02:00
shubham kumar
0002eb3fcc
feature: adding eu stall support on windows
...
Related-To: NEO-12174
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-08-06 06:47:11 +02:00
Joshua Santosh Ranjan
43b81637df
fix: correctly handle error return paths in getConcurrentMetricGroups
...
fix the size used to copy concurrent groups
Related-To: NEO-11382
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-08-02 11:02:12 +02:00
Kulkarni, Ashwin Kumar
cf4ef679c9
feature(sysman): supports deviceId and vendorId in zesInit path
...
Related-To: NEO-10914
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2024-07-30 09:48:03 +02:00
Wenbin Lu
e2f1735cc5
test: use realistic values in topology query tests
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-29 16:34:22 +02:00
Mateusz Jablonski
85df385582
fix: ensure system info is queried before querying topology
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 16:03:59 +02:00
Mateusz Jablonski
0cdfa882eb
fix: correct setting hw info in drm flow
...
firstly, setup hw info using product specific functions
secondly, query system info from GuC to setup max values
then, query memory info
then, query engine info as it depends on memory info
then, query topology as it depends on engine info
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 12:20:40 +02:00
Mateusz Jablonski
e24acc6155
fix: ensure memory info is queried before querying engine info
...
initialization of engine info relies on memory info data
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-26 09:28:50 +02:00
Wenbin Lu
357a607d22
refactor: correct the naming of some topology-related variables
...
Related-To: NEO-9489
Signed-off-by: Wenbin Lu <wenbin.lu@intel.com >
2024-07-24 08:39:12 +02:00
Mateusz Jablonski
64f2312aa0
refactor: setup engine capabilities in drm specifc code
...
once drm specific code queries engine info, caps are stored in drm-agnostic form
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-15 11:00:15 +02:00
Joshua Santosh Ranjan
2e5bf8d24d
fix: remove perf open from the initialization path
...
Related-To: NEO-11975
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-07-15 10:17:53 +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
shubham kumar
e78c8edcf3
refactor: prework for adding eu stall support on windows
...
Related-To: NEO-9492
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-07-12 16:27:24 +02:00
Mateusz Jablonski
3f65f75cc3
refactor: unify EngineInfo ctors
...
remove redundant constructor
create helper struct for numbers of engines
adjust test scopes
Related-To: NEO-10445
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-11 17:08:15 +02:00
Joshua Santosh Ranjan
99e8cb7b70
test: update zello_metrics for programmable apis
...
Related-To: NEO-11847
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2024-07-10 08:54:01 +02:00
Maciej Bielski
005b273b1e
test: stop abusing ctors in DrmMockCustom and derived types
...
Calling virtual functions from within constructors is incorrect, the
virtualization mechanism does not work until a constructor completes.
So, instead of performing many operations in constructors, make them
small and use static `create()` methods to construct the object properly
and only then perform additional setup.
Mocks are a prominent example how such practice degrades the code.
A function called from a constructor is basically unmockable. Despite
being overriden by derived type (to alter the execution path as per
needs of a given test-case) the parent versions are always called.
This was making test development more and more painful as at some point
there is no hack to compensate for the lack of standard mechanism.
Related-To: NEO-9754
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-07-10 08:34:09 +02:00
Ezhilsivam Shanmugam
ae49a4f1fd
fix: Implemented Get Fan Config to retrieve Default Fan Table
...
Related-To: NEO-11667
Signed-off-by: Ezhilsivam Shanmugam <ezhilsivam.shanmugam@intel.com >
2024-07-10 08:14:58 +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
shubham kumar
e5036ce9f0
feature(sysman): windows add support for card and package power
...
Related-To: NEO-11820
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-07-02 12:59:30 +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
Bellekallu Rajkiran
be2cd522af
fix(sysman): Add WA to provide CPU timestamp for engine stats
...
Related-To: NEO-10551
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-06-26 02:42:35 +02:00
Mateusz Jablonski
66d4d141e1
fix: extract common logic for filling default gt system info
...
gt system info should be queried from KMD
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-06-25 20:21:57 +02:00