Commit Graph

9080 Commits

Author SHA1 Message Date
64aec8dc4e Rename functions
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-13 14:27:02 +01:00
3fd938a124 Destroy allocations list when reset device
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-13 13:16:14 +01:00
02120c5b50 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2021-12-13 11:33:37 +01:00
1e2a57d533 Update MDAPI headers
Resolves: LOCI-2692
Signed-off-by: Aleksei Keisel aleksei.keisel@intel.com
2021-12-10 21:17:33 +01:00
378157df09 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
21.50.21939
2021-12-10 18:53:30 +01:00
56bef79733 Add multi tile support for OCL post sync barrier
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-10 17:33:12 +01:00
4b589bffd3 Enable PVC on Windows in Cmake
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 17:02:45 +01:00
98d7258a0b Add prelim ioctls for clos
Add several prelim ioctls related to clos for IoctlHelper

Related-To: NEO-6510

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-10 16:50:29 +01:00
cdc064f478 Correct programComputeMode function
Reset all fields of StreamProperties when
compute mode command is being programmed.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-10 16:43:07 +01:00
f5998b15fc Move DG1 ULT into proper place
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-10 14:19:28 +01:00
73f687c264 PVC L0 unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 13:46:18 +01:00
a3dbd08d73 Update PVC unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 13:45:39 +01:00
47b75fe5fb Update Ftr and WA flags
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 13:35:08 +01:00
670958ec2c Enable DG2 on Windows in Cmake
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-10 13:28:39 +01:00
6d87dccd03 Add debug variable to enable source level debugger
- new flag ExperimentalEnableSourceLevelDebugger that
allows communication with debugger library

Related-To: NEO-6514

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-12-10 13:18:21 +01:00
5a3fd1dc94 Check i915 version at runtime
Related-To: NEO-6510

Check which prelim version is being used.
Select proper IoctlHelper based on that version.
If no version found, switch to upstream instead.

Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper


Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-10 12:22:00 +01:00
abb91a7dae Return error in canAccessPeer when P2P appendMemoryCopy fails
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2021-12-10 10:19:53 +01:00
1dd9e969f3 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-12-10 09:02:31 +01:00
06be26fd1e Add uuid support using inband information
Added chipset specific uuid retrieving functionality
This is used by zeDeviceGetProperties


Related-To: LOCI-2636

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2021-12-10 08:02:33 +01:00
cf70a57efb Sysman WindowS: Fix Max Memory Bandwidth.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-12-10 00:36:15 +01:00
1c018bf57e Do not split copies when using copy engine.
- no need to do so, BCS handles misaligned offsets and sizes.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-12-09 22:02:36 +01:00
f7b735e12b Rename "zesDiagnosticsRunTests" input parameters
Rename "zesDiagnosticsRunTests" input parameters as per
update in input param naming in latest level zero specification.

Related-To: LOCI-2736

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2021-12-09 18:01:07 +01:00
ebb16c8b74 Add new debug key to control dependency resolution.
Currently only supported scenario is one in order queue.
Instead of resolving dependencies via semaphores, do this with pipe controls.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-12-09 17:26:38 +01:00
34d9d9b0d3 gmmlib revision update
Signed-off-by: ocldev <ocldev@intel.com>
2021-12-09 17:14:36 +01:00
94f0a535a1 Fix passing resource48Bit flag
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 17:01:51 +01:00
2643eb691a New thread arbitration mode token support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 16:38:22 +01:00
21ddc10597 PVC device IDs
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 16:22:42 +01:00
f137e927c5 Add EngineUsageHint debug variable
Related-To: NEO-6219

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-09 16:06:23 +01:00
b2f286fc4a Reuse command buffers in L0 command queue
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-09 15:52:36 +01:00
dd3c59f46d Disable evict after migration WA
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-09 15:40:10 +01:00
b4f4cad6f9 Add ults for overrideGfxPartitionLayoutForWsl function
- move implementation from linux to shared

Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-09 15:22:51 +01:00
3511b4755f Remove redundant coherency variables for SCM
Remove CommandStreamReceiver::lastSentCoherencyRequest
Remove CsrSizeRequestFlags::coherencyRequestChanged

Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-09 14:43:21 +01:00
7b4c37e50d Update unit test values and excludes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 14:31:13 +01:00
8c93004937 Unify device id tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:53:10 +01:00
4dde9393ad Extend engine checkers to support more engine types
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:41:25 +01:00
24c19509b3 Add implementation for reading logical subDevice from builtin
- add function for resolving builtins using relocations
- add relocation for __SubDeviceID symbol

Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-12-09 13:20:49 +01:00
d07c76c237 unTypedDataPortCacheFlush pipe_control helper support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:00:10 +01:00
bac79244d5 Add multi tile event signal capability
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-09 12:13:23 +01:00
a27c7af2da Simplify OCL image implementation for SKL and later
Related-To: NEO-6466

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-09 11:26:20 +01:00
cf4ce308d9 Rename function
Rename multiDeviceCapable to implicitScalingCapable
Rename isMultiDeviceCapable to isImplicitScalingCapable

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-09 11:14:08 +01:00
e5d7142ae0 Use StreamProperties from CSR when programming STATE_COMPUTE_MODE
Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-09 10:51:34 +01:00
ac2b1d403b - Fix memProperties flags to be set to zero
Signed-off-by: Barigou, Youcef <youcef.barigou@intel.com>
2021-12-08 23:51:26 +01:00
1107fdfe55 Rename function and remove unused parameter
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-08 22:47:40 +01:00
94d09f75b7 Get RAS HBM errors count using firmware interface
-- master-commit
Add functionality to retrieve memory errors from Firmware
-- master-commit

Related-To: LOCI-2491, LOCI-2726

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-12-08 18:57:24 +01:00
882814751f Add multi tile support for event reset commands
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-08 17:51:06 +01:00
b922f7ddb1 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2021-12-08 16:45:01 +01:00
d8a2704b7e Add PVC OCL unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-08 16:35:24 +01:00
c324279bf5 Add support for exclusion of IR from binary generated by ocloc
Itroduces new parameter "-exclude_ir" to ocloc CLI.
This parameter can be used to reduce output binary size
when IR is not needed.

Related-To: NEO-6477

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2021-12-08 16:11:54 +01:00
2fd536104d Extend GfxPartition to support 57b addressing
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-08 16:05:05 +01:00
72b9dd8a4a Add PVC AIL specialization
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-08 14:14:13 +01:00