Daria Hinz
ab6e989eb3
Refactor product config helper
...
This commit brings order to the product config helper
code and corrects the naming
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-11-17 16:20:09 +01:00
Lukasz Jobczyk
e197736b6f
Ensure base ptr is passed to PageFaultManager::removeAllocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-17 16:12:31 +01:00
Slawomir Milczarek
ba003dd7dc
Prefetch kmd-migrated shared allocation to multiple subdevices
...
Related-To: NEO-6740
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-11-17 15:24:54 +01:00
Dunajski, Bartosz
89b96e5e8f
Introduce initial implementation of DirectSubmission relaxed ordering mode.
...
Initial implementation of task store section
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-17 12:23:29 +01:00
Lukasz Jobczyk
8927399cce
Set proper gpu domain transfer handler for CAL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-17 11:53:02 +01:00
Mateusz Hoppe
f19abda0e2
Set root device index in OsContext
...
- correclty choose default engine context accounting for root device
index and subdevices bitfield
Related-To: NEO-7516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-11-16 23:02:19 +01:00
Mateusz Jablonski
610480b5aa
Refactor: Dont include os_agnostic_hw_info_config_* files in namespace NEO
...
use namespace NEO explicitly in these files
Related-To: NEO-4446
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-16 13:32:19 +01:00
Slawomir Milczarek
d942660b20
Set destination vm id in vm prefetch call
...
Use rsvd in prelim_drm_i915_gem_vm_prefetch to pass vm id to prefetch to
Related-To: NEO-6740
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-11-16 11:26:41 +01:00
Compute-Runtime-Validation
083168dafb
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit b0c97e49ea
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-16 10:09:42 +01:00
Dunajski, Bartosz
6f4e7b98dc
Unify IDD DenormMode programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-15 20:06:45 +01:00
Szymon Morek
a66e69abc9
Prealloc cmd buffer for CSR only when being used
...
Related-To: NEO-7361
Currently additional command buffer is
preallocated for all CSRs, even for those which
won't be used by application. This PR changes that
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-11-15 20:06:29 +01:00
Mateusz Jablonski
6648adef15
Handle error in register memory allocation methods
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-15 17:23:55 +01:00
Yates, Brandon
6541f283c7
Remove DebuggerDisableSingleAddressSbaTracking
...
All problems with single address space mode have
been resolved and this Debug Key is no longer needed.
Related-to: NEO-7191
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-11-15 14:15:19 +01:00
Mateusz Jablonski
a17df8fa86
Return SubmissionStatus from processResidency method
...
it allows to return non-binary status to API layer
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-15 13:17:43 +01:00
Kacper Nowak
966aa460f7
feat(yaml_parser): Correct parsing whitespaces-separated strings
...
Fix given scenarios in yaml parsings:
- Correct reading string containing multiple words separated by a
whitespace (space/tab) on token value retrieving
- Remove any unnecessary whitespaces from the end of a string on token
value retrieving
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-15 12:48:17 +01:00
Mateusz Jablonski
bddf1bbe76
Return SubmissionStatus from printBOsForSubmit method
...
it allows to return non-binary status to API layer
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-15 12:43:21 +01:00
Kamil Kopryk
05aea7ebc8
Move hwHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<CoreHelper> for
- getComputeUnitsUsedForScratch
- getPitchAlignmentForImage
2022-11-15 10:22:48 +01:00
Kamil Kopryk
1bcceb1071
Move hwHelper ownership to RootDeviceEnvironment 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
UseRootDeviceEnvironment getHelper<CoreHelper> for
- isFenceAllocationRequired
Move common implementation to pvc_and_later file.
2022-11-15 08:24:08 +01:00
Kamil Kopryk
211cc8552a
Move hwHelper ownership to RootDeviceEnvironment 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
UseRootDeviceEnvironment getHelper<CoreHelper> for:
- isLocalMemoryEnabled
- getSipKernelType
- is1MbAlignmentSupported
2022-11-15 08:23:53 +01:00
Dunajski, Bartosz
62db166cee
Debug flag to force ComputeWalker->PostSync flushing bits
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-15 01:34:50 +01:00
Szymon Morek
3281dea1fe
Allow debug allocs to use copyMemoryToAllocation
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-11-14 17:50:32 +01:00
Kamil Kopryk
9b1d89575a
Add extra compilation check for not supported helper types
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-14 15:26:18 +01:00
Dominik Dabek
80ac263a06
Adjust tg dispatch size heuristic
...
Decrease available thread count for large grf
(in addition to normal calculation)
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-11-14 15:22:56 +01:00
Szymon Morek
aac8754e67
Create reusable list per immediate cmd list
...
Related-To: NEO-7361
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-11-14 14:09:35 +01:00
Milczarek, Slawomir
25a5ed0dca
Allocate buffers in local memory for PVC multi root device platforms (1/n)
...
PVC platform with no support for atomic operations on system memory
must always allocate buffers in local memory to avoid atomic access violation.
Note: the feature is being implemented under the new registry key
AllocateBuffersInLocalMemoryForMultiRootDeviceContexts (disabled by default)
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-11-14 13:56:50 +01:00
Kamil Diedrich
b0c97e49ea
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM shared
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich kamil.diedrich@intel.com
2022-11-14 13:56:22 +01:00
Andrzej Koska
f27dcbfb85
Unify RCS exposure
...
The goal is to standardize RCS exposure for all types of hardware
Related-To: NEO-7224
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2022-11-14 13:12:08 +01:00
Kamil Kopryk
4aa1697e3c
Move hwInfoConfig ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<ProductHelper> for
- adjustSamplerState
- adjustPlatformForProductFamily.
2022-11-14 13:04:31 +01:00
Compute-Runtime-Validation
77b6918f30
Revert "LOCI-3365: Cleanup MediaInterfaceDescriptorLoad logic in command enco...
...
This reverts commit cb3f7234f0
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-12 16:05:11 +01:00
Compute-Runtime-Validation
4d2948d312
Revert "Use device ID from ProductConfigHelper"
...
This reverts commit 60a8bcb3d7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-11 10:56:33 +01:00
Tratnack, Geoffrey
cb3f7234f0
LOCI-3365: Cleanup MediaInterfaceDescriptorLoad logic in command encoder
...
Add a patch to command encoder for samplers when DSH is dirty.
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com>
Related-To: LOCI-3365
2022-11-10 23:28:58 +01:00
Zbigniew Zdanowicz
be1c1e89cb
Add option to signal and synchronize using all available event packets
...
Related-To: NEO-7469
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-10 23:28:43 +01:00
Jaime Arteaga
2c698fb5a1
Add debug key to disable SET_PAIR functionality
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-11-10 22:45:37 +01:00
Mateusz Jablonski
dffe5fd604
Propagate flush error to initializeDeviceWithFirstSubmission method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-10 19:33:38 +01:00
Dunajski, Bartosz
5266a95c03
Debug flag to control auto grf mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 19:25:58 +01:00
Kacper Nowak
4e3e55d111
Patchtokens: remove unused code
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-10 18:56:40 +01:00
Dunajski, Bartosz
002184586c
Add command buffer helpers: Conditional BB_START and GPR Inc/Dec
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 18:56:24 +01:00
Andrzej Koska
9aeb0116d7
Do not expose RCS on DG2
...
The RCS is no longer exposed under windows and linux on DG2
Related-To: NEO-7224
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2022-11-10 18:02:10 +01:00
Michal Mrozek
508ad66313
Align GPU VA to previous power of 2.
...
Aligning to next power of 2 was excessive.
We really need previous power of 2.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-11-10 16:57:57 +01:00
Katarzyna Cencelewska
e75d62af5d
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-11-10 16:39:56 +01:00
Kamil Kopryk
002a90c717
Move hwHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
UseRootDeviceEnvironment getHelper<CoreHelper> for:
- getMaxBarrierRegisterPerSlice
- getPaddingForISAAllocation
2022-11-10 16:39:39 +01:00
Mateusz Jablonski
10c12bb3a7
Reduce creating files when running ocloc tests
...
Add a new listener to track created files
Related-To: NEO-7126
Co-authored-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-10 15:58:29 +01:00
Kamil Kopryk
c82038565e
Unify isTimestampWaitSupportedForEvents helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
No need to keep isTimestampWaitSupportedForEvents function
in hwHelper and in hwInfoConfig helper, move it to hwInfoConfig instead.
2022-11-10 15:24:14 +01:00
Warchulski, Jaroslaw
e4d10e5460
Cleanup includes 4
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-10 14:22:18 +01:00
Dunajski, Bartosz
2e98fa9b60
Remove not needed BB chaining
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 11:27:26 +01:00
Compute-Runtime-Validation
c0ce5f4684
Revert "Set as default use of device based timestamps"
...
This reverts commit 2d229f3fea
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-10 11:21:00 +01:00
Jaime A Arteaga Molina
192f02785d
Use PRELIM_DRM_I915_QUERY_FABRIC_INFO for canAccessPeer when available
...
When available, PRELIM_DRM_I915_QUERY_FABRIC_INFO is used to query
connectivity between two devices. If not, then a copy is performed.
Signed-off-by: Jaime A Arteaga Molina <jaime.a.arteaga.molina@intel.com>
2022-11-10 07:30:32 +01:00
Joshua Santosh Ranjan
aa3ddc8203
Fix destination address programming
...
This patch fixes destination address programming
for MI_FLUSH_DW
Related-To: LOCI-2125
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-11-10 03:20:39 +01:00
Lukasz Jobczyk
5011046a17
Add sfence when stop ring buffer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-09 20:02:03 +01:00
Mateusz Hoppe
623f471321
Do not call waitUserFence under lock
...
Related-To: NEO-7454
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-11-09 15:48:19 +01:00