Filip Hazubski
0606ef4095
Disable patching VfeState by default
...
By default VfeState will be programmed once per command lists execute.
Patching may be enabled with AllowPatchingVfeStateInCommandLists variable.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-01 17:18:14 +02:00
Filip Hazubski
c03620468b
Update VFE state programming
...
Treat regular kernels scheduled as cooperative ones as cooperative kernels.
Add debug variable AllowMixingRegularAndCooperativeKernels.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-31 19:49:25 +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
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
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
Jaime Arteaga
5c236a62fd
Changes to SW tags
...
Add SW tags to synchronization points
Add ID sequence numbers
Add new allocation type
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-18 01:51:37 +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
Vinod Tipparaju
a2012e04dc
Add pageFault migration support for immediate cmdlist submission via flushTask.
...
Move logic for makeResident & pageFault migration to command place for re-use.
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-10 06:21:04 +02:00
Filip Hazubski
caf1ab628a
Do not allow mixing cooperative and non-cooperative kernels in an execute
...
When executing command lists, ensure that all lists contain either cooperative
or non-cooperative kernels. When appending kernels to a command list, do not
allow mixing cooperative and non-cooperative kernels.
Related-To: NEO-4940, NEO-5757
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 20:24:33 +02:00
Zbigniew Zdanowicz
7b52f587da
Disable timeout for inifinite synchronization time
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 16:34:07 +02:00
Zbigniew Zdanowicz
b454bcbfe7
Make KMD wait function non default and available under debug key
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 11:24:43 +02:00
Mateusz Hoppe
549b458e2f
Add UNRECOVERABLE_IF when bufferAllocation is nullptr
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-30 09:59:36 +02:00
Zbigniew Zdanowicz
1b4ceb3d11
Use KMD wait function for infinite timeout synchronization
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-22 19:35:36 +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
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
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
Zbigniew Zdanowicz
bcd9b2f982
Add debug flag to override command queue synchronous mode
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-02 13:03:02 +02:00
Lukasz Jobczyk
fffa22b17d
Enhance wait method in L0 command queue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-30 16:41:54 +02:00
Lukasz Jobczyk
3b41378055
Update command buffer task count in L0
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-29 16:29:23 +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
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
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
Maciej Plewka
8abbc69fef
Revert "Fix update residency task count for all submited allocations"
...
This reverts commit 2565223a05e410a9113dbf69dd92f68d98578329.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-06-10 08:41:13 +02:00
Maciej Plewka
925d8ad1eb
Fix update residency task count for all submited allocations
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-06-07 11:54:00 +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
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
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
Maciej Dziuban
f5b253207d
Fix osContext initialization for L0 immediate command lists
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-17 15:05:05 +02:00
Filip Hazubski
785be7ffd9
Update programFrontEnd function
...
Use properties required by command list when VFE_STATE is programmed by
command queue.
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-29 16:37:23 +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
Zbigniew Zdanowicz
edc0a93927
Add preemption synchronization flag to command queue
...
Related-To: NEO-5778
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-28 13:14:18 +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
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
Lukasz Jobczyk
402082182c
Check BCS ULLS availability on copy command queue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-04-06 13:53:18 +02:00
Mateusz Hoppe
671d916c70
Add Debugger specific log print macros
...
- use DebuggerLogBitmask while printing logs for SBA tracking
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-02 15:00: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
Mateusz Hoppe
21e89b121a
Optimize preemption programming
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-30 09:48:57 +02:00
Maciej Dziuban
8df7128901
Make work partition allocation resident in LevelZero
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-17 13:27:10 +01:00
Bartosz Dunajski
43d5397de6
Set correct L0 CommandQueue type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-16 12:09:47 +01:00
Konstanty Misiak
88a1593913
Add software tags
...
Related-To: NEO-344
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-03-15 15:51:08 +01:00
Mateusz Hoppe
7d808bd560
Optimize preemption programming
...
- limit number of LRI cmds
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-05 13:37:14 +01:00
Mateusz Hoppe
f6aafdb274
DebuggerL0: Track all addresses from SBA
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-15 14:22:02 +01:00
Mateusz Hoppe
718e4149a8
Add enable-kernel-debug option when debugger is used in L0
...
- correctly verify debug capabilites in Module
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-08 17:12:02 +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 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
Mateusz Hoppe
aa79af46ac
Fix state sip programming
...
- STATE_SIP should be added once for MidThread preemption
or when debugger is used for non internal cmdQs
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-28 16:59:35 +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