Commit Graph

2002 Commits

Author SHA1 Message Date
Kamil Kopryk 10be59cb15 Improve isIpSamplingSupported helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-04-20 17:02:20 +02:00
Kamil Kopryk 7f08a9d993 Remove adjustHwInfoForIgc helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-04-20 10:04:36 +02:00
Bellekallu Rajkiran 6f2efa4d54 Update fabric id based on new sysfs entry
Added new iaf directory path to query
fabric id.

Related-To: LOCI-3034

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-20 09:05:41 +02:00
Mateusz Jablonski b5b8762faf refactor direct submission: Pass command stream receiver to ctor
Related-To: NEO-6643

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-19 23:02:55 +02:00
Aravind Gopalakrishnan 79b8051eab Fix packet count when programming L3 flush
Related-To: NEO-5968

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-19 17:01:44 +02:00
Artur Harasimiuk 4909b5b768 set ze_intel_gpu dependency scope to PRIVATE
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-19 13:42:25 +02:00
Kacper Nowak 1a33fc0dc7 Zebin: return error on parsing empty vector entries in zeInfo
This commit prevents a yaml parsing error in case a data type is passed
after empty vetor type data entry with the same indendation. In this
case, a parsing error will be returned.
- Corrected .ze_info section in valid empty program (zebin mock)
- Minor ults refactor in order to use mock zebin program with valid
.ze_info

Related-To: NEO-6735
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-04-19 13:12:47 +02:00
Krystian Chmielewski 34ebcc9520 Zebin: Use addend in relocations
feat(zebin): Use addend from RELA sections when performing relocations.

Resolves: NEO-6898

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-19 09:19:26 +02:00
Jaime Arteaga 798501c8c3 Clean up driver experimental headers (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-15 18:07:31 +02:00
Mateusz Hoppe c9d61840a2 Allocate SBA buffers per HW context
- different physical storage for every HW context
- adds support for debugging with implicit scaling on
- reorganize tests

Relates-To: NEO-6883

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-15 10:01:28 +02:00
Compute-Runtime-Validation a5e0167c1e Revert "Report Unsupported Image Format for invalid types for L0"
This reverts commit d6ac8cdd03.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-15 07:49:25 +02:00
Dominik Dabek 8d1ad5a4f3 Refactor: use stack vector for root device indices
Stack vector will not cause dynamic allocations in most circumstances
ie. number of root device indices not more than 16

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-14 14:05:42 +02:00
Bellekallu Rajkiran f7e04b32aa Update throttle reason status sysfs names
Related-To: LOCI-1843

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-14 08:45:17 +02:00
Joshua Santosh Ranjan 0441295e21 Metrics: Move Workload Partition Setting to Metric Group Enumeration
This patch fixes an issue about incorrect setting
of WorkloadPartionEnabled flag to ClientOptions.

Related-To: LOCI-3021

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-04-14 08:36:37 +02:00
Neil R Spruit d6ac8cdd03 Report Unsupported Image Format for invalid types for L0
- If channel type or channel order is invalid for the layout, type, or
swizzle passed by the the user, then return unsupported image format.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-04-14 00:33:55 +02:00
Jaime Arteaga 3c3dab8fe0 Expose copy engines in parent device with implicit scaling
When using implicit scaling, expose the copy engines from
sub-device 0 in the root device. This to facilitate
programming models of layers above.

Related-To: NEO-6815

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-14 00:26:14 +02:00
Mateusz Hoppe 641851cc48 Use Bindless debug sip when L0 debug enabled
Related-To: NEO-5613

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-13 15:29:05 +02:00
Zbigniew Zdanowicz a54c947866 test: create dedicated mock object for timestamp packet
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-13 14:56:36 +02:00
Mateusz Hoppe 13947f3e99 L0 Debugger minor fixes
- Do not make Builtin kernel allocations resident in
Module::initialize()
- Notify debugger with all segment allocations in module
- refactoring: extract logic to dedicated methods

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-13 14:21:10 +02:00
Brandon Yates d70b1a2e2a Filter L0 Debugger support by platfom
Related-To: NEO-6678
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2022-04-13 13:03:40 +02:00
Bellekallu Rajkiran 51988148de Sysman: Remove redundant files
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-11 18:32:57 +02:00
Patryk Wrobel 19dded25ef Detect GPU hang in remaining calls of command queue and list
This change introduces checking of waits status in
CommandQueue and CommandList classes.

Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-11 13:31:44 +02:00
Jaime Arteaga 8b88f920ac Use Internal Copy engine from Sub-device for Shared Migrations
This when we have implicit scaling, so fallback to the sub-device
for BCS migration support.

Related-To: LOCI-3014

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-11 09:51:55 +02:00
Mayank Raghuwanshi 5a804841cb Add pmt xml offsets for ATS-M
Related-To: LOCI-2960
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-04-11 07:29:44 +02:00
Krystian Chmielewski 2c1bfbb5b2 Encode number barriers
When programming number of barriers use BARRIER_SIZE enumeration.
Resolves: NEO-6785

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-08 10:32:23 +02:00
Joshua Santosh Ranjan 16af941f03 Metrics IpSampling Add Blackbox Test
This patch adds blackbox test for IpSampling
feature.
This patch also adds support to use custom
workloads.

Related-To: LOCI-3009

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-04-08 07:56:54 +02:00
Jaime Arteaga 9f79e432bb Clean up driver experimental headers
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-08 06:10:25 +02:00
Troels Nielsen 1ee733e191 zeCommandListAppendMemoryFill fails to fill with 2 byte pattern
zeCommandListAppendMemoryFill fails to fill sizes that are not
multiples of four when using a 2 byte pattern.

Fix the problem and add a blackbox test.

Signed-off-by: Troels Nielsen <bn.troels@gmail.com>
2022-04-08 01:08:09 +02:00
Zbigniew Zdanowicz 6f0f15a0b8 Save separate flush call for synchronous command queue
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 15:51:17 +02:00
Zbigniew Zdanowicz dad49bd2ee Fix multi tile race when using signal event from barrier call
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 15:23:17 +02:00
Zbigniew Zdanowicz c305c75413 Style: move dg2 test file to appropriate directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 15:22:35 +02:00
Zbigniew Zdanowicz 7d79c64c35 Change event memory layout for multi tile capable platforms
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 10:44:14 +02:00
Zbigniew Zdanowicz fd45ac133d Unify append calls
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 10:18:55 +02:00
Mateusz Hoppe c5e4bec253 Fix ISA allocation transfer
- use MemoryTransferHelper::transferMemoryToAllocation function
to copy ISA to allocation

Related-To: NEO-6862

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-07 09:57:49 +02:00
Compute-Runtime-Validation b88e16252e Revert "Change event memory layout for multi tile capable platforms"
This reverts commit 616dd55789.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-07 07:55:34 +02:00
Aravind Gopalakrishnan 6b0b066745 Fix ULT name
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-07 01:44:32 +02:00
Zbigniew Zdanowicz f4407064a4 Refactor store register mem encoder to include partition parameter
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 14:00:56 +02:00
Zbigniew Zdanowicz 616dd55789 Change event memory layout for multi tile capable platforms
Related-To: NEO-6811

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 11:20:57 +02:00
Aravind Gopalakrishnan 4fdb0700fe Disable flush task path on ATS
Related-To: LOCI-2984

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-06 02:14:41 +02:00
Jobczyk, Lukasz 335bf2fdb2 Update flushed task count when task count write was dispatched
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-05 11:00:51 +02:00
Mateusz Hoppe 933fbd4f63 Fix scratch offset calculation in DebugSession
- account for ThreadEuRatio when calculating per-thread
scratch offset

Related-To: NEO-6677

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-05 10:33:49 +02:00
Filip Hazubski f09fd527f1 Remove redundant using declarations
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-04 17:10:21 +02:00
Dominik Dabek ff240c66db Update cmake for dynamic allocation tracking
If cmake variable ENABLE_DYNAMIC_MEMORY_TRACKING is true:
- add preprocessor definition to enable tacking
- change linker options to export all symbols

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-04 12:34:22 +02:00
Vilvaraj, T J Vivek 8f88d375ab Sysman: remove gmocks from standby module
Related-To: LOCI-2030
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-04-04 10:41:12 +02:00
Michal Mrozek 9016772351 No dynamic allocations on hot calls [2/n]
- Prevent FULL vector copy.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-04-01 16:22:09 +02:00
Mateusz Hoppe beff0019d1 SBA tracking for single address space
Related-To: NEO-6539


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-01 15:24:11 +02:00
Mateusz Hoppe 4374197c9d Fixes for bindless configuration
- enhance ults code, do not inject memory manager
- fix some issues related to bindless global heap

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-01 15:08:43 +02:00
Lukasz Jobczyk 6fee7c9de1 Unify the appendWaitOnEvents method
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-31 14:48:19 +02:00
Vilvaraj, T J Vivek 47f7b4f509 sysman: clean up code duplication for reset
warm and cold reset are common functionality,
the code is being moved to the common sysman implementation
from diagnostics specific files.

Related-To: LOCI-1908
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-03-31 14:10:39 +02:00
Dominik Dabek 308f9ccfff Do not allocate dynamic state heap if not needed
Dynamic state heap is only used for sampler data.

Related-To: NEO-6821

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-03-31 12:13:13 +02:00