Daria Hinz
1f52802aac
Ocloc: Add numerical support for PVC revisions
...
New ocloc -device entry:
PVC XT B1 - 12.4.2
PVC XT C0 - 12.4.3
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-05-12 18:03:34 +02:00
Mateusz Jablonski
3c18744d10
Create a wrapper for drm_i915_gem_execbuffer2
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 17:58:16 +02:00
Patryk Wrobel
9b2ad0c5df
Detect GPU hangs in flushBcsTask()
...
This change introduces detection of GPU hangs in flushBcsTask()
function. The new code has been covered with ULTs.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-05-12 16:17:16 +02:00
Mateusz Jablonski
40e00e5c08
Create a wrapper struct for drm_i915_reg_read
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 14:59:18 +02:00
Krzysztof Gibala
170d628f57
Adjust gmmHelper decanonize method accessing point in getDumpSurfaceInfo
...
Accessing decanonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-12 14:25:35 +02:00
Bartosz Dunajski
e722afbefb
Track waitlist TimestampPackets to avoid too early return to the pool
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-12 13:54:04 +02:00
Mateusz Jablonski
268393d776
Create wrapper for drm_i915_gem_exec_object2
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 13:14:27 +02:00
Katarzyna Cencelewska
0b68fdbe52
Move isCooperativeEngineSupported to HwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-12 12:10:23 +02:00
Lukasz Jobczyk
be908f4695
Update ReturnSubDevicesAsApiDevices debug variable description
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-12 10:42:28 +02:00
Kamil Kopryk
fb4b1cca4f
Use internal blitter for internal memory transfers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6621
2022-05-11 19:33:00 +02:00
Krzysztof Gibala
143694aa0a
Adjust gmmHelper canonize method accessing point in Drm
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-11 17:35:08 +02:00
Lukasz Jobczyk
a31a674c38
L0 support for expose sub devices as API devices
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-11 15:41:53 +02:00
Mateusz Hoppe
c021e2ec5e
L0 Debugger - DebugSession linux implementation
...
- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h
Resolves: NEO-6814
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-05-11 15:30:32 +02:00
Lukasz Jobczyk
d63a044e60
Add infrastructure to request ULLS restart
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-11 14:33:30 +02:00
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
Zbigniew Zdanowicz
910871a706
add multi-tile support for completion diagnostic
...
Related-To: NEO-6871
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-05-11 13:37:32 +02:00
Mateusz Jablonski
db178a9604
Remove not needed i915_drm.h includes
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-11 13:08:21 +02:00
Krzysztof Gibala
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-11 12:57:02 +02:00
Fabian Zwolinski
7bb3bcbc05
Read resource info from internal represenation for WSL
...
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-05-11 11:57:23 +02:00
Mateusz Jablonski
d935815d74
Move residency data from WddmAllocation to GraphicsAllocation
...
Related-To: NEO-6848
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-10 18:16:42 +02:00
Bartosz Dunajski
c4fcd7ed9b
Capability to set low scheduling priority for Wddm context
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-10 16:44:25 +02:00
Compute-Runtime-Validation
5507633d15
Revert "Enable update task count from wait on DG2"
...
This reverts commit 99c424b6ff .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-10 14:26:24 +02:00
Lukasz Jobczyk
17aac9d1bf
Add debug flag to expose each subdevice as a separate cl device
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-10 14:04:26 +02:00
Mateusz Jablonski
943ad0e1eb
style: skip redundant unique_ptr::get function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-10 13:22:40 +02:00
Krzysztof Gibala
d18e89e439
Create getGmmHelper function in Gmm
...
Add get function in order to provide access on GmmHelper object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-10 11:34:19 +02:00
Krzysztof Gibala
4f1e01d279
Create getGmmHelper function in MemoryManager
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-09 16:51:23 +02:00
Katarzyna Cencelewska
518595dd97
Add adjustHardwareInfo method on dg2
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-09 16:36:48 +02:00
Mateusz Jablonski
77621158e0
Correct cmake files in driver model specific execution environment files
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-09 15:56:58 +02:00
Krzysztof Gibala
1c366d1ec0
Refactor: Change canonize method accessing point
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-09 14:16:31 +02:00
Daniel Chabrowski
b42a49eb4b
Limit pipeline selection to Xe
...
Related-To: NEO-6624
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-09 13:16:43 +02:00
Maciej Plewka
27ca561482
Apply max threads w/a only for specyfic Arc devices
...
With this commit w/a for max thread value will be applied only for
Native 512EU devices.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-05-09 12:43:36 +02:00
Daria Hinz
5ba56690f5
Revert "Set only base values in GT_SYSTEM_INFO for AOT"
...
This reverts commit b1f622d700 .
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-05-09 12:42:09 +02:00
Bartosz Dunajski
206e485dfc
Remove not needed DEBUG_BREAK_IF
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-09 11:26:16 +02:00
Jaime Arteaga
3f26f45c10
Add support for IPC handles with implicit scaling
...
When using implicit scaling, device allocations may have
more than one internal allocation created internally. In that case,
a separate dma-buf handle per internal allocation needs to be
exported.
So introduced two driver experimental extensions to export and
import more than one IPC handle:
- zexMemGetIpcHandles
- zexMemOpenIpcHandles
Related-To: LOCI-2919
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-05-09 00:38:17 +02:00
John Falkowski
f35107d3b0
fix for WSL and for sortNeoDevices
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2022-05-07 02:38:02 +02:00
Dominik Dabek
99c424b6ff
Enable update task count from wait on DG2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-05-06 16:01:30 +02:00
Filip Hazubski
3413039a69
Add debug variable to control whether large grf should be programmed with SCM
...
Add debug variable ForceGrfNumProgrammingWithScm.
Do not update large grf value in StreamProperties when unnecessary.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-06 15:45:46 +02:00
Dominik Dabek
6e8cabdce5
Split wait for timestamps to queue and event
...
On PVC both enabled.
On DG2 only for events.
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-05-06 15:34:47 +02:00
Lukasz Jobczyk
0b4ea8d2eb
Do not enable engines round robin on all xe_hp and later products
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-06 12:30:53 +02:00
Bartosz Dunajski
f8ce86b116
XE_HPC: Fallback path to fix PAT_INDEX programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-05 15:06:21 +02:00
Maciej Plewka
0a16dc6c47
Fix multi thread usage of external host alloc
...
This is fixed reupload of this commit after auto revert
With this commit OpenCL will track if external host memory is used from
few threads and will secure to update task count in all threads before
destroing allocation.
Resolves: NEO-6807
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-05-05 13:32:15 +02:00
Baj, Tomasz
2a0c395db5
Initial implementation for creating buffer with ext memory for OpenCl
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-05-05 13:13:54 +02:00
Lukasz Jobczyk
82d1962aba
Assign BCS at first blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-04 17:11:34 +02:00
Bartosz Dunajski
4f7a225baf
Set PAT programming support during VmBind support query
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-04 16:26:15 +02:00
Compute-Runtime-Validation
a3fe50c2e4
Revert "Assign BCS at first blit enqueue"
...
This reverts commit 0469034acb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-04 13:33:25 +02:00
Bartosz Dunajski
85b47476b6
Add MemorySynchronizationCommand to Blit commands estimation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-04 12:25:56 +02:00
Daria Hinz
b1f622d700
Set only base values in GT_SYSTEM_INFO for AOT
...
In most cases, there was code redundancy, which was minimized in this change.
The setupHardwareInfoBase extraction will also be used in ocloc.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-6910
2022-05-04 10:36:26 +02:00
Lukasz Jobczyk
0469034acb
Assign BCS at first blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-04 10:19:05 +02:00
Compute-Runtime-Validation
ebe8d051dc
Revert "Enable task count from wait on DG2 and later"
...
This reverts commit bd6c9a222b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-01 09:35:38 +02:00
Trojanowski, Karol
bd6c9a222b
Enable task count from wait on DG2 and later
...
Signed-off-by: Karol Trojanowski <karol.trojanowski@intel.com >
2022-04-29 14:27:54 +02:00