Krzysztof Gibala
ebc006ad53
Move SBA related WAs logic from CSR to EncodeWA
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-03-24 12:24:56 +01:00
Filip Hazubski
3eab7009ac
Move SCM related WAs logic from CSR to EncodeComputeMode
...
This will help with unifying the logic between APIs and GENs.
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-11 14:00:53 +01:00
Bartosz Dunajski
e24322f266
Debug flag to control MI_ARB_CHECK prefetcher
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-10 12:50:05 +01:00
Mateusz Jablonski
b697d75695
Correct dimension order in local ids generated for implicit args
...
when local ids are generated by HW, use same dim order for runtime generation
move common logic to separated file
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-04 12:46:59 +01:00
Katarzyna Cencelewska
dd63f1d2f9
Add new function append3dStateBtd
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-02-03 14:42:10 +01:00
Maciej Plewka
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
Maciej Plewka
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
Mateusz Jablonski
5e238dc7f1
Unify surface state programming logic related to implicit scaling
...
OCL image surface state programming for Xe Hp core is now reusing logic
of EncodeSurfaceState helper
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-25 09:02:28 +01:00
Mateusz Jablonski
fbc0666d1b
Move setGrfInfo from HardwareCommandsHelper to EncodeDispatchKernel
...
unify grf info programming across APIs
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 15:42:06 +01:00
Zbigniew Zdanowicz
b78bb26cbf
Refactor partitioning of state base address
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-14 19:06:24 +01:00
Zbigniew Zdanowicz
9c4f05387b
Refactor partitioning of dispatched kernels
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 22:54:07 +01:00
Zbigniew Zdanowicz
9785ab7828
Refactor encode dispatch kernel class interface
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 12:08:38 +01:00
Filip Hazubski
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +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
Rafal Maziejuk
d5f3ac37bf
Add KernelExecutionType argument to encodeAdditionalWalkerFields method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-12-08 12:00:42 +01:00
Zbigniew Zdanowicz
47dbe359bf
Add command encoder for store data command
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 20:56:07 +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
Zbigniew Zdanowicz
9d56939980
Refactor creation of buffer surface state 1/n
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-21 13:11:31 +02:00
Mateusz Jablonski
5d2d81b2d1
Use uint64_t instead of void * in indirect dispatch programming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-06 18:37:36 +02:00
Mateusz Jablonski
92bf4b978a
Implement implicit args for indirect dispatch
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-06 16:10:41 +02:00
Mateusz Jablonski
ae340ff6f5
Add L0 aub tests for indirect dispatch
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-05 21:05:40 +02:00
Mateusz Jablonski
b891ec2588
Correct cross thread data GPU address in indirect dispatch programming
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-04 14:59:41 +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
Kamil Kopryk
a924b6a304
Code cleanup - avoid copy 5/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-08 08:59:55 +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
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
856dee2b08
Improve Sampler programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-25 19:47:30 +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
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
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
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
Dominik Dabek
62f89b174a
Add work_dim patching to l0 kernel
...
Related-To: NEO-5931
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-07-05 20:09:20 +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
Mateusz Jablonski
72d124e275
add function to append params for image from buffer
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-24 13:33:43 +02:00
Filip Hazubski
99c0f02e12
Update StateComputeModeProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-18 12:25:16 +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
Jaime Arteaga
a481c28e55
Program GPU atomics on stateless kernels for L0
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-06-17 18:57:35 +02:00
Zbigniew Zdanowicz
4fa5041f27
Add inline directive to smallest functions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-10 09:27:07 +02:00
Maciej Plewka
689ceacfe6
Fix set allocation adress in SS when offset is patched
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-06-08 13:05:38 +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
Zbigniew Zdanowicz
8f91fcdd73
Add new atomic operation
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-04 09:00:11 +02:00
Mateusz Jablonski
1281e858df
Disable compression flags when image is not compressed
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-27 12:05:52 +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
Daria Hinz
53104e0830
Add a parameter to the encode function
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-04-22 12:07:16 +02:00
Milczarek, Slawomir
e5eba8be53
Add setters and getters for coherency type in render surface state
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-13 16:12:46 +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
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
Zbigniew Zdanowicz
e36941b171
Change argument type in EncodeMemoryPrefetch class
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-25 18:27:07 +01:00
Bartosz Dunajski
f9197d4e0d
Improve memoryPrefetch method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-24 15:12:05 +01:00
Jim Snow
c97fe4c660
Minor cleanup: rename parameter argument
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2021-03-23 00:54:19 +01:00