Commit Graph

10075 Commits

Author SHA1 Message Date
5911515ed0 Refactor debugger code
- helper sets all SbaAddresses for debugger in
EncodeStateBaseAddress<GfxFamily>::setSbaAddressesForDebugger()
- change DebuggerL0::captureStateBaseAddress() to take
LinearStream
- move getSbaTrackingCommandsSize() to Debugger class

Related-To: NEO-6845

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-21 13:04:34 +02:00
f3bcbfb305 Revert "Enable engines round robin assign"
This reverts commit b81380a879.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-21 12:43:28 +02:00
dc4a1e7cd5 Add debug flag to select event field for event completion
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-21 12:15:43 +02:00
0e2bfe92c4 use precompiled builtins for aarch64
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-21 11:49:47 +02:00
cdd6d84f12 build: on x86 build and run ocloc test by defaul
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-21 01:25:15 +02:00
24c57a3d68 infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-20 23:14:01 +02:00
e4437fcf54 Add exclude support for hwtest_p tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
22.17.23034
2022-04-20 17:46:32 +02:00
8f38f4ee3c fix command stream receiver: stop calling virtual methods in dtor
make getCompletionAddress and getCompletionValue non-virtual methods

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-20 17:41:54 +02:00
4cb46ee15c Refactor direct submission: remove csr from members
create translation layer to obtain needed params

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-20 17:20:17 +02:00
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
b81380a879 Enable engines round robin assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-20 11:52:33 +02:00
93fe8a4794 Optimize gpgpu csr's mutex lock in the enqueue blit
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2022-04-20 11:40:59 +02:00
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
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
a0bf3a2933 Improve xe_hpc revs
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-04-20 08:58:17 +02:00
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
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
e47385dc11 Refactor ShaderChannelSelect logic for images using CL_LUMINANCE
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-19 15:58:38 +02:00
22e6cae4e1 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-04-19 14:43:53 +02:00
6fdcb83020 Add missing tbx calls to timestamp wait logic
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-19 14:24:06 +02:00
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
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
002e6d5205 build: add hf number to package version
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-19 13:12:33 +02:00
15fe7e06ce Add reporting of extension cl_intel_bfloat16_conversions
Resolves: NEO-6885

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-19 12:33:08 +02:00
a8680c0b82 Implement ULTs for IgaWrapper
This change:
- implements mock for functions from IGA DLL
- implements ULTs for IgaWrapper
- implements RAII wrapper for GTEST's capture of stdout
- adds ASAN and TSAN flags to ocloc_tests

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-19 12:26:36 +02:00
303c12bc5b Refactor and test initialization of IGC in ocloc
This change:
- encapsulates initialization of IGC in a separate class
- removes code duplication from OfflineLinker and OfflineCompiler
- tests the new encapsulated class

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-19 12:15:34 +02:00
a970622cc1 Print slice index in printImageBlitBlockCopyCommand function
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-04-19 12:04:50 +02:00
5f37aa4ba4 Pass cache settings to aub_stream
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-19 11:00:07 +02:00
f6f5baf23a Revert "Fix Scratch surface state programming on PVC"
This reverts commit 5b175ebb4a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-19 10:53:22 +02:00
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
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
4bebb477d4 Improve coverage of ocloc_api
This change contains ULTs, which test the code
which was not covered.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-15 16:11:08 +02:00
5ea45c52e0 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-04-15 13:36:09 +02:00
7e4262839a Add timestamp wait support for BCS
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-15 13:26:23 +02:00
b15c8e971c Move isTimestampWaitSupported method to different file
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-15 13:20:02 +02:00
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
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
f8ed03dd01 infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-14 15:23:47 +02:00
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
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
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
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
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
7a324051ef Clean up headers & cmake files
Files that were dedicated to specific platforms were incorrectly
attached at the level of the supported gen.
Additionally, header inclusion has been corrected.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
22.16.22992
2022-04-13 16:48:26 +02:00
b67b1bd6fc Download tag allocation only if was submitted
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-13 16:30:47 +02:00
352583b9d9 Detect GPU hang in evictUnusedAllocations()
This change introduces checking of the return value
of wait function in case of blocking version of
evictUnusedAllocations(). Furthermore, it propagates
the error to the callers. It contains also ULTs.

Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-13 15:39:02 +02:00
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
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
ab69e87a5e Add report of extension cl_intel_split_work_group_barrier
Related-To: NEO-6746

Signed-off-by: Wesierski, Lukasz <lukasz.wesierski@intel.com>
2022-04-13 14:37:37 +02:00
6256f89a79 Page fault support to be controlled with the registry key
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-04-13 14:29:02 +02:00