Lukasz Jobczyk
abb366e3c0
Flush task at device init
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-24 14:49:39 +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
Compute-Runtime-Validation
747c159f24
Revert "Flush tag update at device init"
...
This reverts commit 8ba950176d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-23 23:27:49 +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
Lukasz Jobczyk
8ba950176d
Flush tag update at device init
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-23 12:18:58 +01:00
Kamil Kopryk
235385abc9
refactor: Remove global CompilerProductHelper gettter 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 17:17:50 +01:00
Kamil Kopryk
adb3e126b4
refactor: Correct typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 16:07:13 +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
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
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
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
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
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
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
Zbigniew Zdanowicz
0586ceb613
add missing include
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-11 17:26:36 +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
Lukasz Jobczyk
39df92a16f
Align only CPU VA for SVM_CPU
...
Resolves: NEO-7608
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-10 16:52:29 +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
Kamil Kopryk
f654481def
refactor: don't use global ProductHelper getter
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-09 12:56:51 +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
Compute-Runtime-Validation
af81c79076
Revert "Deferred deletion of allocations in main thread"
...
This reverts commit c268e30189 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-04 18:33:39 +01:00
Kamil Kopryk
0dbf92d401
Refactor: reduce global productHelper getter usage
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-04 16:35:20 +01:00
Lukasz Jobczyk
fca4fbb0c0
[PVC] Restore 2MB alignment for SVM_CPU allocations
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-04 16:21:44 +01:00
HeFan2017
c268e30189
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-03 13:51:15 +01:00
Warchulski, Jaroslaw
0eac749fcc
Cleanup includes 19
...
Cleaned up files:
opencl/source/api/cl_types.h
shared/source/compiler_interface/external_functions.h
shared/source/compiler_interface/linker.h
shared/source/device_binary_format/elf/elf.h
shared/source/helpers/preamble.h
shared/source/memory_manager/definitions/storage_info.h
shared/source/memory_manager/memory_manager.h
shared/source/memory_manager/os_agnostic_memory_manager.h
shared/source/program/program_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 11:02:05 +01:00
Lukasz Jobczyk
6255361fcf
Revert "[PVC] Remove tlb flush from CCS"
...
This reverts commit e711aa9bc7 .
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-02 16:44:48 +01:00
Kamil Kopryk
aec6a42d69
Refactor: don't use global ProductHelper getter in shared files 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 15:42:44 +01:00
Kamil Kopryk
2eaae763bc
Refactor: don't use global ProductHelper getter in shared files 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 14:06:50 +01:00
Warchulski, Jaroslaw
a2fe929f0c
Cleanup includes 18
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver_hw.h
shared/source/compiler_interface/compiler_interface.h
shared/source/direct_submission/direct_submission_hw.h
shared/source/helpers/dirty_state_helpers.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-02 13:28:29 +01:00
Mateusz Jablonski
28319a8e81
Refactor: don't pass redundant hw info to applyAdditionalContextFlags
...
Wddm already contains reference to root device environment
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 10:20:13 +01:00
Kamil Kopryk
1dc4afe8ab
Refactor: pass gfxCoreHelper to convertTimestampsFromOaToCsDomain
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 08:12:15 +01:00
Andrzej Koska
52c7c96635
Moving rootDeviceIndex from DrmMemoryOperationsHandlerBind to base class
...
This fix will allow all DrmMemoryOperationsHandler objects
to be sorted correctly
Related-To: NEO-7505
Signed-off-by: Andrzej Koska andrzej.koska@intel.com
2022-12-30 12:27:29 +01:00
Kamil Kopryk
7c23ea3928
Refactor: don't use global ProductHelper getter in ocl files 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-29 09:41:39 +01:00
Kamil Kopryk
a55680e82e
Refactor: don't use global GfxCoreHelper getter in shared files 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-28 11:38:46 +01:00
Cencelewska, Katarzyna
2bc62deb0d
wa: program proper patIndex on mtl
...
override patIndex to uncached when timestamp_packet_tag_buffer
to avoid hang on linux
Related-To: NEO-7565
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-12-28 05:14:39 +01:00