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
Young Jin Yoon
4168ee8120
Print output from Kernel dtor to avoid segfault
...
Related-to: LOCI-1912
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-01-21 23:00:15 +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
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
Vinod Tipparaju
5440c83539
Fix to acquire lock during migrating shared allocation via makeResident() call
...
This fix is required to guarentee thread safety
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-12-24 04:42:08 +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
Maciej Plewka
830bcd6987
Scratch using bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-12-11 09:38:44 +01:00
Jaime Arteaga
d46bb59508
Migrate shared-allocations made resident with makeMemoryResident
...
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.
So, add a container of resident allocations to the driver and migrate
them along with the other allocations.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-12-11 03:27:42 +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
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
Vinod Tipparaju
240563099c
Clean up code for nullptr device check during cmdlist create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-19 04:24:34 +01:00
Mateusz Hoppe
b384bda99a
Exclude internally used cmdLists and cmdQs from debugging
...
Related-To: NEO-5241
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-17 12:17:34 +01:00