Commit Graph

1141 Commits

Author SHA1 Message Date
Bellekallu Rajkiran
362cd86f7a refactor: Add assertion check for null handle in ults
Related-To: NEO-9376

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-13 07:01:18 +01:00
Kulkarni, Ashwin Kumar
8074d75e06 feature(sysman): adds boilerplate for spec 1.8 changes
Related-To: NEO-9296

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-13 06:23:38 +01:00
Kumar, Shubham
03a8b76e02 feature(sysman): Xe porting of Power Module
Related-To: LOCI-4851

Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-11-12 01:53:50 +01:00
Mateusz Jablonski
616ef4c9c7 test: fix ubsan issues in L0 tools tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-09 14:51:53 +01:00
Mateusz Jablonski
6d67198b4f fix: fix ubsan issues in L0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-09 12:08:30 +01:00
Bellekallu Rajkiran
78877424b0 fix: Synchronize iaf requests to KMD
Related-To: NEO-8990

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-09 09:41:42 +01:00
Bellekallu Rajkiran
0e8c3bf473 fix: Remove use of device sysfs paths after unbind
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-09 00:45:25 +01:00
Brandon Yates
fd48de3da9 feature(debugger): Add initial Xe debugger skeleton
sync xe_drm.h for debugger to 1d2144ed from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev

Related-to: NEO-8402

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-07 17:36:18 +01:00
Mateusz Jablonski
96cdd68833 test: fix compilation error on clang on Windows
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-07 13:40:19 +01:00
Joshua Santosh Ranjan
f6c40dd76e feature(sysman): add per vf engine busyness support telemetry
Related-To: NEO-8696

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-11-07 07:10:23 +01:00
Joshua Santosh Ranjan
56a5a44304 feature: Add basic structure for tracer
Related-To: NEO-8891

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-11-06 17:31:15 +01:00
Compute-Runtime-Validation
ec24eb0a4c Revert "fix: correct number of returned L0 drivers"
This reverts commit dcb351e9dd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-04 02:24:26 +01:00
Mateusz Jablonski
dcb351e9dd fix: correct number of returned L0 drivers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-03 13:53:25 +01:00
Mateusz Jablonski
b487b00ade test: refactor L0 mock device to allow forward declaration
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-03 10:11:55 +01:00
Bellekallu Rajkiran
aa85d71adc fix: Fix sysman abort on destruction
Invoking close on invalid fd result in undesired behaviour.
Pass proper file descriptor for close to avoid unnecessary
aborts during destruction.

Related-To: GSD-6816

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-01 22:27:33 +01:00
Brandon Yates
a1c7f419fb test: Fix use of prelim ULT headers in non-prelim build
This fixes build issue when PRELIM support is not enabled

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-01 16:30:29 +01:00
Bellekallu Rajkiran
943ffb31ef feature(sysman): Add support for device reset extension
Related-To: NEO-8654

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-10-31 23:39:18 +01:00
Aravind Gopalakrishnan
99abb40a45 feature: Add extensions to expose dot product capabilities
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.

Related-To: NEO-8786

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-31 21:54:39 +01:00
Mateusz Jablonski
9c7f31620a refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-31 10:29:15 +01:00
Pawel Cieslak
f29dc33b34 fix: fix issues detected with clang-tidy-16
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-10-31 08:06:30 +01:00
Compute-Runtime-Validation
c9d6615231 Revert "feature: Add extensions to expose dot product capabilities"
This reverts commit e988fe66e3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-31 05:06:06 +01:00
Mateusz Jablonski
d56abe6f60 refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-30 17:26:20 +01:00
Aravind Gopalakrishnan
e988fe66e3 feature: Add extensions to expose dot product capabilities
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.

Related-To: NEO-8786

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-30 15:15:51 +01:00
Mateusz Jablonski
036d1e4814 refactor: correct variable naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-30 12:48:51 +01:00
Mateusz Jablonski
f9f5377218 test: remove gmock from metrics ult
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-27 09:38:23 +02:00
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