Commit Graph

14133 Commits

Author SHA1 Message Date
Zbigniew Zdanowicz
68406947c6 fix: use explicit type in unit test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-23 11:49:22 +02:00
Bari, Pratik
f9e4381c1e feature: Add FsAccess and Derived class in Sysman Kmd Interface
- The FsAccess, ProcFsAccess and SysfsAccess classes have been added in
a file in the Sysman Shared directory. The instances of these classes
are maintained in the Sysman Kmd Interface classes.
- Added functions for opendir, readdir and closedir in the shared code.
- Added a ULT in the sysman directory to cover these new functions from
the shared code.

Related-To: LOCI-4689

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-08-23 11:38:57 +02:00
Mateusz Jablonski
e77e49853b test: zero-initialize properties to avoid garbage pNext ptr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-23 10:17:48 +02:00
Spruit, Neil R
5c75449508 fix: Track Sub Device Hierarchy for use by Metrics Library
Related-To: LOCI-4819

- When communicating with the Metrics Libraries, if one is using a
specific sub device, then the correct physical sub device index and
number of sub devices must be used.

- When Affinity Mask is set, this hierarchy information is lost,
therefore the sub device hierarchy data is stored in a map to each
"device" to be returned to the user allowing for the correct sub device
information to be passed to the metrics library.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-22 21:37:25 +02:00
Zbigniew Zdanowicz
873b3d4241 fix: do not process scratch space when no surface heap pointer provided
Related-To: NEO-8281

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-22 17:44:35 +02:00
Dunajski, Bartosz
0f3a230a1e refactor: dont use debug flag in unit tests
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-22 17:27:34 +02:00
Mateusz Jablonski
8b09bb855e fix: add missing includes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-22 16:31:11 +02:00
Kacper Kasper
991febcdf4 fix: extend cache hash with compiler commit sha, lib size and mtime
Related-To: NEO-4262

Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-22 15:28:57 +02:00
John Falkowski
d49190f4ae feature: Add debug/release variables prefixes
Add debug/release variables with prefixes for Level Zero, OpenCL and NEO

Resolves: NEO-6357

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-22 15:15:45 +02:00
Lu, Wenbin
3d33366ff6 fix: serialize printf kernel accesses using device-wise locks
Related-To: LOCI-4114

Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com>
2023-08-22 14:57:08 +02:00
Dunajski, Bartosz
7e6e0da978 feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-22 14:29:14 +02:00
Filip Hazubski
33d6e775aa ci: infra revision update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-08-22 12:41:48 +02:00
Mateusz Jablonski
c4bdd9d4c4 ci: update gitignore - ignore orig files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-22 12:22:20 +02:00
Cencelewska, Katarzyna
dfa420d318 fix: remove wa for override patIndex on mtl
after forcing cacheable to 0 this wa should be not needed

Related-To: NEO-8120
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-08-22 12:09:19 +02:00
Mateusz Jablonski
894bab05ef fix: add missing zero-initialization in StackVec class
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-22 11:54:12 +02:00
Mateusz Witke
51174a1a22 ci: kernel revision update to version dii-4963
Signed-off-by: Mateusz Witke <mateusz.witke@intel.com>
2023-08-22 09:20:08 +02:00
Dunajski, Bartosz
874f47a916 refactor: update struct names
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-22 09:13:59 +02:00
Compute-Runtime-Validation
61cfedb9d3 Revert "fix: noop reset and close calls on immediate command lists"
This reverts commit 34bbd74043.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-22 05:26:25 +02:00
Zbigniew Zdanowicz
34bbd74043 fix: noop reset and close calls on immediate command lists
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-08-21 18:08:37 +02:00
ocldev
fb3614315e build: metrics-discovery revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-08-21 15:16:38 +02:00
Maciej Plewka
2e249d819e fix: submit marker for cpu transfer with event on IOQ queue
Related-To: NEO-8081

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-08-21 15:07:37 +02:00
Dunajski, Bartosz
f3b2458a9c fix: Use immediate command queue instead of CSR to obtain TaskCount.
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-21 15:04:46 +02:00
Compute-Runtime-Validation
bef6b64148 Revert "feature: add AIL for selected apps on MTL"
This reverts commit 68909a895a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-21 13:58:30 +02:00
Spruit, Neil R
ea7b7d7009 feature: Support for Combined Device Hierarchy
Related-To: LOCI-4662

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-21 10:26:20 +02:00
Compute-Runtime-Validation
8f28d24073 Revert "build: igc revision update"
This reverts commit 12a9788f40.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-19 06:10:02 +02:00
Mateusz Hoppe
8435160db4 feature: bindless addressing for images
- program surface states for redescribed images correctly. Image copy
to/from memory are using redescribed surface states,
- refactor state base address programming - program address and size
together, set max size at the beginning due to lack of Enable flag
- set GpuBase in WddmAllocation when external heap is used
- return max ssh required size from kernelInfo or based on stateful args

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-18 15:59:20 +02:00
Hazubski, Filip
94bfc3418b fix: Update value of XE_ONE_SEC variable
Update the value to correspond to used unit of time (ns).

Related-to: NEO-7996

Signed-off-by: Hazubski, Filip <filip.hazubski@intel.com>
2023-08-18 14:52:16 +02:00
Dunajski, Bartosz
9d943e484e fix: stall RelaxedOrdering when submitting regular cmd list
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-18 14:20:31 +02:00
ocldev
12a9788f40 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-08-18 14:11:50 +02:00
Artur Harasimiuk
f6e0c0cf89 Revert "feature: Add debug/release variable prefixes"
This reverts commit ec95d9314a.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-18 12:42:39 +02:00
ocldev
3c71062b4e build: igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-08-18 11:19:12 +02:00
Kulkarni, Ashwin Kumar
2f9a58e0ab feature(sysman): enables events module for zesInit windows
Related-To: LOCI-4195

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-08-18 08:43:31 +02:00
ocldev
d7c083c292 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-08-18 08:31:31 +02:00
Dunajski, Bartosz
59233d9597 performance: skip queue state check when waiting for latest IOQ TSP
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-18 08:17:11 +02:00
Compute-Runtime-Validation
73ffc56938 Revert "feature: flush task count on cmd list hostSynchronize if needed"
This reverts commit d96d092602.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-18 03:05:11 +02:00
John Falkowski
2403212dcd fix: chunking prefetch add USER_FENCE
Add USER_FENCE before PREFETCH call and after the BIND

Related-To: NEO-8098

Signed-off by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-08-17 21:32:47 +02:00
Artur Harasimiuk
f43e6cc795 ci: infra revision update
Related-To: NEO-8256, NEO-8257
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-17 16:41:00 +02:00
Maciej Bielski
93af2e9c62 refactor: split ModuleImp::initialize to facilitate testing
Extract submethods from the original method to ease mocks injection.

Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2023-08-17 14:29:25 +02:00
Artur Harasimiuk
3183daa2aa ci: infra revision update
Related-To: NEO-8256, NEO-8257

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-17 13:19:46 +02:00
Mateusz Hoppe
a26e25f1df fix: do not notify KMDAF when lock/unlock fails
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-17 11:32:40 +02:00
Lukasz Jobczyk
6fcb0f1407 fix: flush dc when blocking flag set
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-08-17 10:10:56 +02:00
Dunajski, Bartosz
d96d092602 feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-17 09:38:47 +02:00
Andrzej Koska
0a3b135673 fix: Taking into account variable ReturnSubDevicesAsApiDevices
Taking into account variable ReturnSubDevicesAsApiDevices
during Retain and Release Device

Related-To: NEO-8161

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2023-08-16 16:14:42 +02:00
Bellekallu Rajkiran
81d037f59b feature(sysman): Add support for fabric error counters
Related-To: LOCI-4620

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-08-16 15:05:32 +02:00
Artur Harasimiuk
7472da8eb6 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-16 14:26:54 +02:00
Dunajski, Bartosz
3cf1f5c462 fix: unregister CSR client on OCL sync points
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-16 13:35:07 +02:00
Zhang, Winston
998e0a5833 feature: zeDriverGetLastErrorDescription error messages (cmdlist)
When there is a PRINT_DEBUG_STRING message in cmdlist that is applicable
to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.

Related-To: LOCI-4652

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:17:29 +02:00
Zhang, Winston
8962c95000 feature: zeDriverGetLastErrorDescription error messages (module)
When there is a PRINT_DEBUG_MESSAGE message in module that is
applicable to the user, it is now also set to
Driver::zeDriverGetLastErrorDescription.
ULTs are also added to verify that setErrorDescription successfully
stores the error message.

Related-To: LOCI-4653

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-08-16 00:14:49 +02:00
Spruit, Neil R
60b7c14c22 feature: Update L0 Loader to v1.13.5 with zeInit Changes
Related-To: LOCI-4804

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-14 23:11:35 +02:00
Artur Harasimiuk
c40a5cf408 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-14 17:11:45 +02:00