Commit Graph

10041 Commits

Author SHA1 Message Date
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
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
c4362c1db6 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-13 13:41:53 +02:00
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
489dd4dd03 Update aub_stream interface
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-13 11:31:07 +02:00
3e19f39b8d Add RPL-P device IDs
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-13 09:59:58 +02:00
7a64982822 Debug Zebin pass kernel's address
feat: Set text sections' addresses with valid GPU VA. Offset debug symbols
with text segment names by corresponding segment's GPU VA.

Resolves: NEO-6873

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-13 08:38:49 +02:00
7d4d22228f Check for null allocation in processResources
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-13 02:36:27 +02:00
c856899dbb Account for hwInfo when checking for implicit scaling support
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-04-12 18:10:38 +02:00
858766c080 Remove unused members and getters in system info
Related-To: NEO-6835

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-04-12 10:46:53 +02:00
789587bacc Return nullptr for gfx alloc mmap error
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-04-12 10:08:19 +02:00
ee0d183cf9 Handle legacy hasBarriers properly
Previous change regarding NEO-6785 added encoding of number of barriers
to specific value representation depending on hardware that we program for.

In patch token format encoding of number of barriers is sent via
hasBarriers field in a token.
In zebin true number of barriers is sent via barrier_count field in
zeInfo.

To remove this discrepancy, translate encoded number of barriers into
true number of barriers in legacy format.

Resolves: NEO-6785

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-12 09:44:10 +02:00
884d729e4e Improve pat index programming on linux
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-12 08:18:20 +02:00
01a719cf33 Allow for zebin rebuild when IR is present
This commits adds rebuilding zebin binary.
If zebin is built for different device and has SPIRV, then new ze binary
will be built using SPIRV.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-12 08:05:25 +02:00
e9ebd10ab8 Revert "Correct ShaderChannelSelect value for images using CL_LUMINANCE"
This reverts commit 6f9ce94a17.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-12 06:47:24 +02:00
51988148de Sysman: Remove redundant files
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-11 18:32:57 +02:00
6f9ce94a17 Correct ShaderChannelSelect value for images using CL_LUMINANCE
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-11 17:13:57 +02:00
ce645f13b7 Encode PRODUCT_CONFIG value into fatbinary
Change modifies the encoding entry in fatbinary for platforms.
If numbering in -device is used, the value PRODUCT_CONFIG will be encoded.
The functionality that returns the correct product config values has
also been added.

Related-To: NEO-6744
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-04-11 15:09:17 +02:00
fbb5137f3e Remove function extendParseDeviceBlob
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-04-11 13:38:49 +02:00
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
9e7703a578 Fix Wddm DirectSubmission unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-11 12:42:58 +02:00
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
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
6f911ba840 Add unit tests for MultiCommand class
This change improves code coverage of MultiCommand class.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-08 22:05:16 +02:00
198cac9815 infra update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-08 13:30:23 +02:00
29e4518407 Update formatting in dynamic memory tracking
Format as follows:
backtrace start
call_1
...
call_n
backtrace end

Related-To: NEO-6837

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-08 13:17:30 +02:00
667594e8eb Revert "Improve multi storage handling."
This reverts commit 81739c0265.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-08 13:07:27 +02:00
f8b8f58bea test: add new encode tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-08 12:39:23 +02:00
5b545e0c9c igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-04-08 11:12:53 +02:00
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
81739c0265 Improve multi storage handling.
- color always basing on granularity
- align all chunks to granularity size
- make all chunks equal in size

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-04-08 10:21:34 +02:00
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
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
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
4d4ccfd128 Remove cache info base class
There is only one implementation of said class and we don't
even adhere to the interface it provides.

Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-04-07 18:15:57 +02:00