96e1eb7467
Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
...
Pvc specific variables should be located in pvc struct
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-17 12:19:16 +02:00
7eafb1e877
remove unused code
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 18:15:03 +02:00
3900c9d24a
Report to StreamProperties whether large grf should be programmed with SCM
...
Add helper method to UnitTestHelper to query programmed grf values.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-27 13:20:14 +02:00
944319b3d9
Correct media compression format for blitter operations on planar images
...
Set most significant bit for chroma planes.
Move common logic to helper function.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-22 17:02:16 +02:00
5911515ed0
Refactor debugger code
...
- helper sets all SbaAddresses for debugger in
EncodeStateBaseAddress<GfxFamily>::setSbaAddressesForDebugger()
- change DebuggerL0::captureStateBaseAddress() to take
LinearStream
- move getSbaTrackingCommandsSize() to Debugger class
Related-To: NEO-6845
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-21 13:04:34 +02:00
db9c0d1103
Refactor and enable MI_MEM_FENCE programming for DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-07 12:53:56 +02:00
f4407064a4
Refactor store register mem encoder to include partition parameter
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-06 14:00:56 +02:00
beff0019d1
SBA tracking for single address space
...
Related-To: NEO-6539
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-01 15:24:11 +02:00
3123ab5bf9
Correct media compression format for planar images
...
Set most significant bit for chroma planes.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-26 21:54:08 +01:00
e11eb46bff
Unify logic for programming mocs in post sync struct
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-25 17:01:51 +01:00
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
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
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
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
dd63f1d2f9
Add new function append3dStateBtd
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-02-03 14:42:10 +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
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
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
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
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
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
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
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +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
d5f3ac37bf
Add KernelExecutionType argument to encodeAdditionalWalkerFields method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-12-08 12:00:42 +01:00
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
76b8f6296f
Move noop programming to dedicated encoder
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-18 10:28:56 +01:00
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
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
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
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
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
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
a924b6a304
Code cleanup - avoid copy 5/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-09-08 08:59:55 +02:00
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
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
856dee2b08
Improve Sampler programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-25 19:47:30 +02:00
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
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
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
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
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
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
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
99c0f02e12
Update StateComputeModeProperties
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-18 12:25:16 +02:00
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
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
4fa5041f27
Add inline directive to smallest functions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-10 09:27:07 +02:00
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
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