Commit Graph

8514 Commits

Author SHA1 Message Date
e096bf881e Fix assigning SubDevices to Program
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-06 15:31:22 +02:00
90f137c2a1 Rename debug flag for PC before non pipelined state command
Rename ProgramAdditionalPipeControlBeforeStateComputeModeCommand to
ProgramPipeControlPriorToNonPipelinedStateCommand

Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-06 15:12:20 +02:00
7187769744 Move kernel binary helpers to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-06 13:41:34 +02:00
6ea9845016 Changes to OSV packaging
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-10-06 13:37:20 +02:00
b5e91e0e53 Change BOs array to stack vec
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-06 12:52:43 +02:00
3016ed1c39 Make clearComputeModePropertiesIfNeeded method virtual
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
21.41.21220
2021-10-06 11:19:44 +02:00
62de443660 Add copy engine support for USM shared migration
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-06 10:43:31 +02:00
cd702af3a1 Fix windows wrappers
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-06 09:01:36 +02:00
cfad41f28a Introduce new interface for reinitializing level zero device
This change introduce
- new method deviceReinit, which could be used, to reinitialize
existing level zero device.

Related-To: LOCI-2612

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-10-06 07:16:33 +02:00
afaef2b234 Fix Voltage Offset, signed value.
Voltage Offset was incorrectly set as unsigned.

Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-10-06 06:08:24 +02:00
0363749948 Disjoint local work size code from hw command generation
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-06 01:09:56 +02:00
9175dd251c lint revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2021-10-06 00:30:43 +02:00
ae340ff6f5 Add L0 aub tests for indirect dispatch
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-05 21:05:40 +02:00
e1ad48ccb5 Pass device handles to sysman power module
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-10-05 20:47:21 +02:00
b5e0d32fe1 Metric Api: Fix activation for sub devices
Resolves: LOCI-2611
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2021-10-05 18:39:22 +02:00
0b1c3d24f1 Remove unnecessary header include
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-05 16:34:14 +02:00
9bea74a780 move mock_memory_manager to shared
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-05 16:22:38 +02:00
9d69c70424 Program PIPE CONTROL before _3DSTATE_BTD
Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-05 16:12:49 +02:00
0b64ecba3f Pass active partitions from dispatched kernel to context
Related-To: NEO-6244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-05 14:57:47 +02:00
85a52b7702 Fix typo
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2021-10-05 14:45:24 +02:00
22725e5840 Pass device bit field to create bindless heaps allocations
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-10-05 14:36:59 +02:00
684b9e5f51 Fix missing submit time calculation
Related-To: NEO-5799

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-10-05 12:58:04 +02:00
b7cc75c7a2 Fix direct submission enabling
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-05 12:44:29 +02:00
814b365553 Fix XE_HP_SDV RSS and SBA commands
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-05 12:32:27 +02:00
e8cb4f2634 Rename i915 dg1 specific files to exp
Related-To: NEO-6149

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-10-05 12:17:45 +02:00
068832d178 Move kernel_info_from_patchtokens to shared directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-05 11:50:28 +02:00
3c5a81d27a Add ProcAddrTable for metrics exp api.
Related-To: LOCI-2607
Signed-off-by: davidoli <david.olien@intel.com>
2021-10-05 11:07:18 +02:00
52e9dd26a6 Modify canRead and CanWrite functions of fsaccess class
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-10-05 10:52:17 +02:00
12ab2961b1 L0 support for SPIRv static module linking
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2021-10-05 07:09:53 +02:00
09dfcfcf85 Remove duplicated tests in drm files 1/n
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-10-04 17:38:49 +02:00
6736454f85 Program PIPE CONTROL before STATE_SIP
Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-04 17:31:33 +02:00
d88b730daa cmake: move compiler_interface to neo_shared
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-04 17:09:02 +02:00
82dbaedc87 Remove not needed flag
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-10-04 16:33:56 +02:00
e8cbcd2ab9 Dont make allocations non-AubWritable during migration
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-04 15:36:48 +02:00
b891ec2588 Correct cross thread data GPU address in indirect dispatch programming
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-04 14:59:41 +02:00
5e201f40be Prevent nullptr dereference in aub dump subcapture mode
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-04 14:23:19 +02:00
96fef37834 Move shared local work size code to shared directory
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-04 14:04:28 +02:00
135ec380fc Dont initialize sysman for linux if Driver Model is not DRM
Related-To: LOCI-2533

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-10-04 12:15:21 +02:00
7bc26e9f95 Refactor IOCTL statistics test
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-04 10:55:53 +02:00
560c951b8c Increase size of command buffer for copy blit operations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-04 10:28:27 +02:00
e9b2203c02 Add support for DG1 platform to work with drm-tip kernel
drm-tip: https://cgit.freedesktop.org/drm-tip/tree/

Related-to: NEO-6276

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-10-04 10:12:29 +02:00
3269e719a3 infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
21.40.21182
2021-10-01 18:31:56 +02:00
50bd8b5f19 Disabled forced cross engine synchronization on single queue
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-01 13:09:33 +02:00
1a34586dd4 Make sure sip kernel is initialized for aub tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-10-01 12:54:04 +02:00
8482eb6a5f Program PIPE CONTROL before SBA
Related-To: NEO-6056

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-01 12:44:23 +02:00
27bf56ee5a firmware-utils: Read IGSC version from IGSC config
- This commit reads the IGSC version from the IGSC config
rather parsing the igsc library path.

Related-To: LOCI-2527
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
2021-10-01 07:12:43 +02:00
11980db8eb Create L0 list and module with correct NEO device on explicit mode
When implicit scaling is not used, a root device in L0 defaults to
sub-device 0. In that case, all allocations need to be made against
that sub-device.

For list and module creation, we were passing the root NEO device
instead, and we were allocating their internal allocations using
the least-occupied bank, which meant we were allocating alternately
between the two sub-devices.

This patch makes sure the NEO device used on explicit mode for
the root device is sub-device 0.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-01 00:43:53 +02:00
eb1802cf2f Metric Api: Pass workload partition client option
Resolves: LOCI-2583
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2021-09-30 21:03:09 +02:00
4cb7c1014a Revert "Add flexibility to disable root device metrics"
Reverted the change which disabled metrics collection for multi-device

Related-To: LOCI-2580

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2021-09-30 19:05:20 +02:00
da982b41be Add readSbaBuffer() interface
Related-To: NEO-6277

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-09-30 18:02:00 +02:00