538e0aea87
Add debug flag to bind at creation time
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-02-09 09:26:02 +01:00
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
9ff1307b4b
Fix optimize timestamp packet dependiencies
...
-program barrier after global fence allocation is programmed
-do not double barrier timestamp in blit enqueue
-flush GPGPU while submitting to BCS when barrier requested
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-02-03 16:27:09 +01:00
52c6973e89
Rename blitBuffer method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-03 15:02:55 +01:00
9d8ce7aace
Command container appends BB_END on cmd buffer allocation end
...
When linear stream created for command container has not enough space
for command and BB_END it will program BB_END and allocate new command
buffer allocation. Pointer returned from getSpace in this case will
return storage from new command buffer allocation.
Related-To: NEO-5707
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-31 16:15:37 +01:00
498cf5e871
Implement GPU hang detection
...
This change uses DRM_IOCTL_I915_GET_RESET_STATS to detect
GPU hangs. When such situation is encountered, then
zeCommandQueueSynchronize returns ZE_RESULT_ERROR_DEVICE_LOST.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-01-31 13:48:17 +01:00
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-26 13:30:26 +01:00
6df17f5a30
[3/n] Optimize indirect allocations handling.
...
Add new debug variable to trigger new mode.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-25 16:40:56 +01:00
e29a85ebb3
Use ImmediateDispatch mode for L0 command queues
...
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-01-21 00:23:04 +01:00
1b7949432f
Add shareable allocation on windows dGPUs
...
Add default initialization for object members
Related-To: LOCI-2665
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-19 19:03:18 +01:00
10f329768f
Fix multitile tag initialization for AubCsr
...
Before this change, only Tile0 tag was initialized
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-18 19:33:57 +01:00
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +01:00
e7f2676d5e
Fix ThreadArbitrationMode programming
...
For non-kernel submission, TAM was incorrectly reprogrammed to default
mode. Correct programming should reuse value from previous submission.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-14 13:09:11 +01:00
394c0e90e1
Return error when failing on submission
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2022-01-12 16:42:30 +01:00
45ae4fe881
Remove device enqueue part 3
...
- isSchedulerKernel
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-12 13:50:18 +01:00
34856747b4
Add implementation for reading logical subDevice from builtin
...
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-11 13:06:15 +01:00
5be4d89b73
Rename function
...
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:03:22 +01:00
615688336f
Program all fields in SCM
...
Related-To: NEO-6432
This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-28 16:30:47 +01:00
b8e88159f8
Add proper alignment to BBE in flush small task path
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 11:01:57 +01:00
9be5efe4f7
Check BCS engine type correctly in flush non kernel
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 10:23:15 +01:00
b59b0b6b36
Download timestamps before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 08:14:27 +01:00
2bbe7438ce
Revert "Add implementation for reading logical subDevice from builtin"
...
This reverts commit 901e1e71f95a8cd90611ed7cbd25705a14f38170.
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-27 15:58:51 +01:00
b6da6471f2
Add notify parameter to direct submission post sync operations
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-23 17:35:48 +01:00
f4c151cce5
Refactor PipeControlArgs struct
...
Remove struct PipeControlArgsBase
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 17:13:16 +01:00
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +01:00
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 18:29:43 +01:00
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 12:21:11 +01:00
6940fbf387
Program private 2 scratch in L0
...
Related-To: NEO-5427
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-20 23:25:09 +01:00
bc58172075
Revert "Enable task count update from wait"
...
This reverts commit 8db36ddf28d0b85516e0adf77dbfc78000d22146.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-20 16:53:16 +01:00
82096a5472
Add new KMD delay parameter for direct submission
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-17 21:09:37 +01:00
461e6d841d
Remove redundant thread arbitration policy variables for SCM
...
Remove CommandStreamReceiver::lastSentThreadArbitrationPolicy
Remove CommandStreamReceiver::requiredThreadArbitrationPolicy
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-17 19:47:59 +01:00
6e5bc0d5ee
Enable task count update from wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-17 15:21:51 +01:00
66bf806018
Remove magic number from set/getBatchBufferStartAddressGraphicsaddress methods
...
rename methods to set/getBatchBufferStartAddress
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-16 19:03:01 +01:00
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-16 13:22:19 +01:00
e182aa6055
Unify program thread abitration logic for gen9 and gen11
...
Use single call for programming thread arbitration logic in flushTask.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:10:26 +01:00
01348451db
Add multi tile barrier to marker command on multi tile device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-13 18:14:39 +01:00
56bef79733
Add multi tile support for OCL post sync barrier
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-10 17:33:12 +01:00
cdc064f478
Correct programComputeMode function
...
Reset all fields of StreamProperties when
compute mode command is being programmed.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-10 16:43:07 +01:00
ebb16c8b74
Add new debug key to control dependency resolution.
...
Currently only supported scenario is one in order queue.
Instead of resolving dependencies via semaphores, do this with pipe controls.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-09 17:26:38 +01:00
3511b4755f
Remove redundant coherency variables for SCM
...
Remove CommandStreamReceiver::lastSentCoherencyRequest
Remove CsrSizeRequestFlags::coherencyRequestChanged
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 14:43:21 +01:00
24c19509b3
Add implementation for reading logical subDevice from builtin
...
- add function for resolving builtins using relocations
- add relocation for __SubDeviceID symbol
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-09 13:20:49 +01:00
e5d7142ae0
Use StreamProperties from CSR when programming STATE_COMPUTE_MODE
...
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 10:51:34 +01:00
1107fdfe55
Rename function and remove unused parameter
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-08 22:47:40 +01:00
2b1aa8b331
Compilation fix: Add missing LrcaHelper types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:19:36 +01:00
76c730bee8
Add new Stream Property fields
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-07 13:04:31 +01:00
09d2ffb9ed
Add missing cache flush
...
Resolves: NEO-6505
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-06 17:28:12 +01:00
0346a5679f
Fix returned local memory size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-06 15:57:55 +01:00
8b51358054
In level zero create single tag allocation for csr
...
Multi tag allocation is useful only in openCL to ensure cross root
device synchronization based on tag address.
It is not required in level zero.
Futher multi tag allocation is causing instability in sysman
device reset. So, for level zero instead of multi tag allocation
create single tag allocation.
Related-To: LOCI-2651
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-12-06 15:16:34 +01:00
3e1023fa1a
Unify memory layout for all multi tile post sync operations
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 18:00:40 +01:00
55959d4d1d
Helper method to check if allocation is compressed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-02 16:13:53 +01:00