Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-21 18:29:43 +01:00
Filip Hazubski
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-21 12:21:11 +01:00
Kamil Diedrich
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
Lukasz Jobczyk
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
Zbigniew Zdanowicz
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
Filip Hazubski
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
Lukasz Jobczyk
6e5bc0d5ee
Enable task count update from wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-17 15:21:51 +01:00
Mateusz Jablonski
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
Lukasz Jobczyk
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-16 13:22:19 +01:00
Filip Hazubski
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
Zbigniew Zdanowicz
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
Zbigniew Zdanowicz
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
Filip Hazubski
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
Michal Mrozek
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
Filip Hazubski
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
Kamil Diedrich
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
Filip Hazubski
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
Filip Hazubski
1107fdfe55
Rename function and remove unused parameter
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-08 22:47:40 +01:00
Bartosz Dunajski
2b1aa8b331
Compilation fix: Add missing LrcaHelper types
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:19:36 +01:00
Bartosz Dunajski
76c730bee8
Add new Stream Property fields
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:04:31 +01:00
Lukasz Jobczyk
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
Bartosz Dunajski
0346a5679f
Fix returned local memory size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-06 15:57:55 +01:00
Jitendra Sharma
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
Zbigniew Zdanowicz
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
Bartosz Dunajski
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
Rafal Maziejuk
816e12ed4f
Add expectMemory function override to CSR with aub dump
...
After using clEnqueueVerifyMemoryINTEL api call
MEM_TRACE_MEMORY_COMPARE instruction was not present
in dumped aub file.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2021-12-01 13:47:50 +01:00
Lukasz Jobczyk
36efe72e3e
Add wait on timestamp mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-01 08:48:00 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Lukasz Jobczyk
7f1c87f049
Fix flush tag update in TBX mode
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-24 12:30:29 +01:00
Grzegorz Choinski
2e68f0abbd
lint revision update
...
Related-To: NEO-6441
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2021-11-23 12:50:25 +01:00
Zbigniew Zdanowicz
f56773d166
Setup partition registers once per context
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-22 22:41:09 +01:00
Jaroslaw Chodor
c4e802f01b
WSL - fixing resource cleanup on process shutdown
...
Resolves issues with coexistance of NEO L0 and NEO OCL libraries
within a single process running in WSL and using WDDM GPU PV
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-11-20 21:51:51 +01:00
Bartosz Dunajski
d3aecdc73a
Update StreamProperties
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-19 16:01:04 +01:00
Bartosz Dunajski
91dfa5c2ac
Initial DG2 support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-19 10:01:29 +01:00
Zbigniew Zdanowicz
7ea0a11c0a
Unify programming of partition registers
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-18 16:52:51 +01:00
Zbigniew Zdanowicz
76b8f6296f
Move noop programming to dedicated encoder
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-18 10:28:56 +01:00
Lukasz Jobczyk
7176e609a1
Do not wait for task count when free empty allocation list
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-17 16:12:07 +01:00
Zbigniew Zdanowicz
3b556a5e44
Add post sync capability to implicit scaling barrier
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-17 12:08:52 +01:00
Lukasz Jobczyk
ec1d092b0b
Add isAnyDirectSubmissionEnabled method
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-16 17:15:56 +01:00
Lukasz Jobczyk
d1a9b8e600
Fix task count update from wait on blitter direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-16 12:35:05 +01:00
Zbigniew Zdanowicz
f90932cca7
Use references instead copy ctors
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-15 14:42:33 +01:00
Lukasz Jobczyk
60677e2f9a
Update latest flushed task count in CSR with AUB dump
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-12 13:01:23 +01:00
Mateusz Hoppe
c8ba0391e5
Add TBX mode support to L0 AubTests
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-10 12:22:20 +01:00
Zbigniew Zdanowicz
61641bb70a
Add implicit barriers capability to opencl
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-10 08:19:50 +01:00
Jitendra Sharma
1186c1aae3
zesSysmanDeviceReset: Reinitialize device after device reset
...
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.
Related-To: LOCI-2627
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-11-07 23:43:48 +01:00
Bartosz Dunajski
5bbdd0fe2c
Remove DispatchFlags param from CSR methods
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-04 16:15:38 +01:00
Bartosz Dunajski
4b5a718f40
Use dedicated helper for PC programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-04 15:32:02 +01:00
Mateusz Jablonski
95610188af
Fallback to cpu copy when filling work partition allocation
...
move some command stream receiver tests to shared
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-03 12:17:02 +01:00
Compute-Runtime-Validation
908fbe427b
Revert "Enable task count update from wait on direct submission"
...
This reverts commit 57344fcf89
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-11-03 09:24:48 +01:00
Lukasz Jobczyk
57344fcf89
Enable task count update from wait on direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-11-02 12:08:41 +01:00
Lukasz Jobczyk
4ea452040d
Defer direct submission control until first submit
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-29 14:27:25 +02:00
Compute-Runtime-Validation
782a287b27
Revert "Fallback to cpu copy when filling work partition allocation"
...
This reverts commit 93e3d948f5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-29 04:39:22 +02:00
Mateusz Jablonski
93e3d948f5
Fallback to cpu copy when filling work partition allocation
...
move some command stream receiver tests to shared
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 14:30:00 +02:00
Lukasz Jobczyk
c7d5a96dfd
Flush small task adjustments
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-28 11:39:55 +02:00
Compute-Runtime-Validation
8c6fed2149
Revert "Flush small task adjustments"
...
This reverts commit 32ae9555f1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-28 09:19:32 +02:00
Kamil Diedrich
5fdcb14d57
WSL fallback to staging buffer on blocking reads
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-10-28 03:34:58 +02:00
Lukasz Jobczyk
32ae9555f1
Flush small task adjustments
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-27 16:43:06 +02:00
Lukasz Jobczyk
5a240e1d66
Enable direct submission controller
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-26 12:07:11 +02:00
Bartosz Dunajski
4cad3073f0
Create flatBatchBufferHelper only if needed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 19:04:01 +02:00
Zbigniew Zdanowicz
c097f405f1
Stop using virtual function in tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-20 13:15:10 +02:00
Krzysztof Gibala
d79317da35
Update bits in PC WA
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-19 08:39:47 +02:00
Krzysztof Gibala
ca0138da2e
Disable PC WA on specific engine type
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-18 14:04:27 +02:00
Zbigniew Zdanowicz
24ff191e61
Verify completion on all tiles
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-15 15:43:28 +02:00
Artur Harasimiuk
6d8318501a
temporarily disable some c-t checks
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-14 23:25:57 +02:00
Filip Hazubski
f1b696824c
Ensure engine is initialized when writing memory in AUB and TBX modes
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-14 19:45:43 +02:00
Filip Hazubski
27b5952ba3
Correct initializeEngine usage in aub tests
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-14 19:36:00 +02:00
Zbigniew Zdanowicz
a51b385e80
Wait on all tiles when clearing allocation list
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-12 11:55:43 +02:00
Raiyan Latif
0859f99d64
Enable zeDeviceCanAccessPeer
...
- Propagate return value up from Batch Buffer exec
- Add zeDeviceCanAccessPeer functionality
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2021-10-12 09:38:22 +02:00
Dominik Dabek
59a1adc41b
Poll csr completion at CmdQueue
...
Related-To: NEO-6090
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-10-07 14:25:28 +02:00
Jaroslaw Chodor
f1c24ddcbb
WDDM - guard against duplicated host ptr allocs
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-10-06 22:33:40 +02:00
Katarzyna Cencelewska
a157963e79
Fix problem with compression hang on gen12lp
...
add creating of pageTableManager for non regular engins
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-10-06 17:02:08 +02:00
Zbigniew Zdanowicz
0b1c3d24f1
Remove unnecessary header include
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-05 16:34:14 +02:00
Krzysztof Gibala
9d69c70424
Program PIPE CONTROL before _3DSTATE_BTD
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-05 16:12:49 +02:00
Krzysztof Gibala
6736454f85
Program PIPE CONTROL before STATE_SIP
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-04 17:31:33 +02:00
Kamil Kopryk
1a34586dd4
Make sure sip kernel is initialized for aub tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-10-01 12:54:04 +02:00
Krzysztof Gibala
8482eb6a5f
Program PIPE CONTROL before SBA
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-10-01 12:44:23 +02:00
Katarzyna Cencelewska
30b3f5cdb0
Move PageTableManager from rootDeviceEnvironment to CommandStreamReceiver
...
Also add init of pageTable registers to blitter path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-09-30 12:59:11 +02:00
Szymon Morek
897420236a
Add method to set systolic mode
...
Resolves: NEO-6040
Signed-off-by: Szymon Morek szymon.morek@intel.com
2021-09-30 10:39:56 +02:00
Bartosz Dunajski
4ba4c32766
Remove SBA->IOH programming on XE_HP_SDV
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-29 12:35:43 +02:00
Zbigniew Zdanowicz
6091861f3e
Enable multi-tile task count post-sync writes
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-28 16:32:16 +02:00
Rafal Maziejuk
82f27e882d
Refactor Gen12LP helpers
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-09-27 14:07:37 +02:00
Artur Harasimiuk
a63b9b1273
move common files to shared/
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-27 11:10:20 +02:00
Mateusz Jablonski
5d0a13e37b
Move opencl/command_stream to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 17:25:43 +02:00
Zbigniew Zdanowicz
e295e74c0a
Add preemption flags creation to shared code
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 15:20:13 +02:00
Zbigniew Zdanowicz
3b35ba504f
Adapt command stream receiver to multiple active partitions
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-23 14:32:20 +02:00
Krzysztof Gibala
9b3acc88fd
Remove dependency on sharedHandles when program SCM
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-09-23 12:10:32 +02:00
Mateusz Jablonski
80b49e4a47
Create ClPreemptionHelper
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-23 10:15:58 +02:00
Mateusz Jablonski
f8867e0b97
Move generic command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-22 23:55:31 +02:00
Mateusz Jablonski
d348526941
Simplify checkAndActivateAubSubCapture method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-22 20:23:56 +02:00
Krzysztof Gibala
3b4a5c25da
Move isPipeControlPriorToNonPipelinedStateCommandsWARequired to hwInfoConfig
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-09-21 16:03:49 +02:00
Bartosz Dunajski
603250a5f0
Fix aub name generation with PID
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-17 12:42:20 +02:00
Kamil Kopryk
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
Krzysztof Gibala
7c1ea18f74
Enable adding extra pipe control on specific platforms
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-09-10 16:22:47 +02:00
Zbigniew Zdanowicz
cd4f3c221a
Synchronize switching command buffers for all partitions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-08 12:12:23 +02:00
Filip Hazubski
55723d0b18
Remove redundant functions
...
Remove EncodeStates::adjustStateComputeMode function.
Unify CommandStreamReceiverHw::programComputeMode functions.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-07 16:13:50 +02:00
Rafal Maziejuk
824102dc6c
Move isDisableOverdispatchAvailable function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-09-07 14:12:48 +02:00
Filip Hazubski
23cea464fe
Correct setting singleSliceDispatchCcsMode value
...
Don't set the value when appending kernels.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-07 10:40:36 +02:00
Zbigniew Zdanowicz
6b299a3ab0
Make partitioned post sync operations for partitioned workloads
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-09-03 20:20:29 +02:00
Bartosz Dunajski
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-01 14:01:57 +02:00
Filip Hazubski
7ed804a4bb
Correct debugPauseStateAddress initialization
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-31 14:07:21 +02:00
Filip Hazubski
741fa13507
Store StreamProperties in CommandStreamReceiver
...
Move StreamProperties from CommandQueueHw.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-30 15:52:47 +02:00
Rafal Maziejuk
a651e30aa1
Move stepping getter functions from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-08-30 10:54:23 +02:00
Szymon Morek
60bf5f8cd2
Synchronize initializing direct submission
...
Related-To: NEO-5865
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-25 04:41:03 +02:00
Filip Hazubski
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-23 17:41:13 +02:00
Lukasz Jobczyk
1638554a49
Add direct submission termination mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-08-20 13:57:28 +02:00
Rafal Maziejuk
c6ee7065db
Move isPageTableManagerSupported function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-08-19 17:35:08 +02:00
Szymon Morek
8355194236
Correct uninitialized variables
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-19 16:30:51 +02:00
Szymon Morek
274fe055e9
Rename Plus in source code to AndLater
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-19 15:06:45 +02:00
Filip Hazubski
29c64c3dd0
Disable implicit scaling for cooperative kernels
...
When implicit scaling is disabled use useSingleSubdeviceValue = true.
Resolves: NEO-5757
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-18 14:56:37 +02:00
Bartosz Dunajski
d8a98acafd
Set SingleSliceDispatchCcsMode for EngineInstanced OsContext
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-18 13:02:16 +02:00
Szymon Morek
aa5e1780a2
Rename plus in filenames to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-17 11:26:27 +02:00
Szymon Morek
945a7cf905
Revert "Add method to set systolic mode"
...
This reverts commit 7ad007e
.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-16 16:41:05 +02:00
Szymon Morek
a85ae676e7
Rename plus in cmake macros to and_later
...
Related-To: NEO-5920
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-13 11:40:19 +02:00
Szymon Morek
7ad007ec92
Add method to set systolic mode
...
Resolves: NEO-6040
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-11 09:09:59 +02:00
Filip Hazubski
2dd0e67e65
Disable overdispatch by default
...
When disable overdispatch is available:
- change default value of CFE_STATE::ComputeOverdispatchDisable to true.
- change default value of
INTERFACE_DESCRIPTOR_DATA::ThreadGroupDispatchSize to 3u.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 15:28:53 +02:00
Michal Mrozek
d3fd5077e7
Do not allocate surface if not needed.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-08-03 12:43:12 +02:00
Milczarek, Slawomir
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Lukasz Jobczyk
cb178f951e
Wait for completion while evict unused resources
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-30 16:11:40 +02:00
Filip Hazubski
cb81078d40
Add disableOverdispatch to FrontEndProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-07-29 17:05:47 +02:00
Compute-Runtime-Validation
f6efba9a26
Revert "Use latest sent task count for Linux flush stamp"
...
This reverts commit 566415a1f5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-07-24 10:02:26 +02:00
Zbigniew Zdanowicz
566415a1f5
Use latest sent task count for Linux flush stamp
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-23 17:35:00 +02:00
Szymon Morek
1a7c9e63fa
Add method to set force non coherent
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-23 11:18:04 +02:00
Lukasz Jobczyk
0f6484755a
Chceck all BCS types in direct submission initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 09:31:31 +02:00
Lukasz Jobczyk
9e50138829
Defer ULLS initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-21 15:55:16 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-19 19:49:22 +02:00
Zbigniew Zdanowicz
a869921c2a
Remove RMW from gfx allocations
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-15 11:28:03 +02:00
Krzysztof Gibala
0a41c42854
Add debug key for aub file generation per process id
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-07-14 08:59:26 +02:00
Michal Mrozek
65396fd2e5
optimize batching
...
- removes redundant MI_BATCH_BUFFER_START when target is within same command
buffer
- this way we do not have jump in command buffer
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-07-13 13:16:47 +02:00
Sebastian Luzynski
c389db6f1c
Add space calculation for SBA instruction
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-07-13 12:19:30 +02:00
Bartosz Dunajski
bec8cdd6f1
Update XE_HP_CORE files to enable unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-08 18:41:41 +02:00
Michal Mrozek
60df89976a
remove not needed code.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-07-08 15:37:55 +02:00
Krzysztof Gibala
242e3c0f2a
Add size estimation for additional command
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-07-07 12:40:02 +02:00
Piotr Obst
acf3e58a64
Move wddm_fixture.h and releted files from opencl to shared
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00
Sebastian Luzynski
d7a2a62ded
Add additional StateBaseAddress cmd wa
...
Resolves: NEO-5982
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-07-06 11:53:47 +02:00
Bartosz Dunajski
c7a936d1f4
Add memory banks to Simulated CSR
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-05 12:19:58 +02:00
Jim Snow
2acc0fb3f6
Add memory backed buffer allocation for L0 ray tracing.
...
This allocates the buffer on a per-device basis and enables ray
tracing on devices that support it when given a kernel with ray
tracing calls.
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2021-07-02 11:56:18 +02:00
Lukasz Jobczyk
2fcf983a29
Update command buffer task count on BCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-30 16:57:38 +02:00
Maciej Dziuban
7979dcb757
Improve PrintDeviceAndEngineIdOnSubmission flag
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-24 20:14:27 +02:00
Bartosz Dunajski
96d14967ac
Partial support for XE_HP_SDV
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-24 18:35:54 +02:00
Bartosz Dunajski
e1f42c2ae1
Remove TSP atomic dependency tracking
...
This reverts commit d17668f023bee409ee68e766bbc7d5f16ce8d52b.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-23 16:59:41 +02:00
Lukasz Jobczyk
a30347cbc5
Update command buffer task count outside flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-22 10:47:47 +02:00
Bartosz Dunajski
2e97aeccfd
Revert TSP changes
...
This commit reverts:
a1d2bdc76666059653c79fe39a26113ce47c632a,
71a115129c1698ff15305fd0ea3828cba861be47,
e1a9087a466bfba54d84a64247e6596092034a91.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-21 12:44:12 +02:00
Filip Hazubski
99c0f02e12
Update StateComputeModeProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-18 12:25:16 +02:00
Mateusz Jablonski
e027178c37
Correct semaphore wait programming for cross device dependencies
...
when event is blocked by blocked user event then program semaphore wait during
unblocking user event
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-06-18 09:06:53 +02:00
Zbigniew Zdanowicz
0e5ca243e2
Add notify enable parameter to post sync commands
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-17 19:22:51 +02:00
Zbigniew Zdanowicz
ad18099ed8
Enable KMD fallback for User Fence wait call
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-17 12:12:43 +02:00
Bartosz Dunajski
5af793ddc6
Remove TSP implicit dependency tracking logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-16 08:47:00 +02:00
Maciej Plewka
e1bcad51f0
Fix makeNonResident for csr residency allocations
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-06-10 20:57:15 +02:00
Filip Hazubski
573d01f085
Update StreamProperties
...
Update ThreadArbitrationPolicy enum.
Remove adjustThreadArbitionPolicy from CommandStreamReceiverHw.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-08 10:05:05 +02:00
Filip Hazubski
b25c0e4fc0
Update StreamProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-08 08:57:55 +02:00
Dominik Dabek
39f0387ecc
Move tbx stream, tbx csr to shared
...
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>i
2021-05-31 14:35:32 +02:00
Jaroslaw Chodor
3b4ec5b3fa
Refactor of global factories
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-28 19:09:24 +02:00
Filip Hazubski
7eb81e9d85
Unify StreamProperties structs
...
Introduce functions allowing to copy values from one struct to another,
while correctly setting values of isDirty field.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-05-27 15:37:14 +02:00
Lukasz Jobczyk
79903d6fce
Ensure tag address will be null before freeing tag allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-27 13:50:29 +02:00
Lukasz Jobczyk
341e6bbc3a
Fix flush small task task counts
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-26 10:17:36 +02:00
Mateusz Hoppe
0f32231fc8
Use correct INTERNAL heap base address for ISA in system memory
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-25 10:22:28 +02:00
Filip Hazubski
d693d24f27
Add StateComputeModeProperties to StreamProperties
...
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-05-21 16:39:39 +02:00
Zbigniew Zdanowicz
a692f1ecc5
Move flag setup after initialization
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-20 13:39:18 +02:00
Maciej Plewka
159404f38e
Revert "Program border color once per dsh"
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-05-18 12:26:58 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Bartosz Dunajski
9c5dee54dc
Fix root device residency for TagNode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-17 14:51:23 +02:00
Bartosz Dunajski
a6c6290c09
Move TSP creation to HwHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-14 15:08:53 +02:00
Bartosz Dunajski
e53202e96b
TagAllocator to accept multiple root devices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-14 09:27:16 +02:00
Vinod Tipparaju
ed9290e650
Fix to make globalFenceAllocation resident before submission via flushSmallTask
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-05-13 18:47:37 +02:00
Lukasz Jobczyk
6b1d3e275a
Null tag address before freeing multi tag allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-12 09:08:16 +02:00
Zbigniew Zdanowicz
544890c066
Change default placement of preemption allocation
...
Related-To: NEO-5800
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-11 15:26:24 +02:00
Lukasz Jobczyk
8e1e213bcf
Disable GEM_WAIT when new residency model available
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-10 14:59:21 +02:00
Vinod Tipparaju
f879c05bda
Fix to flush HW context during L0 non-kernel operation via flushTask
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-05-07 21:25:53 +02:00
Maciej Plewka
171a614f18
Fix reset border color offset when replacing heap buffer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-05-05 13:38:02 +02:00
Vinod Tipparaju
9799f15286
Fix to program HW context once during L0 non-kernel operation via flushTask
...
This resolves regression on Simulation, L0 CTS using events & immediate cmdlist
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-04-30 13:34:59 +02:00
Filip Hazubski
3a2281bf77
Program additional VFE_STATE instructions when needed
...
Additonal VFE_STATEs may be programmed when appending kernels to a
command list and when the command list is executed.
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-28 16:07:55 +02:00
Bartosz Dunajski
9b12dc4390
Debug flag to override TimestampPacket size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-28 13:27:27 +02:00
Zbigniew Zdanowicz
902cce597a
Add new functionality to load SIP from file
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-23 13:48:26 +02:00
Zbigniew Zdanowicz
8da0838ba4
Add debug key to override CSR allocation size
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-20 14:40:59 +02:00
Vinod Tipparaju
b5d2d7fc52
Use flushTask() for non-kernel opertaions. Enabled for following APIs
...
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.
Related-To: LOCI-1987
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-04-19 22:24:47 +02:00
Maciej Dziuban
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
Krzysztof Gibala
b01b8ba5ac
Use MI_SEMAPHORE_WAIT command for event synchronization
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-04-19 11:34:52 +02:00
Filip Hazubski
77b39ea3df
Introduce StreamProperties
...
Split programVfeState function.
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-15 16:00:44 +02:00
Filip Hazubski
31b7fcf653
Update programVFEState function
...
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-07 09:45:13 +02:00
Bartosz Dunajski
ce9337290c
Move profiling mmio read programming to new method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-01 16:42:23 +02:00
Mateusz Jablonski
298df1582b
Add flag to determine if csr can allocate in internal heaps
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-01 15:37:41 +02:00
Bartosz Dunajski
da9d039dd6
New method to return TimestampPacket alignment
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-01 11:55:11 +02:00
Bartosz Dunajski
47c2a3011a
Remove not used MemorySynchronizationCommands argument
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-31 17:58:43 +02:00
Igor Venevtsev
bd32518d31
Add extra parameters to EncodeComputeMode::adjustComputeMode() method
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-31 16:51:55 +02:00
Bartosz Dunajski
b6e3817f31
Dont program dcFlush when not allowed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-31 16:13:19 +02:00
Zbigniew Zdanowicz
b9ed7de40a
Parametrize wait operation
...
Related-To: NEO-4759
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-31 15:12:59 +02:00
Mateusz Jablonski
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Bartosz Dunajski
4a2a14fd41
Refactor getTimestampPacketAllocator method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-29 18:18:56 +02:00
Igor Venevtsev
21aa14e497
Reprogram atomics in SBA if context has several devices
...
Related-To: NEO-5459
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-29 12:42:31 +02:00
Bartosz Dunajski
85f93cd51b
Remove redundant reset calls
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-27 11:42:49 +01:00
Bartosz Dunajski
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-26 15:16:56 +01:00
Igor Venevtsev
cb4db7767e
Do not reprogram SBA if CSR is not multi os context capable
...
Related-To: NEO-5459
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-26 13:49:04 +01:00
Mateusz Jablonski
7098e9c5f2
Store single KernelInfo in Kernel
...
remove root device index from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 21:30:03 +01:00
Bartosz Dunajski
3dc3ad36f8
Refactor TimestampPacket class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-22 17:42:41 +01:00
Lukasz Jobczyk
129357410c
Update task count while waiting
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-03-17 15:09:25 +01:00
Maciej Dziuban
eb34c42e02
Enable static partitioning by default
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-16 12:48:11 +01:00
Igor Venevtsev
52e118fe49
Add extra parameters to Buffer::setSurfaceState() method
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-16 10:17:59 +01:00
Krzysztof Gibala
19355ca088
createTagsMultiAllocation function cleanup
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-11 15:11:06 +01:00
Krzysztof Gibala
4abe4a96b8
Add multiGraphicsAllocation to CSR
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-10 12:42:01 +01:00
Maciej Dziuban
c361570fab
Make work partition allocation resident
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-08 10:32:42 +01:00
Maciej Dziuban
b11f367db4
Add missing getter methods
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-25 12:02:05 +01:00
Mateusz Jablonski
df1e7792c6
Restore GPU breakpoint improvement
...
handle user confirmations in gpu modes: always, only before, only after
handle multiple confirmations when pausing on each enqueue
move tests to mt_tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-17 22:56:31 +01:00
Maciej Dziuban
f7d105f2e2
Create work partition allocation
...
Related-To: NEO-5546
Resolves: NEO-5561
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-17 15:28:42 +01:00
Lukasz Jobczyk
1844875b9d
Disable timeout while waiting when direct submission active
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-17 14:46:19 +01:00
Mateusz Jablonski
1494205e28
Revert "Improve GPU breakpoint support"
...
This reverts commit a6d898a026
.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-12 14:11:50 +01:00
Lukasz Jobczyk
7c99739b89
Check if direct submission enable in OsContext
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-11 09:05:50 +01:00
Vinod Tipparaju
bb138e87c1
Fix to optimize SBA dispatch during submissions.
...
Move the SBA dirty flag inside csr so it is common across command queues.
Related-To: LOCI-1982
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-02-08 12:13:09 +01:00
Mateusz Jablonski
a6d898a026
Improve GPU breakpoint support
...
handle user confirmations in gpu modes: always, only before, only after
handle multiple confirmations when pausing on each enqueue
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-06 16:31:05 +01:00
Igor Venevtsev
3df6110a17
Add extra parameters to setArgStateful()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-02-05 12:24:27 +01:00
Mateusz Hoppe
0ca1cdc565
Add State Sip end WA
...
Related-To: NEO-5479
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-01 19:15:57 +01:00
Igor Venevtsev
bb72beac6b
Add extra parameters to programStateBaseAddress()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-01-28 16:03:17 +01:00
Vinod Tipparaju
494a59c7df
Fix to dispatch MEDIA_VFE_STATE with updated scratchSpacePointer & Size
...
Minor fix to reset scratch space size and indirect params during cmdList reset
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-01-21 14:29:34 +01:00
Slawomir Milczarek
d19d8e0829
Use last compression memory state for non-applicable cases
...
Related-To: NEO-5107
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-21 11:09:17 +01:00
Maciej Plewka
24a88d22aa
Fix scratch in bindless mode
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-18 15:46:18 +01:00
Maciej Plewka
3ca77a6cbe
Program sba for global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-01-04 14:23:47 +01:00
Slawomir Milczarek
6986d5de0b
Add helper functions for memory compression to CSR
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-21 17:43:03 +01:00
Daria Hinz
1ef9a1c35f
Add extended functionality for timestamps at Event
...
Related-To: NEO-4584
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-12-17 10:53:16 +01:00
Krystian Chmielewski
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
Pawel Wilma
d94e2bf149
Refactoring of per-DSS backed buffer programming
...
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 22:22:47 +01:00
Pawel Wilma
9bd0c69913
Add ClearColor allocation support for blitter
...
Related-To: NEO-5175
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
Maciej Plewka
830bcd6987
Scratch using bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-11 09:38:44 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 09:14:44 +01:00
Jobczyk, Lukasz
343fd602fa
Add method to submit kernel on single subdevice
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
Igor Venevtsev
cff80e38b8
Do not program MiFlushDw command as a timestamp operation for blitter
...
Resolves: NEO-4906
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-11-26 13:26:13 +01:00
Sebastian Luzynski
556b6cd457
Add concurrent kernel execution type
...
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-20 16:12:42 +01:00
Mateusz Hoppe
0f42ef1ed7
Differentiate between users ISA and internal ISA allocation
...
Related-To: NEO-5240
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-16 13:16:30 +01:00
Mateusz Hoppe
a2d2bd629a
Fix release build issue with debugPauseStateAddress
...
Restore volatile for debugPauseStateAddress csr member
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-13 15:51:00 +01:00
Mateusz Hoppe
e4c70fb6d3
Fix threading issue with debugPauseState
...
Related-To: NEO-5277
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-12 23:24:33 +01:00
Michal Mrozek
ad747a5cbf
Make comment more verbose.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-11-05 13:03:41 +01:00
Zbigniew Zdanowicz
c678f3d9b0
Make DeviceBitfield argument constant
...
Related-To: NEO-5225
Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
Mateusz Hoppe
ac3b65ba82
Refactor isDebuggerActive
...
- use it for SourceLevelDebugger only
Change-Id: I130219a13d6baa1f72c5b35295afd6efa4bf37fa
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-29 12:21:18 +01:00
Zbigniew Zdanowicz
30a67618f8
Add DeviceBitfield argument to CSR constructor
...
Related-To: NEO-5225
Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
Zbigniew Zdanowicz
27c281a044
Fix start and dispatch blitter commands in direct mode
...
Related-To: NEO-5010
Change-Id: I3d03ef39325adb2beba26a989906381f5eccc4ff
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-20 14:12:22 +02:00
Michal Mrozek
7e45c396a2
Fix profiling in copy engine scenarios.
...
- We need to wait till completion prior to obtaining timestamps.
Change-Id: I1320c9d44e8c1a2c2125cbd332296de1df28491b
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-20 10:25:40 +02:00
Pawel Wilma
7f8b0c5b3f
Global l3 invaldate for blitter engine
...
Related-To: NEO-5175
Change-Id: I88b3c9333398c91a7dd799f5e52cfd9182316960
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-19 16:40:03 +02:00
Lukasz Jobczyk
c2c2bc3f82
Reset tag allocators in CSR destructor
...
Change-Id: I178ece2b5d79c2bd38b8ba5b1c715bd3730b715e
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-19 11:57:25 +02:00
Lukasz Jobczyk
574cd634b9
Refactor bo pinning
...
Change-Id: I451fa5225096829ea7131d159eb59f906817b2cd
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-16 12:55:57 +02:00
Michal Mrozek
324150dd37
Do not track Kernel ISA as new resources.
...
Change-Id: Ib112952071b76ba471d046c13c556422c415ba96
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-10-13 13:34:35 +02:00
Kamil Diedrich
9e463ab45f
Track all ssh in cmdList
...
Change-Id: Ibffb7b7b406e5e17d4ffb971fd0789557c879367
2020-10-12 12:12:12 +02:00
Maciej Dziuban
8fcd51c2c8
Do not obtain command stream if it will not be needed
...
Change-Id: Id7fa1c6b78e71a085084f8fcb66a7b8e873ad2bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-10-08 12:24:03 +02:00
Kamil Diedrich
67e2853857
Add missing mockable_virtual in code
...
Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
2020-10-07 14:25:04 +02:00
Kamil Diedrich
ce7e293a99
Extend scratch implementation
...
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +02:00
Jaime Arteaga
9f9bf38d64
Copy user buffers when not accepted by Kernel
...
When performing copy operations to or from buffers allocated by the
user, it could happen that the buffer address is not accepted by
kernel, even though the buffer is valid. In those ocassions, then
allocate a new graphics allocation and copy the user buffer.
Change-Id: I6b1b6f2ef5fea0acf32c868bc87eafe8746f9a79
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-10-02 10:03:18 +02:00
Sebastian Luzynski
8093400baf
Change default state of CSR.
...
Change-Id: I1124ff538de37736996d4cae3e827950b1022a8f
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-09-29 12:57:32 +02:00
Bartosz Dunajski
1b0983d7db
Debug logs: print tag allocation address.
...
Change-Id: Ia5d8cf16fa42f7b1f567e4ac79fae61bbcb6f13a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-28 16:38:46 +02:00
Bartosz Dunajski
55bd544402
Lazy evaluate arguments of printDebugStrings(...) function
...
Change-Id: Ie44e109fd9235c5df32fb90b9e6fc6058e558a99
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-25 18:38:58 +02:00
Sebastian Luzynski
d24850cff3
Alter API with additional kernel exec info.
...
Related-To: NEO-4875
Change-Id: I10a5e3bfc32be520c3554c992dc36591fc1ff599
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-09-25 13:00:24 +02:00
Bartosz Dunajski
f92f01e190
Enhance GPU breakpoint capabilities
...
Change-Id: Id28afb7ab584eeb5063c7311fed41d7a31edbec7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-24 16:03:19 +02:00
Bartosz Dunajski
2a69b1ed78
Select correct heap base address for ISA
...
Change-Id: I400f965faa4615519729756daa78350a46c46ff2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-23 14:21:22 +02:00
Lukasz Jobczyk
1d4568e548
Set bb end pointer correctly in batched submission
...
Related-To: NEO-5112
Change-Id: Ideff314e4aee501a02f07142b99307b8d6c08fa1
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-09-23 10:43:00 +02:00