Lukasz Jobczyk
d32a7ee7d0
Revert "Always init device with first submission"
...
This reverts commit 08f17761b4ee49d98df0b71041ba956faff3b960.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-20 08:02:07 +01:00
Jaime Arteaga
9026c5912e
test: Fix zello_ipc_event
...
Correct offset at which the number of events is extracted
from IPC event pool handle.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-01-20 06:56:55 +01:00
Mateusz Jablonski
ce059e7fe3
fix: align up surface size in surface state
...
don't abort when surface size is not aligned
underlying memory size is always aligned
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-20 05:55:47 +01:00
Spruit, Neil R
f928d695e7
Support for Mapping Physical with Virtual Memory
...
Related-To: LOCI-3422, LOCI-3421
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-01-20 05:17:10 +01:00
Mateusz Jablonski
47be5d04b3
test: move linux specific tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-20 04:59:29 +01:00
Kulkarni, Ashwin Kumar
c232b8311b
Support zello_sysman tool for windows
...
Add support for windows
Add common command parsing support for windows and linux
Related-To: LOCI-3259
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-01-20 04:44:42 +01:00
Kamil Kopryk
726d4e19ad
Reenable bufferL3CacheTest ult
...
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 04:12:15 +01:00
Jaime Arteaga
9c93af7462
feature: Refactor IPC memory data
...
Refactor structure and add field to pass USM memory type.
Related-To: LOCI-3771
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-01-20 03:50:48 +01:00
Compute-Runtime-Validation
9bf2edcfbf
Revert "Flush tag update on device init"
...
This reverts commit 5f7541084d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-20 03:06:44 +01:00
Zbigniew Zdanowicz
b9b9155ee0
Fail ipc event pool creation for max event packet misconfiguration
...
Remote event pool is created with device list that configure max event packet
IPC context can have different device list and configure different
max event packet.
When these two numbers are different driver should not allow creation of
IPC event pool.
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-20 00:45:29 +01:00
Filip Hazubski
2ed2ac73d1
refactor: correct ioctl and related functions to return signed int
...
Change IoctlHelper::ioctl function to return int.
Change IoctlHelper::createGemExt function to return int.
Change IoctlHelper::queryDistances function to return int.
Change UuidRegisterResult::retVal type to int32_t.
Rename res to ret in debug_session.cpp for consistency.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-01-19 22:04:27 +01:00
Aleksei Keisel
fc7a37d950
Return partial data on metrics calculation
...
Resolves: LOCI-3864
Signed-off-by: Aleksei Keisel <aleksei.keisel@intel.com >
2023-01-18 19:08:05 +01:00
Lukasz Jobczyk
5f7541084d
Flush tag update on device init
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-18 17:28:43 +01:00
Zbigniew Zdanowicz
f4b7a63a35
validate internal handle for ipc event pools
...
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-18 17:10:51 +01:00
Mateusz Hoppe
23b1f74615
fix: L0 debug - use correct condition variable to wait for event
...
- getInternalEvent() should wait on cv that is notified when new event is
read
- this change speeds up application execution under debugger
- refactor unit tests - do not start async thread in ults when not
needed , use synchronous read mode instead
Related-To: NEO-7641
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-01-18 11:55:32 +01:00
Zbigniew Zdanowicz
9441e1c510
disable event query status optimization for ipc events
...
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-18 08:49:34 +01:00
Neil R Spruit
272254569d
Fix zeModuleGetGlobalPointer Error Return
...
Related-To: LOCI-3885
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-01-18 01:58:12 +01:00
Raiyan Latif
4c598395fe
Ensure shared allocations made resident across multiple devices
...
Related-To: LOCI-3597
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2023-01-17 19:16:53 +01:00
Warchulski, Jaroslaw
77501d86ba
Cleanup includes 35
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-17 18:51:40 +01:00
ocldev
2f22af7426
Brand string update
...
Updating device brand strings
Based on public support in Windows driver 31.0.101.4034
https://www.intel.com/content/www/us/en/download/729157
Signed-off-by: ocldev <ocldev@intel.com >
2023-01-17 18:39:42 +01:00
Lukasz Jobczyk
3bf4291558
Align mmap cpu va to 2MB for sizes greater than 2MB
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-17 18:26:49 +01:00
Dunajski, Bartosz
12e034d114
Debug flag to append aub_stream context flags
...
Related-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-17 18:19:20 +01:00
Dunajski, Bartosz
dbf268df2f
L0: Capability to implicitly assign multi regular context to cmd list.
...
Related-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-17 17:06:09 +01:00
Zbigniew Zdanowicz
172ea34fc2
Refactor event pool class hierarchy
...
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-17 14:42:20 +01:00
Warchulski, Jaroslaw
16d5a323c7
Cleanup includes 34
...
Cleaned up files:
opencl/source/command_queue/cl_local_work_size.h
opencl/test/unit_test/mocks/mock_buffer.h
shared/source/program/kernel_info.cpp
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-17 14:42:04 +01:00
Rafal Maziejuk
ba95e8b465
Update kernels_bin manifest
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-01-17 14:41:48 +01:00
Krzysztof Gibala
6e118bd98e
Extend scope of Pipe Control WA for ADL platforms
...
Add Pipe Control command for Post Sync Operation
Related-To: NEO-7586, HSD-14014966230
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2023-01-17 13:37:45 +01:00
Lukasz Jobczyk
831e2eebcd
Always init device with first submission
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-17 13:04:08 +01:00
Grzegorz Choinski
e692246315
infra update
...
Related-To: NEO-7624
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2023-01-17 12:29:07 +01:00
Maciej Plewka
1421796541
Revert "feature(ocl) use tags to synchronize multi root device events"
...
This reverts commit 353a7510b2bd2d774d0b7ee82ee48eae7f5dc1d3.
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2023-01-17 11:29:58 +01:00
Warchulski, Jaroslaw
ca518efc17
Cleanup includes 33
...
Cleaned up files:
shared/test/common/fixtures/device_fixture.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-17 10:54:37 +01:00
Zbigniew Zdanowicz
ff88930625
Refactor ipc event pool data exchange protocol
...
- using predefined structure adds security to enforce data limit
- code is simplified and easier to maintain or add new data fields
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-17 10:46:52 +01:00
Mateusz Jablonski
6110cbe42e
fix(zebin): adjust hw info for IGC when getting target device for validation
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-17 10:22:02 +01:00
Igor Venevtsev
f67f811de0
Revert "Enable implicit flush control by default for XE_HPG family"
...
[1/3] - enable implicit flush for GPU idle
This reverts commit 65751513cf05b605cb757a882edbd6269b20ecc1.
Related-To: NEO-6827
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-01-17 10:16:54 +01:00
Compute-Runtime-Validation
b342b5f53b
Revert "[PVC] Remove tlb flush"
...
This reverts commit 9b13f13e51 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-17 03:13:05 +01:00
Mayank Raghuwanshi
52593fd4f4
Update mechanism for retrieving timestamp for Sysman memory
...
Related-To: LOCI-3679
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2023-01-17 00:15:44 +01:00
Warchulski, Jaroslaw
c275008e51
Cleanup includes 32
...
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 20:41:37 +01:00
Mateusz Jablonski
9a5be1bb58
test: use stringstream instead of sprintf in tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-16 18:46:00 +01:00
Dominik Dabek
a8e8044e00
Revert "Adjust tg dispatch size heuristic"
...
This reverts commit 256907e6a8480b7d5efc583572ecf3d996af582e.
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-01-16 13:41:35 +01:00
Mateusz Jablonski
7d70063186
Reduce scope of State Base Address WA for DG2 platforms
...
Related-To: NEO-7607, HSD-16013000631, HSD-14013910100
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-16 13:12:21 +01:00
Mateusz Jablonski
9dd6c4013c
Reduce scope of Tile64 for 3D surface WA for DG2 platforms
...
Related-To: NEO-7607, HSD-1409882685
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-16 13:03:43 +01:00
Zbigniew Zdanowicz
816b23f0ba
Add event synchronization sandbox test
...
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-16 12:46:25 +01:00
Dunajski, Bartosz
99e0493a39
Capability to create multiple Regular contexts per engine
...
Ralated-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-16 12:45:35 +01:00
Mateusz Hoppe
7850d06c09
feature: Disable LevelZero debugging when experimental OpenCL enabled
...
- both drivers: OpenCL and LevelZero cannot be debugged within single
process
Related-To: NEO-7025
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-01-16 12:13:37 +01:00
Lukasz Jobczyk
9b13f13e51
[PVC] Remove tlb flush
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-16 12:04:12 +01:00
Warchulski, Jaroslaw
8de3898abc
Cleanup includes 31
...
Cleaned up files:
shared/source/command_stream/experimental_command_buffer.h
shared/source/helpers/get_info.h
shared/source/helpers/local_id_gen.h
shared/source/memory_manager/gfx_partition.h
shared/source/memory_manager/host_ptr_manager.h
shared/source/memory_manager/prefetch_manager.h
shared/test/common/mocks/mock_memory_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 11:45:55 +01:00
Mateusz Jablonski
50b8069d41
feature: add optional support for Xe drm driver
...
xe_drm.h header is taken from commit 9cb016ebbb6a275f57b1cb512b95d5a842391ad7
https://cgit.freedesktop.org/drm/drm-xe/tree/include/uapi/drm/xe_drm.h
Related-To: NEO-7578
Co-authored-by: Philippe Lecluse <philippe.lecluse@intel.com >
Co-authored-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-16 11:32:49 +01:00
Jaime Arteaga
6dd7feb435
refactor: Create new helper in IPC blackbox tests
...
Create a single helper for exchanging IPC handles for all
blackbox tests.
Related-To: LOCI-3771
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-01-13 23:27:38 +01:00
Jaime Arteaga
84dec57f0a
fix: Add debug message for BO from shared-handle
...
Related-To: LOCI-3771
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-01-13 17:19:49 +01:00
Igor Venevtsev
d99d5963df
Enable implicit flush control by default for XE_HPG family
...
[2/3] - enable implicit flush for new resources
Related-To: NEO-6827
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-01-13 16:20:56 +01:00