Kamil Diedrich
d86839855c
[L0] Report sharing extension
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-16 07:35:35 +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
Kamil Kopryk
88ed486f6b
Move L0HwHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- getAttentionBitmaskForSingleThreads
- getThreadsFromAttentionBitmask
2022-11-15 17:30:15 +01:00
Kamil Kopryk
146e18d9a4
Move L0HwHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- imageCompressionSupported
- usmCompressionSupported
- forceDefaultUsmCompressionSupport
2022-11-15 15:49:55 +01:00
Mateusz Jablonski
5f8cc9b99b
Remove commented code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 14:20:17 +01:00
Kamil Kopryk
c7b7039fc3
Unify naming - hSignalEvent
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-15 10:04:19 +01:00
Mateusz Jablonski
6490d031aa
L0: handle flushTagUpdate error before performing cpu memcpy
...
Add helper to convert submission status to L0 API error code
Related-To: NEO-7412, NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 08:30:00 +01:00
Kamil Kopryk
aaa4e90ad4
Move L0HwHelper ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- setAdditionalGroupProperty
- createEvent
- isResumeWARequired
2022-11-15 08:24:23 +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
Kamil Kopryk
1e0a2b897f
Introduce getHelper - helper getter for ClHwHelper and L0HwHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-14 15:54:45 +01:00
Lukasz Jobczyk
0a07ea94c7
Enable bcs split for H2H transfers
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-14 14:23:02 +01:00
Mayank Raghuwanshi
ffcca3ba53
Use physical subdeviceId for sysman ras, freq and standby module
...
Related-To: LOCI-2925, LOCI-2926, LOCI-3236
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2022-11-14 14:10:23 +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
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
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
Zbigniew Zdanowicz
5d79a84448
Enable front end tracking on xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-10 21:14:46 +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
Zbigniew Zdanowicz
596c9026f0
Enable state compute mode tracking on xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-10 18:57:14 +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
Igor Venevtsev
1fb036a3b4
Add version guards to regset types enum
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-11-10 16:54:23 +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 Hoppe
5206fd1b9a
L0Debug - interrupt stopped events for newly stopped threads
...
- do not mark interrupt as complete when thread was stopped
before handling ATT event
- if no newly stopped threads reported in ATT event, interrupt
trigger thread unavailable event
Related-To: NEO-7501
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-10 15:25:24 +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
Zbigniew Zdanowicz
b7203d9ce5
Enable pipeline select tracking for all xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-10 13:19:53 +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
Kamil Kopryk
af3f370ff0
Correct event reset
...
Related-To: NEO-7391
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-09 17:20:22 +01:00
Lukasz Jobczyk
ff500e0de6
Add support for external hostptr in shared allocations
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-09 14:48:01 +01:00
Kacper Nowak
481cf36ad1
Add recompilation warning to debug messages
...
In case of recompilation from IR, apart from updating build log,
print debug message with recompilation warning.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-09 14:19:54 +01:00
John Falkowski
6b64c1b04b
Return error from DeviceImp::createImage call when images are not supported
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2022-11-09 13:36:08 +01:00
Zbigniew Zdanowicz
3169b4afd6
Enable command list heap sharing on xe_hp+ platforms
...
Related-To: NEO-7142
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-09 12:58:23 +01:00
Joshua Santosh Ranjan
6a2e016d7f
Add support for UUID
...
Related-To: LOCI-3304
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-11-09 12:29:32 +01:00
Maciej Bielski
c06ddfc7b8
Allocate kernel private memory for xehp and later
...
Add missing allocation of kernel private memory for the scenario when
the private memory is not allocated within `KernelImp::initialize()` but
deferred until `appendLaunchKernelWithParams()` instead.
One kernel can never allocate more private/scratch memory than
`globalMemorySize`, that ends up in `ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY`
being returned. However, several separate kernels can exceed the
`globalMemorySize` and then, the private region of each such kernel is
allocated at later stage, in `appendLaunchKernelWithParams()`.
Such mechanism was present on pre-xehp platforms and it is now added to
xehp-and-later.
See:
* ModuleImp::checkIfPrivateMemoryPerDispatchIsNeeded()
* Module::shouldAllocatePrivateMemoryPerDispatch()
Related-To: NEO-7398
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2022-11-08 19:10:26 +01:00
Dominik Dabek
30fe24aa79
Avoid cmpexchg due to CPU Hardware limitation
...
Limit the amount of times compare_exchange_weak is called,
to avoid issues with contention when multiple cpu cores request
the same address.
Related-To: NEO-7030
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-08 17:11:52 +01:00
Katarzyna Cencelewska
2d229f3fea
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-08 13:34:58 +01:00
Jim Snow
48ba0554db
Allocate RTDispatchGlobals as array-of-structures.
...
This fixes several bugs in previous (reverted) implementation.
We use correct RTStack pointer offset, and a larger RTStack size.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-11-07 21:25:32 +01:00
Mateusz Jablonski
5b11a4a5fa
Return submission status from flushHandler function
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 15:09:33 +01:00
Warchulski, Jaroslaw
6cbb3cfb05
Cleanup includes 3
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 14:52:31 +01:00
Yates, Brandon
99ef6c499b
L0 debug - fix windows bitmask decode
...
Keep threads created in EU range (0,7)
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-11-07 14:41:29 +01:00
Igor Venevtsev
f47e1306f2
L0Debug: do not set acknowledge flag for MODULE_UNLOAD event
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-11-07 14:01:29 +01:00
Dunajski, Bartosz
67af920281
Unify programming of ending commands in direct submission path
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-07 10:56:36 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Bellekallu Rajkiran
4bbec2dbf4
Add support for board number property
...
Related-To: LOCI-3545
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-11-07 08:40:11 +01:00
Compute-Runtime-Validation
ddbaa5e8c9
Revert "Cleanup MediaInterfaceDescriptorLoad logic in command encoder"
...
This reverts commit 349af0bd5e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-07 02:20:27 +01:00
Tratnack, Geoffrey
349af0bd5e
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-06 03:27:23 +01:00
Zbigniew Zdanowicz
27d042107a
Add feature to estimate number of event packets
...
Related-To: NEO-7469
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-04 18:38:17 +01:00
Warchulski, Jaroslaw
ef95bfb45e
Cleanup includes
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-04 18:04:13 +01:00