Mateusz Jablonski
274fccdd1b
test: remove gmock from metrics ult 1/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-27 08:17:39 +02:00
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-26 15:40:29 +02:00
Jablonski, Mateusz
8b682a6bcb
fix: fix compilation error in clang on Windows (3/n)
...
Related-To: NEO-9248
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2023-10-25 17:38:56 +02:00
Baj, Tomasz
cb0bb57f49
fix: if device hierarchy is flat then getSubDevicesCount return 1u
...
Related-To: NEO-9167
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-10-25 15:51:52 +02:00
Brandon Yates
157d7a327a
feature(debugger): Create DebugSessionLinux class
...
DebugSessionLinux is common base class for all linux dbgUMD
implementations. This patch also moves DrmHelper to common debug folder
Related-to: NEO-8404
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-10-24 21:22:44 +02:00
Bellekallu Rajkiran
0c960322f7
fix: fix linker error in fabric port stub implementation
...
Related-To: LOCI-4301
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2023-10-24 07:25:32 +02:00
Bellekallu Rajkiran
84cdf47abf
fix: Update handles upon device reset
...
Outdated info that is present in several modules
because of reset result in crash when module info
is retrieved after reset.
Release and re-create module handles during reset
to avoid crash.
Related-To: NEO-9100
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2023-10-24 00:27:19 +02:00
Jablonski, Mateusz
d724627098
fix: fix compilation error in clang on Windows (1/n)
...
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2023-10-23 10:36:23 +02:00
Brandon Yates
85d35d5239
feature(debugger): use linux driver type to create correct debug session imp
...
Related-to: NEO-8403
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-10-23 10:25:28 +02:00
Bellekallu Rajkiran
75537b3463
feature: Add support for fabric multi port throughput
...
Update iaf uapi header sync to:
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc19
Add netlink calls to support fabric multi port throughput.
Related-To: LOCI-4301
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2023-10-20 07:34:40 +02:00
Aravind Gopalakrishnan
18e45b2b42
feature(sysman): Add support for device type and flags
...
Related-To: NEO-8590
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-10-19 19:25:38 +02:00
Mateusz Jablonski
4dfa12c8eb
fix: add mechanism to detect gpu timestamp overflows
...
unify naming CpuGpu to GpuCpu
Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-19 16:31:06 +02:00
Joshua Santosh Ranjan
994fb1110f
fix(sysman): handle memory info creation failure
...
Related-To: NEO-8452
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-10-18 07:55:48 +02:00
Joshua Santosh Ranjan
5c8cbc80eb
feature: initial support for programmable metrics
...
Related-To: NEO-8779
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-10-16 18:11:38 +02:00
Mateusz Jablonski
19aba581d4
fix: remove potential memory leak from OaMetricSourceImp class
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-12 10:59:25 +02:00
Mateusz Jablonski
4be1a8f615
fix: ignore read error when getting bandwidth for DG2
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-12 10:37:15 +02:00
Mateusz Jablonski
a420e34b10
fix: explicitly remove assign operators when not needed
...
when class defines copy/move ctor then corresponding assign operator(s)
should be defined or deleted
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-12 10:25:15 +02:00
Mateusz Jablonski
a7e86f40bf
fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-11 14:04:07 +02:00
Compute-Runtime-Validation
52cc796886
Revert "fix: use FileDescriptor class to handle open/close file descriptor in...
...
This reverts commit 174ec38b52 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-11 03:07:04 +02:00
Mateusz Jablonski
420f273a6c
fix: don't wait on condition in unit tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-10 15:14:30 +02:00
Mateusz Jablonski
174ec38b52
fix: use FileDescriptor class to handle open/close file descriptor in PCI/PMT
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-10 12:42:14 +02:00
Mateusz Jablonski
099a3f30e3
fix: add FileDescriptor class to ensure file descriptor is closed
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-09 16:23:28 +02:00
Brandon Yates
3fbce47182
refactor(debugger): Rename DebugSessionLinux
...
Rename to DebugSessionLinuxi915 in preparation
for implementation of Xe debugger
Related-to: NEO-8404
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-10-09 10:12:47 +02:00
Mateusz Jablonski
85eafc9e61
fix: query drm info to aligned storages
...
xe topology info to byte aligned storage
xe engine info to 2 byte aligned storage
system info to 4 byte aligned storage
all other info to 8 byte aligned storage
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-06 16:11:40 +02:00
Mateusz Jablonski
2ab4aeda85
fix: add static casts to destination type to avoid overflows in multiplication
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-06 14:55:24 +02:00
Mateusz Jablonski
a583213eef
fix: add unrecoverable to avoid division by zero
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-06 08:43:11 +02:00
Mateusz Jablonski
382fc952f2
refactor: add NonAssignableClass to define classes without assign operator
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-05 15:16:58 +02:00
Mateusz Jablonski
72182c28e9
refactor: add NonCopyableOrMovableClass to classes that don't need copy ctors
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-05 13:11:01 +02:00
Compute-Runtime-Validation
d5f90ae155
Revert "fix: query drm info to 8 byte aligned storage"
...
This reverts commit 9b344280d6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-05 06:07:27 +02:00
Mateusz Jablonski
95eb5df978
refactor: use reference in for-range loops
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-04 15:32:26 +02:00
Mateusz Jablonski
895a586083
refactor: use reference in for-range loops
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 18:56:53 +02:00
Mateusz Jablonski
9b344280d6
fix: query drm info to 8 byte aligned storage
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 18:43:53 +02:00
Compute-Runtime-Validation
8fa0b90f35
Revert "fix: query drm info to 8 byte aligned storage"
...
This reverts commit d0e615820c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-03 15:41:11 +02:00
Mateusz Jablonski
d0e615820c
fix: query drm info to 8 byte aligned storage
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 11:13:38 +02:00
Mateusz Jablonski
094724e0b3
refactor: remove not needed condition
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 10:19:28 +02:00
Mateusz Jablonski
1963ea69e5
fix: add missing member initializations
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 08:41:46 +02:00
Mateusz Jablonski
9337911742
fix: add self-assign check in operator=
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 08:09:16 +02:00
Mateusz Jablonski
4a80380aaf
refactor: remove redundant comparing array address to zero
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-29 15:36:22 +02:00
Brandon Yates
253e1df43b
feature(debugger): Filter page fault threads by start IP
...
When a thread is stopped due to potential page fault
we must check AIP against start IP to ensure it is not
a newly started thread accidentally caught by PF algorithm
Related-to: NEO-8617
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-09-29 12:45:32 +02:00
Brandon Yates
9c56a11c2e
refactor(debugger): Move PF exception check into bitmask
...
Related-to: NEO-8617
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-09-28 08:28:00 +02:00
Mateusz Jablonski
3a21b3b228
refactor: remove not needed code
...
Related-To: NEO-7527
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-09-28 07:52:39 +02:00
Brandon Yates
b3464a2621
feature(debugger): Expose DBG regset
...
Related-To: NEO-8383
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-09-26 11:50:29 +02:00
Jitendra Sharma
8f7b3e6699
feature: Report 128 GRF count with zetDebugGetRegisterSetProperties
...
Related-to: NEO-6788
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2023-09-18 11:03:59 +02:00
Brandon Yates
7c1f5585d7
feature(debugger): online page fault event handling
...
Sync to
https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc20
Related-to: LOCI-2052
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-09-18 00:15:45 +02:00
Brandon Yates
513045bd90
fix(debugger): auto-ack vmbind on tile for module from other tiles
...
Related-to: NEO-8371
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-09-14 15:33:58 +02:00
Compute-Runtime-Validation
e489c16529
Revert "feature: Report 128 GRF count with zetDebugGetRegisterSetProperties"
...
This reverts commit 6596ce5097 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-09-14 14:34:55 +02:00
Jitendra Sharma
6596ce5097
feature: Report 128 GRF count with zetDebugGetRegisterSetProperties
...
Related-to: NEO-6788
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2023-09-13 14:12:38 +02:00
Jitendra Sharma
9818ef61a5
feature: Report correct GRF register count
...
Based on Large GRF enabled or not, report correct GRF
register.
Related-To: NEO-6788
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2023-09-04 11:42:48 +02:00
Compute-Runtime-Validation
154530ad23
Revert "feature: Report correct GRF register count"
...
This reverts commit 8eb3fe222e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-09-01 15:12:57 +02:00
Jitendra Sharma
8eb3fe222e
feature: Report correct GRF register count
...
Based on Large GRF enabled or not, report correct GRF
register.
Related-To: NEO-6788
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2023-08-31 18:48:29 +02:00