Kulkarni, Ashwin Kumar
44649faa0f
Defer Sysman Engine Module Initialization
...
With this change, init for sysman Engine API would not be done during zeInit.
init and thereby Engine API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumEngineGroups
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-08-26 08:41:22 +02:00
Bellekallu Rajkiran
64626c0556
Remove gmock usage from PMT ULTs
...
Related-To: LOCI-3223
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-25 12:25:45 +02:00
Bellekallu Rajkiran
13f1a61c34
Add prelim ULTs for performance
...
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-25 12:25:30 +02:00
Artur Harasimiuk
d14e45c8e6
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-08-25 12:25:16 +02:00
Igor Venevtsev
d40173e47a
L0Debug Win: Always generate module create/destroy events
...
We have to always generate module create/destroy events to give
debugger a chance to insert bp, read/write debuggee memory etc
even there is no debug data was generated. In this case ELF will not be
reported to debugger, just ISA GpuVA
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-08-24 14:58:30 +02:00
Mateusz Hoppe
aa59ee94b2
L0Debug - close debug fd when DebugSession is destroyed
...
- after last tile DebugSession is detached, root DebugSession
must close fd
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-24 14:58:16 +02:00
Mateusz Hoppe
4bd53be195
L0Debug - tile attach - add missing implementation
...
- interrupt / resume
- read/write registers
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-24 07:32:29 +02:00
Krystian Chmielewski
835174c076
Remove builtins duplication
...
Resolves: NEO-7064
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-24 07:27:46 +02:00
Bari, Pratik
908ddd0c92
Removal of MOCK_METHODS from Sysman PCI API ULTs
...
The gmock macros in the PCI API ULTS have been replaced
Related-To: LOCI-3217
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2022-08-19 12:23:48 +02:00
Mateusz Hoppe
61242205e0
L0Debug - tile attach implementation
...
- PROCESS ENTRY/EXIT events
- MODULE events
- DETACH event
- memory access
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-18 13:38:51 +02:00
Warchulski, Jaroslaw
260a324a6f
Move files between shared/test/common and /unit_test (xe_*_core, page_fault...)
...
common/xe_hpc_core/test_preemption_xe_hpc_core -> unit_test/xe_hpc_core
common/xe_hpg_core/excludes_xe_hpg_core -> unit_test/xe_hpg_core
common/xe_hpg_core/dg2/excludes_dg2 -> unit_test/xe_hpg_core/dg2
common/xe_hpg_core/test_preemption_xe_hpg_core -> unit_test/xe_hpg_core
unit_test/base_ult_config_listener.cpp -> common
unit_test/base_ult_config_listener.h -> common
unit_test/test_stats.h -> common
unit_test/test_configuration.h -> common
unit_test/page_fault_manager/cpu_page_fault_manager_tests.h -> common/fixtures
unit_test/page_fault_manager/mock_cpu_page_fault_manager.h -> common/mocks
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-17 16:17:00 +02:00
Mateusz Jablonski
8da78d3ed4
Correct method naming in mock metrics
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-17 14:00:33 +02:00
Cetnerowski, Adam
9b1afe4067
Minor: Add missing override
...
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com >
2022-08-17 10:00:02 +02:00
Mateusz Hoppe
2a5bca380d
L0Debug - tile debug session - initial changes
...
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-16 10:44:12 +02:00
Joshua Santosh Ranjan
cf67f1aa8b
L0 Metrics: Fix bytes to be read to be a multiple of raw report size
...
If raw report size is not a multiple of OaBufferSize, then
make sure the bytes to be read (by zetMetricStreamerReadData)
is always a multiple of raw report size.
Related-To: LOCI-3335
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-08-16 06:16:27 +02:00
Mateusz Jablonski
ab76a39691
Correct L0 fixture methods name to meet clang-tidy requirements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-12 14:44:52 +02:00
Mateusz Jablonski
e66bbb54bc
Correct fixture methods name to meet clang-tidy requirements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-12 13:12:38 +02:00
Mateusz Jablonski
6a46e8f0ca
Correct method names in device and module fixtures
...
correct naming in derived classes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-12 10:40:56 +02:00
Yates, Brandon
dbf955c1f2
L0 win debugger - implement read elf
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-08-11 16:16:21 +02:00
Mateusz Hoppe
bc605f413c
L0Debug - split acking general events from isa events
...
- allow to pass deviceIndex when acking isa events,
used with per-tile isa
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-11 13:11:55 +02:00
Mateusz Jablonski
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-11 12:55:52 +02:00
Warchulski, Jaroslaw
a6c1d9578e
Move files between shared/test/common/helpers and shared/test/unit_test/helpersi
...
unit_test/helpers/cmd_buffer_validator.h -> common/helpers
unit_test/helpers/gtest_helpers.h -> common/helpers
common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers
common/helpers/state_base_address_tests.h -> unit_test/helpers
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-10 15:23:12 +02:00
Joshua Santosh Ranjan
aa27a4c3ff
Add Power and Frequency Overhead verification to zello_metrics
...
Related-To: LOCI-3305
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-08-10 08:09:46 +02:00
Bellekallu Rajkiran
fb0d2b0acd
Add Prelim ULTs for frequency
...
Remove gmock usage from frequency ULTs.
Related-To: LOCI-3214
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-10 08:01:13 +02:00
Bellekallu Rajkiran
d1fb4011bd
Remove gmock usage from PMU
...
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-10 07:59:17 +02:00
Mateusz Hoppe
3a2d3b9274
L0Debug refactor - move eventsToAck out from ClientConnection
...
- events to ack are unrelated to client handle
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-09 19:52:17 +02:00
Mateusz Hoppe
869768a01a
L0Debug refactor - make memory access steps clear and simple
...
- split isa, elf and default mem access to separate steps
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-09 18:04:38 +02:00
Mateusz Jablonski
c3d40c210f
ULT refactor: remove i915 header dependency from drm_mock.h/drm_query_mock.h
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-09 15:04:22 +02:00
Mateusz Hoppe
52133e61ce
L0Debug - per tile isa and modules in debug session
...
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-08 15:46:56 +02:00
Mayank Raghuwanshi
f833dc0291
Add sysman Firmware support for windows
...
Related-To: LOCI-3226
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2022-08-05 13:22:11 +02:00
davidoli
d7c43d022a
Improve GtPin init error status reporting
...
Related-To: LOCI-1286
Signed-off-by: davidoli <david.olien@intel.com >
2022-08-05 04:18:07 +02:00
Compute-Runtime-Validation
19cac22760
Revert "Add prelim ULTs for performance"
...
This reverts commit 4967e053b8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-04 12:27:20 +02:00
Kulkarni, Ashwin Kumar
1898a82317
Defer Sysman Scheduler and Memory Initialization
...
With this change, init for sysman Scheduler/Memory API would
not be done during zeInit.
init and thereby Scheduler/Memory API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumSchedulers/zesDeviceEnumMemory.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-08-03 23:35:54 +02:00
Bellekallu Rajkiran
4967e053b8
Add prelim ULTs for performance
...
Remove gmock usage from performance UTLs.
Related-To: LOCI-3218
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-03 21:06:46 +02:00
Bellekallu Rajkiran
6fe263d0a3
Update zello_sysman bb test for power module
...
Add support for getPowerLimitsExt and setPowerLimitsExt.
Related-To: LOCI-3195
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-03 09:09:19 +02:00
Kulkarni, Ashwin Kumar
cf55a92b79
Defer Sysman PCI, Global operations and Events Module Initialization
...
With this change, init for sysman PCI, Global operations and Events
API would not be done during zeInit.
init and thereby PCI, Global operations and Events API handle creation
would be done implicitly only when user explicitly calls any APIs.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-08-02 08:56:04 +02:00
Bellekallu Rajkiran
f23f78e2cc
Add support for extended power properties
...
Related-To: LOCI-3242
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-08-01 13:02:49 +02:00
Bellekallu Rajkiran
599553d86c
Add ECC test support to zello_sysman
...
Related-To: LOCI-3195
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-07-28 16:42:56 +02:00
Bellekallu Rajkiran
d02b45c9b9
Add support for power limit ext functions
...
Add support for getPowerLimitsExt and
setPowerLimitsExt functions.
Related-To: LOCI-3125, LOCI-3193
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-07-28 16:40:33 +02:00
Igor Venevtsev
4cb9ad5d55
Debugger L0 Win: implement module destroy event
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-28 15:55:40 +02:00
Mateusz Jablonski
db2d1a53b9
Cleanup includes in drm_memory_manager.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-26 20:53:21 +02:00
Mateusz Jablonski
b49e2237c5
Pass drm to MemoryInfo ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-25 15:44:10 +02:00
Kulkarni, Ashwin Kumar
137959c647
Defer Sysman Power and Performance Module Initialization
...
With this change, init for sysman Power/Performance API would
not be done during zeInit.
init and thereby Power/Performance API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumPowerDomains/zesDeviceEnumPerformanceFactorDomains.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-25 08:17:46 +02:00
Igor Venevtsev
d79e799bea
Debugger L0 win: implement zetAcknowledgeEvent API
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-22 16:46:27 +02:00
Mateusz Hoppe
4da6f65d1a
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-22 16:08:41 +02:00
Kulkarni, Ashwin Kumar
2d8176fdbd
Defer Sysman Fabric Port and Fan Module Initialization
...
With this change, init for sysman Fabric Port/Fan API would
not be done during zeInit.
init and thereby Fabric Port/Fan API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumFabricPorts/zesDeviceEnumFans.
Also, ECC module init calls are cleared as they are no longer needed.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-22 02:23:17 +02:00
Compute-Runtime-Validation
5199ea257d
Revert "L0Debug - Notify cmdQueue create for subdevices"
...
This reverts commit ebcb3faad2 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-21 18:50:20 +02:00
Mateusz Hoppe
ebcb3faad2
L0Debug - Notify cmdQueue create for subdevices
...
- PROCESS ENTRY triggered for first cmdQ created
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-20 15:13:06 +02:00
Igor Venevtsev
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-20 13:20:50 +02:00
Bellekallu Rajkiran
fd1417532d
Add Prelim ULTs for power
...
Related-To: LOCI-3127
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-07-20 06:23:34 +02:00