Milczarek, Slawomir
9b7b193b38
Enable recoverable page faults on PVC platform only
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-02-06 14:47:36 +01:00
Dunajski, Bartosz
31154dc20b
Create OS agnostic OSTime in AUB/TBX mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-02-02 14:35:26 +01:00
Jaime Arteaga
401344137c
fix: Correctly set UUID for non-multi-tile archs
...
Use getSubDevicesCount() from hwInfo to determine whether device
is root or not, instead of isSubDevice(), since the former does not
change with the affinity mask.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-02-02 14:00:42 +01:00
Kamil Kopryk
ac63175a0f
Add extra check for nullptr function pointer
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-02 12:21:23 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
Kamil Kopryk
1a0bc60434
refactor: rename hw_helper_tests files to gfx_core_helper_tests
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 15:58:41 +01:00
Kamil Kopryk
104126ddd7
Move ProductHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 08:29:46 +01:00
Dominik Dabek
78cb79912c
add helper method isUnlockingLockedPtrNecessary
...
Return unlocking necessary on DG2 windows
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-01-31 17:08:45 +01:00
Kamil Kopryk
7b7c28cb40
refactor: don't use global ProductHelper getter 19/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-30 09:02:04 +01:00
Kamil Kopryk
004d3e3416
refactor: don't use global ProductHelper getter 18
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-30 08:15:39 +01:00
Kamil Kopryk
445706361d
refactor: don't use global ProductHelper 14/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 14:51:12 +01:00
Warchulski, Jaroslaw
fe8a6d98ad
Cleanup includes 45
...
Cleaned up files:
opencl/source/api/api.h
shared/source/command_stream/csr_deps.h
shared/source/helpers/engine_node_helper.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-26 11:12:15 +01:00
Kamil Kopryk
be855d7a47
refactor: don't use global ProductHelper getter 10/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-25 18:23:23 +01:00
Warchulski, Jaroslaw
c43233dabf
Cleanup includes 42
...
Cleaned up files:
level_zero/core/source/kernel/kernel_hw.h
shared/source/helpers/common_types.h
shared/test/common/libult/linux/drm_mock.h
shared/test/common/libult/ult_command_stream_receiver.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-25 09:16:39 +01:00
Kamil Diedrich
6c3e2ee20a
Add wddm tests to wsl ult target
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2023-01-24 16:30:01 +01:00
Warchulski, Jaroslaw
bc13db734d
Cleanup includes 41
...
Cleaned up files:
shared/source/command_stream/aub_command_stream_receiver_hw.h
shared/source/helpers/common_types.h
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/hw_device_id.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-24 14:37:36 +01:00
Jim Snow
f3565d846c
Set MaxDualSubSlicesSupported in ProductHelper::configureHwInfoDrm
...
Related-To: NEO-7635
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2023-01-24 08:42:11 +01:00
Kamil Kopryk
1758f55fe3
refactor: don't use global ProductHelper getter 7/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-23 16:37:47 +01:00
Warchulski, Jaroslaw
11764dd9bf
Cleanup includes 40
...
Cleaned up files:
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/wddm/um_km_data_translator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-23 16:19:35 +01:00
Kamil Kopryk
64eb024ba2
refactor: don't use global ProductHelper getter 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-23 07:55:39 +01:00
Mateusz Jablonski
b4375dde25
test: move windows specific tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-20 11:35:50 +01:00
Kamil Kopryk
eb63f36108
Move GfxCoreHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 09:28:27 +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
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
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
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
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
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
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
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
Igor Venevtsev
c9936a4cbd
Enable implicit flush control by default for XE_HPG family
...
[1/3] - enable implicit flush for GPU idle
Related-To: NEO-6827
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-01-13 14:57:08 +01:00
Mateusz Jablonski
c4759884d8
fix: defer initialization of cross root device tag allocations
...
additional tag allocations are not needed before creating OCL contexts
with multiple root devices
Related-To: NEO-7634
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-13 13:13:05 +01:00
Lukasz Jobczyk
dff2c2d8e3
Align external host ptr allocation gpu va to 2MB
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-13 12:37:10 +01:00
HeFan2017
2ea734491a
Deferred deletion of allocations in main thread
...
Add a clearQueueTillFirstFailure interface to DeferredDeleter, which
iterates the queue from the front and delete the allocations in the
queue till a failure. It is called by defer deletion of allocations
occupied by mutliple contexts to unlock the execution in main thread
Related-To: NEO-7532
Signed-off-by: HeFan2017 <fan.f.he@intel.com >
2023-01-13 09:20:35 +01:00
Spruit, Neil R
d1ee840ba5
Enforce 64KB alignment when mmaping GPU_TIMESTAMP_DEVICE_BUFFER
...
Related-To: LOCI-3866
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-01-12 22:52:25 +01:00
Compute-Runtime-Validation
ddb7eb07b0
Revert "Align external host ptr allocation gpu va to 2MB"
...
This reverts commit d24f403cc4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-12 09:33:16 +01:00
Lukasz Jobczyk
3f0e8f52bc
[PVC] Remove tlb flush
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-12 07:46:29 +01:00
Compute-Runtime-Validation
e53eae6e5f
Revert "[PVC] Remove tlb flush"
...
This reverts commit 181d2021ed .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-11 19:27:55 +01:00
Kamil Diedrich
ad579be87c
Use common definition of UUID for Intel GPUs
...
This patch will eventaully allow matching UUIDs queried
from NEO with UUIDs queried from other GPU APIs implementations
for Intel GPUs
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2023-01-11 16:31:05 +01:00
Lukasz Jobczyk
181d2021ed
[PVC] Remove tlb flush
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-11 15:11:35 +01:00
Lukasz Jobczyk
d24f403cc4
Align external host ptr allocation gpu va to 2MB
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-11 13:45:06 +01:00
Mateusz Hoppe
5e4604f66d
fix: Do not wait infinitely for fence when context is hung
...
- when driver is unloaded cleanup paths wait for not completed
fences. In case a context has hung - set finite wait timeout
Resolves: NEO-7613
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-01-11 11:29:44 +01:00
Warchulski, Jaroslaw
bd81b5546d
Cleanup includes 25
...
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-10 12:54:45 +01:00
Mateusz Jablonski
1fd8b26499
refactor: rename IoctlHelper::get to IoctlHelper::getI915Helper
...
remove drm version parameter as i915 is always expected
Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-09 12:32:45 +01:00
Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-05 12:58:38 +01:00
Cencelewska, Katarzyna
19763db9a2
fix: Move setupHardwareInfo to avoid overwrriten values from blob
...
device setupHardwareInfo should be called before setupSystemInfo to not
override queried systemInfo values
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-01-05 11:37:13 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-05 10:33:47 +01:00