Pawel Wilma
d9858bf206
Add debug variable to override device name
...
This commit introduces debug variable to override device name reported
by CL_DEVICE_NAME property in OpenCL and ze_device_properties_t.name in
level_zero
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2022-05-19 15:16:13 +02:00
Mateusz Jablonski
e7e1e64cca
Create a wrapper for drm_i915_gem_context_param_sseu
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 14:10:09 +02:00
Compute-Runtime-Validation
9cf1fbd627
Revert "Add windows debugger feature check"
...
This reverts commit 65214e2e4c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-19 12:57:04 +02:00
Mateusz Jablonski
8cda3ef5cb
Move tag allocator tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-19 11:30:07 +02:00
Lukasz Jobczyk
888c935efb
Do not wait for completion in direct submission controller
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-05-19 11:12:42 +02:00
Artur Harasimiuk
4aa7cc527a
test: move .config files to shared/
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-19 01:12:51 +02:00
John Falkowski
340ba8bf56
Fix for task count hang issue
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-05-18 19:35:12 +02:00
Mateusz Jablonski
2ad04efd16
Move debug setting and file reader tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-18 18:54:02 +02:00
Krystian Chmielewski
359dfc301f
Improve elf encoder
...
This change:
* adds functions for setting members of ElfSymbol, and ElfRela.
* simplifies string section creation in ElfEncoder.
* adds function to query index of section in ElfEncoder.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-05-18 12:20:26 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-18 11:42:06 +02:00
Mateusz Jablonski
ac3005a463
Create a wrapper for drm_i915_query_item
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-18 11:32:44 +02:00
Yates, Brandon
65214e2e4c
Add windows debugger feature check
...
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-18 00:37:39 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Compute-Runtime-Validation
daf7829fa2
Revert "L0 Debugger Windows - implement debugger attach/detach"
...
This reverts commit f45431c173
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-17 19:02:11 +02:00
Mateusz Jablonski
de465b1e6c
Move drm wrappers to a separate file
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-17 17:58:19 +02:00
Igor Venevtsev
f45431c173
L0 Debugger Windows - implement debugger attach/detach
...
Related-To: NEO-6718
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-17 14:07:29 +02:00
Katarzyna Cencelewska
96e1eb7467
Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
...
Pvc specific variables should be located in pvc struct
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-17 12:19:16 +02:00
Mateusz Jablonski
2cca28af07
Create wrappers for drm_i915_gem_get_tiling and drm_i915_gem_set_tiling
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-17 11:08:08 +02:00
Artur Harasimiuk
7eafb1e877
remove unused code
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 18:15:03 +02:00
Artur Harasimiuk
4c98e98011
style: correct variable naming
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 17:24:47 +02:00
Mateusz Jablonski
06517f429f
Create wrappers for drm_i915_gem_create and drm_i915_gem_userptr
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-16 17:03:29 +02:00
Milczarek, Slawomir
9d31d36491
Disable cross-tile kmd migration for usm allocations
...
Ensure KMD migrations for USM allocations to occur between smem and lmem only
Related-To: NEO-6969
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-05-16 15:23:34 +02:00
Kacper Nowak
e32738ee4a
Set flag indicating corresponding addressing mode in zebin
...
Set missing flag indicating corresponding addresing mode.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Related-To: NEO-6646
2022-05-16 15:16:25 +02:00
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Dominik Dabek
5dcdf53d12
Fix: enable split taskcount from wait only on dg2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-05-13 14:30:16 +02:00
Daria Hinz
de74becdb8
Base hwInfo values setup for AOT
...
In most cases, there was code redundancy, which was minimized in this change.
The setupHardwareInfoBase extraction will also be used for ocloc.
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-6910
2022-05-13 09:40:37 +02:00
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
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
Mateusz Jablonski
145ff7cecf
Fix stack-buffer-overflow issue in test
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-11 19:55:12 +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
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
Baj, Tomasz
4e4560fe91
Add cl_device_uuid_khr to getDeviceInfo.
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-05-11 14:59:20 +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
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
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
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
Daniel Chabrowski
7576af5300
Limit systolic mode to Xe family
...
Related-To: NEO-6624
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-09 18:01:03 +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
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
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
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
Filip Hazubski
1088bfd837
Move shared ULT helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-06 09:20:27 +02:00
Pawel Cieslak
a0371bdfe1
test_stats, gather data after running all tests
...
add option to dump stats as json to file
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-05-05 14:18:14 +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
Katarzyna Cencelewska
28317e7062
Correct test and struct names
...
correct names - use xehpc instead of pvc for core tests
transform explicit xehpc tests to pvc if skip exist
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-05 11:35:28 +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
Katarzyna Cencelewska
2b55ca76b8
Move device_binary_format_ar_tests files for dg2 and pvc to proper folders
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-04 16:20:10 +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
Dominik Dabek
cb609f5f38
Enable ULLS on DG2
...
Related-To: NEO-6810
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-29 12:11:05 +02:00
Artur Harasimiuk
a6490062a9
fix code issues reported by clang 14
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-29 10:43:34 +02:00
Mateusz Jablonski
ac01f74924
style: fix gcc12 compilation errors
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 18:07:15 +02:00
Compute-Runtime-Validation
00a1a14652
Revert "Fix multi thread usage of external host alloc"
...
This reverts commit 54eee2a88b
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-28 17:42:07 +02:00
Mateusz Jablonski
ffd1c430b1
feature: use completion fence value from direct submission when available
...
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-28 15:38:11 +02:00
Zbigniew Zdanowicz
819d648997
Use single event for multiple kernels
...
Related-To: NEO-6871
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-28 15:10:04 +02:00
Krzysztof Gibala
a3745c28a3
Create peekGmmHelper function in CSR
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-28 12:54:32 +02:00
Filip Hazubski
55dcca993c
Apply getPaddingForISAAllocation PVC implementation to PVC and later platforms
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 15:55:39 +02:00
Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Filip Hazubski
3900c9d24a
Report to StreamProperties whether large grf should be programmed with SCM
...
Add helper method to UnitTestHelper to query programmed grf values.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 13:20:14 +02:00
Compute-Runtime-Validation
903cf766b3
Revert "Move shared helper files to shared directory"
...
This reverts commit 459524f129
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-27 13:12:16 +02:00
Krystian Chmielewski
e007ba499f
feat(zebin): add support for build options section
...
This change:
* Adds support for build options section in zebinary - using
build options in binary when rebuilding.
* Appends "-cl-intel-allow-zebin" flag to build options when zebin is
used.
Resolves: NEO-6916
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-27 11:26:42 +02:00
Bartosz Dunajski
0d82216f43
Refactor handling unknown builtins
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-27 10:49:16 +02:00
Filip Hazubski
459524f129
Move shared helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-27 10:34:42 +02:00
Mateusz Jablonski
188bf3c6fa
Remove not needed relocation name for implicit args
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-26 17:29:54 +02:00
Maciej Plewka
54eee2a88b
Fix multi thread usage of external host alloc
...
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-04-26 15:31:24 +02:00
Bartosz Dunajski
192ffa4c26
Add support for allocating RT globals
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-25 17:56:09 +02:00
Mateusz Jablonski
4a5f1b9358
refactor: extract common logic for waiting on user fences in Drm
...
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-25 17:34:23 +02:00
Mateusz Jablonski
03185f7111
feature direct submission: use tag allocation as a completion fence
...
use tag allocation address as a completion address in exec call
wait for completion value before destroying drm direct submission
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-25 13:30:55 +02:00
Naklicki, Mateusz
f1574bebb4
Use flag to opt-in for VM_BIND mode
...
Related-To: NEO-6640
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-04-22 17:11:37 +02:00
Filip Hazubski
944319b3d9
Correct media compression format for blitter operations on planar images
...
Set most significant bit for chroma planes.
Move common logic to helper function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-22 17:02:16 +02:00
Bartosz Dunajski
9959896957
Add RT calls support to Kernel descriptor
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-22 16:33:59 +02:00
Krystian Chmielewski
5c120f5f2d
fix: Ignore unsupported relocs in debug zebin
...
Do not apply relocations with types different than {1, 2, 3}, when creating
debug zebin.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-21 13:47:13 +02:00
Bartosz Dunajski
06fa316a75
Assign pat_index to BO during creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-21 13:25:13 +02:00
Mateusz Hoppe
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
Zbigniew Zdanowicz
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
Kamil Kopryk
e4437fcf54
Add exclude support for hwtest_p tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-04-20 17:46:32 +02:00
Mateusz Jablonski
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
Mateusz Jablonski
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
Kamil Kopryk
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
Mateusz Jablonski
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
Filip Hazubski
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
Lukasz Jobczyk
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
Kacper Nowak
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
Filip Hazubski
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
Rafal Maziejuk
a970622cc1
Print slice index in printImageBlitBlockCopyCommand function
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-04-19 12:04:50 +02:00
Bartosz Dunajski
5f37aa4ba4
Pass cache settings to aub_stream
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-19 11:00:07 +02:00
Krystian Chmielewski
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
Lukasz Jobczyk
b15c8e971c
Move isTimestampWaitSupported method to different file
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-15 13:20:02 +02:00
Dominik Dabek
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
Lukasz Jobczyk
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
Patryk Wrobel
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
Zbigniew Zdanowicz
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
Milczarek, Slawomir
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
Brandon Yates
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
Krystian Chmielewski
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
Raiyan Latif
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
Krystian Chmielewski
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
Bartosz Dunajski
884d729e4e
Improve pat index programming on linux
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-12 08:18:20 +02:00
Krystian Chmielewski
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
Daria Hinz
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
Patryk Wrobel
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
Bartosz Dunajski
9e7703a578
Fix Wddm DirectSubmission unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-11 12:42:58 +02:00
Zbigniew Zdanowicz
f8b8f58bea
test: add new encode tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-08 12:39:23 +02:00
Krystian Chmielewski
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
Daniel Chabrowski
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
Bartosz Dunajski
fc4eaa1894
Refactor passing GlobalFenceAllocation to DirectSubmission
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-07 16:08:07 +02:00
Lukasz Jobczyk
fffcf2612e
Flush tag only if needed in deferred deleter
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-07 15:36:29 +02:00
Patryk Wrobel
76349b8030
Improve code coverage of OfflineCompiler class
...
This change introduces unit tests related to
member functions of OfflineCompiler class.
OfflineCompiler::initialize() is not covered
and it will be added in a separate commit.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-07 13:58:52 +02:00
Bartosz Dunajski
db9c0d1103
Refactor and enable MI_MEM_FENCE programming for DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-07 12:53:56 +02:00
Daniel Chabrowski
3c4b442c79
Virtual engines for BCS
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-07 11:52:29 +02:00
Zbigniew Zdanowicz
7d79c64c35
Change event memory layout for multi tile capable platforms
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 10:44:14 +02:00
Zbigniew Zdanowicz
fd45ac133d
Unify append calls
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-07 10:18:55 +02:00
Compute-Runtime-Validation
b88e16252e
Revert "Change event memory layout for multi tile capable platforms"
...
This reverts commit 616dd55789
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-07 07:55:34 +02:00
Compute-Runtime-Validation
64d3f95410
Revert "Allow for zebin rebuild when IR is present"
...
This reverts commit 2ae3f3e521
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-06 23:17:22 +02:00
Bartosz Dunajski
6e9c890890
Enable sfence instruction programming for DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-06 14:24:04 +02:00
Zbigniew Zdanowicz
f4407064a4
Refactor store register mem encoder to include partition parameter
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 14:00:56 +02:00
Zbigniew Zdanowicz
616dd55789
Change event memory layout for multi tile capable platforms
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-06 11:20:57 +02:00
Mateusz Jablonski
d3b7ea10c8
Dont allocate dynamic memory when preparing params for vm bind call
...
Related-To: NEO-6837
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-05 19:41:56 +02:00
Daniel Chabrowski
eaba246464
Test prelim command stream and clos cache
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-05 16:48:00 +02:00
Krystian Chmielewski
2ae3f3e521
Allow for zebin rebuild when IR is present
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-05 10:25:06 +02:00
Daniel Chabrowski
090a79f3f9
Test local memory DRM allocations
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-04 17:30:05 +02:00
Filip Hazubski
d2462ff8fb
Add debug flag to control ISA allocation padding
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-04 15:12:30 +02:00
Mateusz Hoppe
8e98b586ed
Cleanup shared test files - xe_hpc_core
...
- move test files from shared/test/common directory to
shared/test/unit_test
- cleanup cmakelists.txt files
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-04 14:18:40 +02:00
Mateusz Jablonski
817ba40771
Stop accessing task count from out-of-bound in opencl and shared ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-04 11:29:54 +02:00
Mateusz Hoppe
7c068cb05b
Add PVC hwinfo config test for Thread Eu ratio
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-04 11:03:36 +02:00
Mateusz Jablonski
b45ffdb334
Move drm command stream fixture to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-01 15:58:37 +02:00
Bartosz Dunajski
779bca39a7
Debug flag to add sfence instruction prior to DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-01 15:53:03 +02:00
Mateusz Jablonski
7910567a76
Handle missing tag address in getting completion address
...
rename test fixture to comply one definition rule
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-01 15:00:35 +02:00
Mateusz Jablonski
9d502dea25
Refactor waitOnCompletionFence method in DrmMemoryManager
...
get completion address and value from command stream receiver
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-31 19:30:16 +02:00
Dominik Dabek
308f9ccfff
Do not allocate dynamic state heap if not needed
...
Dynamic state heap is only used for sampler data.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-03-31 12:13:13 +02:00
Kacper Nowak
afd71beee9
Add slm_alignment entry to .zeInfo payload_arguments section
...
This commit adds suport for parsing "slm_alignment" entry in .ze_info
section.
- Set requiredSlmAlignment for addresing mode slm
- Enable optional passed slm alignment parsing (with default value=16
left).
Related-To: NEO-6817
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-31 12:00:16 +02:00
Jobczyk, Lukasz
a285712cc4
Add missing download allocation calls
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-31 09:49:22 +02:00
Sebastian Luzynski
01e76998d4
Remove unused CPU features
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-03-30 18:20:08 +02:00
Daniel Chabrowski
5350553f72
Use PrelimHelper for isDebugAttachAvailable
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-30 16:17:05 +02:00
Compute-Runtime-Validation
91cfd3cd1a
Revert "Unify command/ring/semaphore buffers placement"
...
This reverts commit e035199de4
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-30 14:05:47 +02:00
Krystian Chmielewski
6023a5b58e
Zebin: don't fail when extfunc caller cannot be found
...
This commit removes early fail in linking with zebin and external
functions which happens when, there's a relocation to external functions
section, but it's not modifying any external function. And only treats
GLOBAL FUNC symbols pointing to external functions section as external
function symbols.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-03-30 13:53:25 +02:00
Milczarek, Slawomir
7cd4ca5ce7
Fixed AUB capture in HW mode for umd-migrated shared allocations
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-03-30 12:04:58 +02:00
Naklicki, Mateusz
bce96e666f
Use updated macro names
...
Related-To: NEO-6730
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-03-30 10:44:59 +02:00
Sebastian Luzynski
cf906030ac
Add neon intrinsics for aarch64
...
Related-To: NEO-6452
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-03-29 18:22:32 +02:00
Rafal Maziejuk
c7d8915dd4
Add debug variable to print XY_BLOCK_COPY_BLT command details
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-29 18:15:13 +02:00
Mateusz Jablonski
e035199de4
Unify command/ring/semaphore buffers placement
...
put them all to the same memory location
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-29 17:55:48 +02:00
Mateusz Hoppe
681c09d314
Extend LinearStream with gpuBase
...
- added methods to set and query gpu base address
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-03-29 15:15:53 +02:00
Bartosz Dunajski
68351249d1
Add debug flag to read back command buffer pointer
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-29 13:08:18 +02:00
Dominik Dabek
fccda460d6
Optimize zeCommandListCreate
...
Do not allocate heap if command list is copy only.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com>
2022-03-28 16:31:10 +02:00
Konstanty Misiak
174c27eb31
Fix CFEFusedEUDispatch debug flag
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-03-28 12:32:05 +02:00
Jobczyk, Lukasz
d77a6cbe4b
Enable task count update from wait
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2022-03-28 11:09:55 +02:00
Filip Hazubski
586e8510de
Remove unneeded include
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-26 09:55:25 +01:00
Compute-Runtime-Validation
c8116b713f
Revert "Account for hwInfo when checking for implicit scaling support"
...
This reverts commit f6c5995219
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-25 21:41:51 +01:00
Mateusz Jablonski
3ac0581f2e
Add debug flags to read back cmd/ring buffer before unblocking semaphore
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-25 20:36:29 +01:00
Mateusz Jablonski
e11eb46bff
Unify logic for programming mocs in post sync struct
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-25 17:01:51 +01:00
Zbigniew Zdanowicz
bb753784cc
Optimize post sync operations for fence and task count update
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-25 10:57:10 +01:00
Lukasz Jobczyk
a230f267e1
Poll task count indefinitely on high throttle command queue
...
Resolves: NEO-6781
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-25 10:06:16 +01:00
Compute-Runtime-Validation
0c064ccf4c
Revert "Enable task count update from wait"
...
This reverts commit 5118a5d3a6
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-25 00:09:52 +01:00
Kacper Nowak
5477cb6b8c
Correct typo
...
- Replace "aligMent" with correct "aligNMent"
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-24 17:46:49 +01:00
Patryk Wrobel
14954acd12
Detect GPU hang in command list immediate
...
This change introduces checking of values returned
by blocking calls used in cmdlist_hw_immediate.inl.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
Related-To: NEO-6681
2022-03-24 12:42:19 +01:00
Krzysztof Gibala
ebc006ad53
Move SBA related WAs logic from CSR to EncodeWA
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-03-24 12:24:56 +01:00
Artur Harasimiuk
52da8f7260
allow external definition of NEO_KERNELS_BIN_DIR
...
Related-To: NEO-6783
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-03-24 12:00:46 +01:00
Kamil Kopryk
c415edaba1
Improve isGlobalFenceInCommandStreamRequired helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-24 11:27:54 +01:00
Mateusz Jablonski
8a8b4866cb
XeHPC: force local memory for command/ring/semaphore buffer
...
require 48bit resource for ring/semaphore buffer
for multi tile allocations select first tile
for single tile allocation select preferred tile
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-24 10:54:26 +01:00
Raiyan Latif
f6c5995219
Account for hwInfo when checking for implicit scaling support
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-03-23 19:16:03 +01:00
Joshua Santosh Ranjan
71abef22bd
Code cleanup
...
This patch fixes missed type-casting.
Related-To: LOCI-3022
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-23 19:05:48 +01:00
Milczarek, Slawomir
f03f530327
Extend zeCommandListAppendMemoryPrefetch to migrate to associated device
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-03-23 14:21:17 +01:00
Baj, Tomasz
1f7fd45251
Move device UUID from L0 to shared
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-03-23 12:52:24 +01:00
Lukasz Jobczyk
5118a5d3a6
Enable task count update from wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-23 11:38:50 +01:00
Fabian Zwolinski
ff1ee9fdb9
Remove gmock includes in opencl and shared
...
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-22 22:55:39 +01:00
Fabian Zwolinski
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-22 16:16:34 +01:00
Jitendra Sharma
f52f3df274
Add platform specific getter of debug surface size
...
For different platforms based on number of available threads
and debug surface layout, calculate max debug surface size.
Related-To: NEO-6676
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-03-22 12:18:40 +01:00
Kamil Kopryk
04a141698e
Improve getThreadEuRatioForScratch helper
...
Related-To: NEO-6738
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-03-22 10:47:02 +01:00
Kamil Kopryk
073e15d75e
Change macro for ult
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-22 10:13:45 +01:00
Kamil Kopryk
bf559ed028
Correct xe_hpc_core ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-03-21 17:19:07 +01:00
Kacper Nowak
50aeae41bf
Remove custom _PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE definition
...
This commit removes custom definition of
_PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE and
instead uses one provided by IGC.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-21 10:44:27 +01:00
Mateusz Jablonski
3792481d33
XeHPC Implicit scaling: put command/ring/semaphore buffer to first memory bank
...
In direct submission scenario command/ring/semaphore buffer allocations
are placed in the same memory bank to ensure that their memory is updated in
correct order
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-21 08:10:50 +01:00
Lukasz Jobczyk
e870643c41
Adapt direct submission controller to implicit scaling
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-03-18 18:33:36 +01:00
Rafal Maziejuk
6ee5c0f677
Add appendBaseAddressOffset function to BlitCommandsHelper
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-18 16:46:15 +01:00
Fabian Zwolinski
726b676983
Remove DrmMockImpl and use DrmMock instead
...
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-18 15:45:48 +01:00
Daniel Chabrowski
ce85cee7eb
Test prelim drm residency handler
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-17 12:09:55 +01:00
Mateusz Jablonski
14acaf677d
Move tests to shared
...
memory manager allocate in device pool
storage info
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-17 11:20:18 +01:00
Joshua Santosh Ranjan
05a150f49f
L0 Core Add Support For pci_speed_ext
...
This patch adds support for reading PCI bandwidth, generation
and linkwidth information from sysfs nodes for the linux
platform.
Related-To: LOCI-2969
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-16 22:47:59 +01:00
Filip Hazubski
35d9d9e18c
Do not force resetting SCM properties
...
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-16 14:16:45 +01:00
Fabian Zwoliński
08d1af76c3
Revert "Remove DrmMockImpl class and use DrmMock instead"
...
This reverts commit 4ccbbfa41476ecccdee181b4e6b2e72eed5eaab1.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-16 13:56:14 +01:00
Filip Hazubski
ef3dffca33
Remove unused function parameter
...
Remove parameter requiredThreadArbitrationPolicy
from PreambleHelper::programPreamble function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-16 13:16:13 +01:00
Kacper Nowak
86434e485d
Move PATCH_TOKEN_GLOBAL_HOST_ACCESS_TABLE to kernel scope tokens
...
This commit moves patch token with global host access table to the
kernel scope from the program scope.
Related-To: NEO-6734
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-16 12:58:25 +01:00
Maciej Bielski
a71b88fefb
PageFaultHandler: speedup UM allocations lookup
...
Add a per-instance SVMAllocsManager::nonGpuDomainAllocs container for
all allocations to be removed in
moveAllocationsWithinUMAllocsManagerToGpuDomain. This approach replaces
the current iterative search and performs the task faster.
Add 7 new unit-tests to verify the functionality related to
nonGpuDomainAllocs container, both in expected and unexpected/synthetic
scenarios.
For UTs replace a dummy unifiedMemoryManager pointer with a pointer to
an instace of SVMAllocsManager, otherwise a SegFault error is thrown at
the end of tests.
Perform overall cleanup in related tests implementation, includes but
not limited to removal of:
- givenInitialPlacementGpu\
WhenMovingToGpuDomainThenFirstAccessDoesNotInvokeTransfer
As it is fully covered by:
givenAllocationMovedToGpuDomain\
WhenVerifyingPagefaultThenAllocationIsMovedToCpuDomain
- givenInitialPlacementGpu\
WhenVerifyingPagefaultThenFirstAccessDoesNotInvokeTransfer
As it is fully covered by:
givenTbxAndnitialPlacementGpu\
WhenVerifyingPagefaultThenMemoryIsUnprotectedOnly
Finally, reduce code duplication where possible.
Related-To: NEO-6658
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2022-03-16 11:18:24 +01:00
Filip Hazubski
cd95572443
Reuse common logic of programming SCM fields for gen 9 and gen 11
...
Logic related to programming non coherent and thread arbitration policy for
gens 9 and 11 has been moved to EncodeComputeMode object, where similar
logic for gens gen12lp and newer is located.
Functions PreambleHelper::programThreadArbitration and
PreambleHelper::getThreadArbitrationCommandsSize have been removed.
Redundant setForceNonCoherent call has been removed from XE HPG
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-16 10:04:32 +01:00
Filip Hazubski
32b0f7b014
Remove redundant value CsrSizeRequestFlags::numGrfRequiredChanged
...
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-15 15:08:15 +01:00
Daniel Chabrowski
adc5fb30d7
Fix UB with std::optional deref in tests
...
Accessing optional value with operator-> when it has no value is an UB.
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
2022-03-15 13:29:59 +01:00
Kamil Kopryk
8c4b2aafa1
Move test_hw_info_config.cpp to shared unit tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6631
2022-03-15 12:36:53 +01:00
Mateusz Jablonski
c7e76ce109
Add support for a new relocation name for implicit args
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-15 12:03:51 +01:00
Kamil Kopryk
a20edd7160
Correct xe_hpc_core files
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6631
2022-03-15 09:28:18 +01:00
Daria Hinz
452050ae40
Refactoring the use of PVC device ids
...
Replacing the old device id implementation
& clearing PVC XT temporary.
Related-To: NEO-6742
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-03-14 15:54:52 +01:00
Fabian Zwolinski
2e6d8fefa3
Remove DrmMockImpl class and use DrmMock instead
...
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-03-11 15:12:11 +01:00
Filip Hazubski
3eab7009ac
Move SCM related WAs logic from CSR to EncodeComputeMode
...
This will help with unifying the logic between APIs and GENs.
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-11 14:00:53 +01:00
Kamil Kopryk
7d6bee26c7
Move pvc helpers to pvc files
...
Related-To: NEO-6631
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-03-11 13:46:59 +01:00
Michal Mrozek
6b29b03c29
Change default thread arbitration policy on PVC.
...
New default is round robin after stall.
Resolves: NEO-6731
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-03-11 09:20:53 +01:00
Joshua Santosh Ranjan
c7ce397b17
Metrics IP Sampling Add Support for Streamer APIs
...
This Patch adds support for collecting IP Metrics using
StreamerOpen, StreamerClose and StreamerReadData
Related-To: LOCI-2755
Related-To: LOCI-2756
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-03-11 03:03:22 +01:00
Bartosz Dunajski
c6e27bdc18
Enable prepatcher DirectSubmission WA
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-10 20:23:11 +01:00
Bartosz Dunajski
79fedd59e4
Add BB_START prepatching WA - disabled by default
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-10 17:05:53 +01:00
Krystian Chmielewski
1b4319fdab
Update zebin note target metadata
...
This commit removes ZebinTargetMetadata struct, and uses
ZebinTargetFlags for both target validations: via machine type, and
via intel gt notes.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-03-10 16:47:01 +01:00
Bartosz Dunajski
e24322f266
Debug flag to control MI_ARB_CHECK prefetcher
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-10 12:50:05 +01:00
Compute-Runtime-Validation
41c51df086
Revert "Recycle old command buffers of immediate command lists"
...
This reverts commit 8f93f4f3ec
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-03-10 09:12:47 +01:00
Patryk Wrobel
835b344968
Add debug flag to disable GPU hang detection
...
This change introduces the new flag called DisableGpuHangDetection.
By default it is disabled. When someone wants to disable hang checking,
then this flag can be set to true.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-03-09 18:07:42 +01:00
Milczarek, Slawomir
c0b7f05897
Add memory prefetch for kmd migrated shared allocations
...
This feature is disabled by default, controlled with the knob
AppendMemoryPrefetchForKmdMigratedSharedAllocations
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-03-09 16:02:18 +01:00
Daniel Chabrowski
10e7b9d5be
Test prelim buffer object ext
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-09 12:39:43 +01:00
Mateusz Jablonski
3e8a6680e2
Allow undefined symbols in symbol table for OCL
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-03-09 10:32:15 +01:00
Kamil Kopryk
038d1d54fa
Correct xe_hpc tests
...
Related-To: NEO-6631
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-03-09 09:21:30 +01:00
Zbigniew Zdanowicz
8f93f4f3ec
Recycle old command buffers of immediate command lists
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-08 14:59:26 +01:00
Filip Hazubski
dd01cff879
Unify logic determining thread arbitration policy value
...
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-08 13:14:56 +01:00
Filip Hazubski
80b520bc9b
Change ThreadArbitrationPolicy enum type to int32_t
...
Change ThreadArbitrationPolicy::NotPresent value to -1
Update initial values to ThreadArbitrationPolicy::NotPresent
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-07 20:04:24 +01:00
Daniel Chabrowski
de0361cfa5
Test prelim VM bind, debug
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-07 19:42:41 +01:00
Krystian Chmielewski
439389ae19
Do not resolve external functions when none passed
...
This commit adds check in Linker::resolveExternalFunctions checking
if external functions are present before trying to resolve dependencies
and adds default values for ExternalFunctionInfo.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-03-07 19:05:17 +01:00
Filip Hazubski
0f54a57910
Update programming STATE_COMPUTE_MODE
...
Remove function clearComputeModePropertiesIfNeeded.
If a field has to be programmed unconditionally, ignore isDirty flag.
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-07 16:23:59 +01:00
Jaime Arteaga
a010fb3634
Dont close shared handle on imported allocations
...
Related-To: LOCI-2272
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-03-06 04:35:47 +01:00
Kacper Nowak
c5ff07237b
Patchtokens: Add support for querying device globals by host name
...
This commit enables parsing symbol infos
passed in the PATCH_TOKEN_PROGRAM_SYMBOL_TABLE patchtoken.
Related-To: NEO-6734
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-04 14:38:19 +01:00
Krystian Chmielewski
0ccce5a6d7
Zebin: set kernel barriers based on ext funcs
...
This change allows for modifying kernel's barrier count
based on called external functions metadata passed
via zeInfo section in zebin.
Added parsing external functions metadata.
Added resolving external functions call graph.
Added updating kernel barriers based on called external functions.
Added support for L0 dynamic link.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-03-04 14:21:50 +01:00
Daniel Chabrowski
bae9e6f5b5
Test DRM query, bind, context create
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-04 08:51:37 +01:00
Rafal Maziejuk
6658768149
Add check in XY_BLOCK_COPY_BLT surface width, height & depth setters
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-03-03 16:35:51 +01:00
Daniel Chabrowski
5ae968f2fd
Test prelim drm memory info
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-03 16:17:22 +01:00
Igor Venevtsev
2263fe59ec
Generate revision-specific kernels for L0
...
Resolves: NEO-6504
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-03-03 13:37:41 +01:00
Kacper Nowak
38086029ed
Zebin: Add support for querying device globals by host name
...
This commit adds support for querying global pointers via decorated
names passed in zeInfo.
Related-To: NEO-6734
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-03-03 13:13:22 +01:00
Michal Mrozek
721c59d3d5
Move to StackVec for timestamp packet container.
...
Do not use std::vector in hot path.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-03-03 10:34:06 +01:00
Neil R Spruit
fc11701422
LLVM IR removed from Compiler Link
...
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-03-02 17:25:36 +01:00
Grzegorz Choinski
b41f088fe9
rename neo_test_kernels to kernels_bin
...
Related-To: NEO-6172
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-03-02 13:46:26 +01:00
Bartosz Dunajski
927bbe9ee9
Disable DirectSubmission in aub/tbx mode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-03-01 11:00:42 +01:00
John Falkowski
22ed1be1a3
Add checks for mmap and getSpace
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-02-28 20:57:29 +01:00
Patryk Wrobel
0ecc7c5e3b
Detect GPU hangs in clFinish
...
This change introduces detection of GPU hangs in
clFinish function as well as unit tests to cover
the new code.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-28 19:07:36 +01:00
Konstanty Misiak
cf1bc3a2ba
Disable EU fusion based on kernel properties from compiler
...
Related-To: NEO-6633
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-02-28 18:50:38 +01:00
Milczarek, Slawomir
13bc2300e1
Add mock function to check for page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-02-28 18:36:31 +01:00
Daniel Chabrowski
ca7d47598a
Reintroduce prelim DRM debug support
...
It was verified that the issue existed before the failing commit.
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-28 18:25:57 +01:00
Daniel Chabrowski
d603bb2f34
Revert "Prelim DRM debug support"
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
This reverts commit 5e021be0cd
.
2022-02-25 18:33:11 +01:00
Mateusz Jablonski
82e3b10c5a
Fix typo
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-25 18:10:41 +01:00
Kamil Diedrich
371358c8c7
Enable blitter for DG1+WSL&Linux
...
Related-To: NEO-6710, NEO-6685
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-25 17:02:33 +01:00
Katarzyna Cencelewska
93efb2c63f
Move DATA_PARAMETER_CHILD_BLOCK_SIMD_SIZE to ignore
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-25 10:29:58 +01:00
Mateusz Jablonski
a2386ad216
Correct programming of implicit args on pre-XeHp platforms
...
On pre-XeHp platforms implicit args aren't at the beginning of indirect data,
GPU address of implicit args buffer is programmed within cross thread data
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-24 20:52:04 +01:00
Mateusz Jablonski
3b7fbef826
Handle implicit args buffer info in zebin
...
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-24 19:43:21 +01:00
Mateusz Jablonski
292f16d423
Remove handling of DATA_PARAMETER_LOCAL_ID_BUFFER
...
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-24 15:14:06 +01:00
Kacper Nowak
447c40cec0
Fix generating localIDs in zebin
...
This commit fixes generating localIDs in zebin.
With thix fix, Emit Local in compute walker will be set accordingly with
the size of local_id argtype (currently, Emit Local is set to Emit None,
which prevents generating local IDs).
Related-To: NEO-6089
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-02-23 16:51:55 +01:00
Daniel Chabrowski
3c6e0eed2e
Remove use of designated initializers
...
This is a c++20 feature, it worked on Linux via gcc extensions
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-23 13:56:03 +01:00
Katarzyna Cencelewska
7d2d5e5792
Add to decodeToken debugPrintf when ignored token
...
set as ignored token PATCH_TOKEN_INTERFACE_DESCRIPTOR_DATA
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-23 13:37:05 +01:00
Patryk Wrobel
7f729b7f89
Detect GPU hang in clWaitForEvents
...
This change:
- moves NEO::WaitStatus to a separate file
- enables detection of GPU hang in clWaitForEvents
- adjusts most of blocking calls in CommandStreamReceiver to return WaitStatus
- adds ULTs to cover the new code
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-23 13:33:09 +01:00
Mateusz Jablonski
8860fcc868
Handle patch token for implicit args buffer
...
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-23 12:04:54 +01:00
Mateusz Jablonski
ea6f089e17
Unify implicit args programming across APIs
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-23 11:52:47 +01:00
Igor Venevtsev
086a70ca52
Add ForceAllResourcesUncached debug variable
...
Resolves: NEO-6563
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-02-23 09:43:48 +01:00
Compute-Runtime-Validation
faba32daf0
Revert "Fix generating localIDs in zebin"
...
This reverts commit 441fe1f589
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-02-23 06:33:33 +01:00
Daniel Chabrowski
5e021be0cd
Prelim DRM debug support
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-22 14:59:07 +01:00
Katarzyna Cencelewska
4994eb18c2
Remove device side enqueue info from kernel descriptor
...
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-22 14:18:44 +01:00
Kacper Nowak
441fe1f589
Fix generating localIDs in zebin
...
This commit fixes generating localIDs in zebin.
With thix fix, Emit Local in compute walker will be set accordingly with
the size of local_id argtype (currently, Emit Local is set to Emit None,
which prevents generating local IDs).
Related-To: NEO-6089
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-02-21 18:20:05 +01:00
Joshua Santosh Ranjan
10f98b45db
Metrics Add Os specific implementation Structure for IP Sampling
...
This patch adds OS specific implementation for IP Sampling.
Implementation for linux is provided as part of this patch.
Related-To: LOCI-2787
--- master-files
level_zero/tools/source/metrics/linux/os_metric_ip_sampling_imp_linux.cpp
level_zero/tools/source/metrics/os_metric_ip_sampling.h
level_zero/tools/source/metrics/windows/os_metric_ip_sampling_imp_windows.cpp
level_zero/tools/test/unit_tests/sources/metrics/linux/test_metric_ip_sampling_linux_prelim.cpp
level_zero/tools/test/unit_tests/sources/metrics/linux/test_metric_ip_sampling_linux_upstream.cpp
level_zero/tools/test/unit_tests/sources/metrics/windows/test_metric_ip_sampling_windows.cpp
--- master-files
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-18 23:15:44 +01:00
Aravind Gopalakrishnan
16f2fbbc37
[9/n] L0 immediate commandlist improvements
...
Add HwInfo utility for more fine-grained flush task enablement
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-18 19:51:28 +01:00
Mateusz Jablonski
aae7858ed9
CMake: define enable core files only once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-18 11:50:09 +01:00
Mateusz Jablonski
6799ea6119
Move linux device factory tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-18 10:15:53 +01:00
Mateusz Jablonski
4f71aaf595
Handle SIMD-1 scenario when programming local ids for implicit args
...
according to implicit args design for SIMD-1 local ids are one-by-one
Resolves: NEO-6692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-17 17:48:54 +01:00
Maciej Plewka
f9307bb20e
Fix don't store internal host mem in hostPtrMap
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-02-17 14:38:40 +01:00
Mateusz Jablonski
235f9be779
Move ioctl strings out of ioctl helper
...
In order to setup ioctl helper we need to call ioctl to get hw info
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-17 12:30:47 +01:00
Dominik Dabek
e0c892ed55
Add lock to downloading allocations on tbx
...
When running multiple threads, one thread could clear
allocationsForDownload while another was iterating over it.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-02-16 16:51:41 +01:00
Igor Venevtsev
60d6505932
L0 debugger - reports process ENTER/EXIT events for zeCommandQueues
...
- PROCESS_ENTRY - triggered by first zeCommandQueueCreate()
- PROCESS_EXIT - triggered by last zeCommandQueueDestroy()
Resolves: NEO-6503
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-02-16 16:28:33 +01:00
DmitryBushev
dbe1779e4b
Add compiler mocks for new fcl interface
...
Signed-off-by: DmitryBushev <dmitry.bushev@intel.com>
2022-02-16 15:17:30 +01:00
Mateusz Jablonski
dabbabd3c9
Refactor createDrmContext function
...
merge createDrmContext, createDrmContextExt and appendDrmContextFlag
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-16 15:15:35 +01:00
Rafal Maziejuk
2d901f925c
Run aub tests for enqueue image operations with BCS enabled
...
Following API calls are being tested:
- enqueueWriteImage
- enqueueReadImage
- enqueueCopyImage
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6135
2022-02-16 14:54:48 +01:00
Patryk Wrobel
1275c4e200
Detect GPU hang in remaining blocking calls of L0
...
This change introduces detection of GPU hangs in
zeEventHostSynchronize and zeFenceHostSynchronize.
Furthermore, if CommandQueueHw::executeCommandLists
uses ZE_COMMAND_QUEUE_MODE_SYNCHRONOUS and hang occurs,
the information about it is propagated to the caller.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-16 14:47:29 +01:00
Mateusz Jablonski
a59d285fde
Add function to create VmControlExtRegion
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-16 10:12:06 +01:00
Aravind Gopalakrishnan
74cdd60255
[7/n] L0 immediate commandlist improvements
...
Enable flushTask only for specific families for now
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-15 18:43:30 +01:00
Bartosz Dunajski
17edd5abc2
Add CachePolicyGetPATIndex API support to GmmClientContext
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-15 16:23:35 +01:00
Mateusz Jablonski
b681b2ae10
Create struct for vm bind params
...
add ioctl helper function for vm bind and vm unbind
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 16:11:11 +01:00
Mateusz Hoppe
b71a12c252
Set cooperative flag for debuggable contexts during creation
...
Related-To: NEO-6668
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-15 16:00:25 +01:00
Kacper Nowak
cd9cc53159
Correct setting usesStringMap flag in printf
...
This commit fixes setting usesStringMap flag for printf, taking into
account using indirect functions in legacy (non-zebinary) path. It also
adds new field to kernelDescriptor, specifying the binary type
(legacy/zebin).
Related-To: NEO-6604
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-02-15 15:39:10 +01:00
Mateusz Jablonski
143f67f2fe
Enable vm bind availability based on ioctl helper support
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 15:27:52 +01:00
Daniel Chabrowski
f7322d3b85
Extend EngineInfo with additional copy engines
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-15 15:05:02 +01:00
Mateusz Jablonski
19c7162cf6
Add functions to create and fill VmBindExtSetPat and VmBindExtSyncFence
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 14:04:57 +01:00
Mateusz Jablonski
12e2670b9a
Add ioctl helper function to check vm bind availability
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 12:43:50 +01:00
Mateusz Jablonski
964596e514
Add methods to prepare VM BIND structs
...
create VmBindExt
setup flags for VM BIND
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 09:25:07 +01:00
Mateusz Jablonski
cf27583264
Move createDrmContextExt to drm_neo.cpp
...
add ioctl helper functions to create dedicated drm contexts
createContextWithAccessCounters
createCooperativeContext
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-15 09:16:36 +01:00
Patryk Wrobel
6ac6db7b04
Store single generic IR in fatbinary when built from SPIR-V input
...
This change prevents embedding identical SPIR-V section for each
target requested in fatbinary build. Instead of duplicating SPIR-V,
a new file called 'generic_ir' is added to AR archive. It contains
SPIR-V, which was used to build fatbinary. Build fallback in runtime
has been also adjusted - if 'generic_ir' file is defined in fatbinary
and there is no matching binary, then this generic SPIR-V is used to
rebuild for the requested target.
Additionally, MockOclocArgumentHelper::loadDataFromFile() was adjusted
to ensure null-termination of returned strings.
This change also removes possible undefined behavior, which was
related to reading names of files from AR archive. Previously,
if filename was shorter than requested target name, we tried to
read more memory than allowed.
Related-To: NEO-6490
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-14 15:30:46 +01:00
Fabian Zwolinski
4e31612c31
Remove GMock from GMockDrmMemoryManager, MockOSMemoryLinux, MyCsr...
...
Removed Gmock from:
- GMockDrmMemoryManager
- MockOSMemoryLinux
- MyCsr
- GmockGfxPartition
Renamed:
- GMockDrmMemoryManager -> MockTestedDrmMemoryManager
Moved class body:
- GmockGfxPartition -> MockGfxPartition
- MockTestedDrmMemoryManager -> TestedDrmMemoryManager
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-02-14 13:33:15 +01:00
Mateusz Jablonski
173c86d6f1
Move ioctl strings to ioctl helper
...
move ioctl helper prelim tests with drm to separated file
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-14 10:47:31 +01:00
Compute-Runtime-Validation
5ec8c004ce
Revert "Set cooperative flag for debuggable contexts during creation"
...
This reverts commit 5e0732f57e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-02-13 04:43:35 +01:00
Krzysztof Gibala
02c87fd8b9
Refactor naming around additional PC before NP state command
...
Rename:
- debug flag ProgramPipeControlPriorToNonPipelinedStateCommand
to ProgramExtendedPipeControlPriorToNonPipelinedStateCommand
- local variables
Related-To: NEO-6615
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-02-11 19:24:14 +01:00
Mateusz Jablonski
3467bc0994
Extend waitForBind function
...
use waitUserFence to wait for fence value
move some tests to shared
- ioctl helper tests
- drm memory info tests
- drm cache info
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-11 18:52:59 +01:00
Mateusz Hoppe
5e0732f57e
Set cooperative flag for debuggable contexts during creation
...
Related-To: NEO-6668
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-11 14:58:57 +01:00
Krzysztof Gibala
436fd7edce
Add PC before NP state commands on ATS
...
Add pipe control before state base address, state compute
mode and state sip commands.
Related-To: NEO-6615
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-02-11 12:28:59 +01:00
Compute-Runtime-Validation
5ce4bb4068
Revert "Add compiler mocks for new fcl interface"
...
This reverts commit b61d213f4f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-02-11 04:45:45 +01:00
Daniel Chabrowski
23999110ed
Add prelim DRM page fault allocation check support
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-10 18:57:52 +01:00
Krzysztof Gibala
ff7882bcbe
Add PC before NP state commands
...
Add pipe control before state base address, state compute
mode and state sip commands on DG2 and PVC when CCS flow is used.
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-02-10 12:06:41 +01:00
Patryk Wrobel
18cafd3a52
Implement GPU hang detection on Windows
...
This change uses value of cpuAddress from monitored fence
to detect GPU hang.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-02-09 17:22:52 +01:00
Bartosz Dunajski
61ca84e94b
Pass memory placement info to StorageInfo
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-09 16:55:32 +01:00
Daniel Chabrowski
85eb6d7403
[CP-1] Extend CLOS cache mechanism for DRM allocation
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-09 16:51:48 +01:00
Lukasz Jobczyk
b60d963ff5
Add debug variable to force default heap allocation size
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-02-09 13:27:05 +01:00
DmitryBushev
b61d213f4f
Add compiler mocks for new fcl interface
...
Signed-off-by: DmitryBushev <dmitry.bushev@intel.com>
2022-02-08 16:30:30 +01:00
Bartosz Dunajski
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 16:18:06 +01:00
Bartosz Dunajski
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 10:20:24 +01:00
Mateusz Jablonski
10e4e62600
Don't use DEFAULT_PLATFORM in unit tests
...
testing for default supported platform may be disabled
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-04 17:57:39 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Mateusz Jablonski
b697d75695
Correct dimension order in local ids generated for implicit args
...
when local ids are generated by HW, use same dim order for runtime generation
move common logic to separated file
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-04 12:46:59 +01:00
Daniel Chabrowski
f2c4231a27
Extend DRM mock and queryTopology tests - part 1
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-04 12:02:49 +01:00
Kamil Diedrich
452de80d70
Add 2MB alignment for reserving address space for WSL
...
Fixes sporadic issues in configure address space for
some devices running in WSL mode
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-04 11:18:58 +01:00
Katarzyna Cencelewska
45d23868de
Remove device enqueue part 15
...
- remove DEVICE_QUEUE_BUFFER
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-03 16:19:07 +01:00
Mateusz Jablonski
c6e52a7ddd
Move Xe Hpg hw helper tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 15:08:27 +01:00
Bartosz Dunajski
52c6973e89
Rename blitBuffer method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-03 15:02:55 +01:00
Mateusz Jablonski
1671e0a1a7
Add new debug flags for filtering devices to open
...
FilterBdfPath is used only on Linux as a filter for BDF
when opening from /dev/dri/by-path
FilterDeviceId is used on both OSes as a filter for device id
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 14:34:01 +01:00
Kamil Kopryk
4d953fd125
Correct timestamps offset calculation
...
Related-To: NEO-6653
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 12:18:20 +01:00
Michal Mrozek
8f85d4b8f8
Add debug variable to override message simd.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-02-03 11:07:42 +01:00
Mateusz Jablonski
bea54b9fb8
Move DG2 hw info config tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-02 16:46:16 +01:00
Baj, Tomasz
678ce2ec57
Move signals to separate file
...
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-6647
2022-02-02 14:41:46 +01:00
Kamil Diedrich
8540aaff1c
Add timestamp WA for DG2+WSL2
...
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-02 14:00:24 +01:00
Konstanty Misiak
65255ea38f
Allow pointer copy when copying from host to svm
...
Related-To: NEO-5737
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-02-02 13:08:35 +01:00
Milczarek, Slawomir
2be98a1e62
Create kmd migrated allocation with initial placement
...
Implements ZE_HOST_MEM_ALLOC_FLAG_BIAS_INITIAL_PLACEMENT
for zeMemAllocShared with KMD migrated allocation.
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-02-01 15:42:10 +01:00
Szymon Morek
d9886f67ee
Make IoctlHelper member of Drm
...
Related-To: NEO-6575
This is needed to fix accessing IoctlHelper
after driver detach.
This way we are also reducing accessing
sysfs file in Drm::getPrelimVersion
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-02-01 08:26:59 +01:00
Maciej Plewka
9d8ce7aace
Command container appends BB_END on cmd buffer allocation end
...
When linear stream created for command container has not enough space
for command and BB_END it will program BB_END and allocate new command
buffer allocation. Pointer returned from getSpace in this case will
return storage from new command buffer allocation.
Related-To: NEO-5707
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-31 16:15:37 +01:00
Joshua Santosh Ranjan
c317cff408
Make BDF method as default for UUID calculation
...
This patch makes PCIE BDF as the default method for UUID
calculation.
Related-To: LOCI-2909
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-01-31 15:47:21 +01:00
Baj, Tomasz
7daee00df4
Add alarmTime to ULTs
...
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-6413
2022-01-31 13:51:57 +01:00
Patryk Wrobel
498cf5e871
Implement GPU hang detection
...
This change uses DRM_IOCTL_I915_GET_RESET_STATS to detect
GPU hangs. When such situation is encountered, then
zeCommandQueueSynchronize returns ZE_RESULT_ERROR_DEVICE_LOST.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-01-31 13:48:17 +01:00
Mateusz Jablonski
2b177cabb7
Correct programming width of media block surface
...
Programmed value should be a number of all dwords, rounded up
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-28 16:28:25 +01:00
Rafal Maziejuk
fc25495ecb
Add missing BlitCommandsHelper ULTs
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-01-28 14:49:04 +01:00
John Falkowski
28345061f0
Update maxMemAlloc for PVC with Implicit Scaling
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-01-28 08:50:16 +01:00
Kamil Diedrich
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-27 14:26:24 +01:00
Bartosz Dunajski
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-26 18:06:38 +01:00
Michal Mrozek
3d9548cee9
[5/n] Optimize Indirect Allocations.
...
Enable mechanism where feasible.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-26 16:01:10 +01:00
Igor Venevtsev
af7a475cb0
Fix debug zebin creation
...
- ELF type is EXEC
- Absolute GPU addresses in program headers as load addresses
- All relocations are applied (not only for debug info as before)
- Default section alignment for debug zebin is set to 4,
this fix the problem with .notes section parsing
Related-To: NEO-5571
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-01-26 13:55:32 +01:00
Maciej Plewka
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-26 13:30:26 +01:00
Lukasz Jobczyk
44596f6e4d
Revert "Improve mmap logic in createAllocWithAlignment"
...
This reverts commit adb5c58292165f1d5a144548c5d5148021d2152e.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-26 08:52:12 +01:00
Filip Hazubski
0424f30782
Improve mmap logic in createAllocWithAlignment
...
Group small allocations and reuse mapped memory in order to keep map
count small.
Related-To: NEO-6417
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-25 15:30:29 +01:00
Mateusz Jablonski
010186d0da
Correct GivenTwoCommandQueuesWhenEnqueuingKernelThenThereIsOneVfeState test
...
parse commands after flushing command queues
correct getCommandNameHwSpecific behaviour for STATE_COMPUTE_MODE
Related-To: NEO-5618
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 14:53:42 +01:00
Mateusz Jablonski
bf7b2674a5
Correct programming of horizontal alignment on Xe Hpc
...
for linear surfaces we should program value of 128
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 11:14:44 +01:00
Mateusz Jablonski
0dbac9cec7
Move compute mode tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 10:14:00 +01:00
Lukasz Jobczyk
9330f737d4
Revert "Check if direct submission available once"
...
This reverts commit 7ab6d2801a
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-25 10:01:15 +01:00
Mateusz Jablonski
0c933d83af
Update RENDER_SURFACE_STATE for Xe Hpc
...
For Xe Hp and later rename RSS tile mode enum from YMAJOR to TILE4
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-24 18:06:42 +01:00
Compute-Runtime-Validation
1634ac9ec3
Revert "Dont generate gen file by default"
...
This reverts commit 95943dee0f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-24 14:46:29 +01:00
Zbigniew Zdanowicz
a7455b5767
Add tweaks and control flags to linux completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-21 13:41:23 +01:00
Mateusz Jablonski
fdef257b01
Move some Xe Hpc tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-21 13:23:29 +01:00
Mateusz Jablonski
bbea52f3f9
Update CFE_STATE for Xe Hpc
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-21 10:55:20 +01:00
Aravind Gopalakrishnan
e29a85ebb3
Use ImmediateDispatch mode for L0 command queues
...
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-01-21 00:23:04 +01:00
Zbigniew Zdanowicz
ec40b6562e
Add unit tests for completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-20 21:15:34 +01:00
Mateusz Jablonski
8e03ce9c54
Correct programming of horizontal alignment on Xe Hp
...
for linear surfaces we should program value of 128
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-20 16:41:22 +01:00
Fabian Zwolinski
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-20 16:08:34 +01:00
Filip Hazubski
af8f712010
Move gen9 preamble tests to gen9 directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-20 12:38:04 +01:00
Compute-Runtime-Validation
6082865eb4
Revert "Optimize Level Zero indirect allocations handling."
...
This reverts commit 3ecbc55ba9
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-20 11:41:13 +01:00
Mateusz Jablonski
c79b8f0e90
Correct programming of horizontal alignment on Xe Hpg
...
for linear surfaces we should program value of 128
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-20 11:08:04 +01:00
Mateusz Jablonski
dfe23a08b2
Update RENDER_SURFACE_STATE for Xe Hp
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-20 10:53:54 +01:00
Zbigniew Zdanowicz
d44f3009b8
Add interface for user fence extension
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-19 19:58:22 +01:00
Mateusz Jablonski
ac39f424ce
Correct expectations of horizontal alignment programmed value
...
change value in mock to verify non-default value programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-19 18:36:34 +01:00