Bartosz Dunajski
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
Zbigniew Zdanowicz
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
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
Filip Hazubski
0f54a57910
Update programming STATE_COMPUTE_MODE
...
Remove function clearComputeModePropertiesIfNeeded.
If a field has to be programmed unconditionally, ignore isDirty flag.
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-07 16:23:59 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +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
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
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
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
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
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
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
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
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
Bartosz Dunajski
c2e333fe38
Update compression encoding interface + test traits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-29 13:57:15 +01:00
Bartosz Dunajski
b57c1b9650
Improve Image surface state encoding for compression
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-28 16:39:42 +01:00
Kamil Kopryk
b59aa2f928
Rename command_encoder_base.inl file
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4750
2020-11-17 13:22:00 +01:00
Bartosz Dunajski
39e6548ef6
Add mi_arb_check between blit commands
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-17 13:07:50 +01:00
Zbigniew Zdanowicz
ca023fa532
Fix L3 and Math programming
...
Change-Id: I4ffd729beeed95b0806dd284665c72fb424b0ffc
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-13 11:41:38 +02:00
Maciej Dziuban
38ca6e9862
Disable L1 for Gen12lp
...
Change-Id: I3b0ec2a6ea9a3bb72507ff66d314bfb1ad7a6a81
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-10-12 11:18:55 +02:00
Zbigniew Zdanowicz
bf32740f97
Move BTI programming to shared code
...
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-09 13:56:44 +02:00
Maciej Dziuban
138f04bdcd
Enable L1 cache for Tigerlake
...
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00
Mateusz Hoppe
0ed1db0b46
Insert PC before SBA in cmdlist
...
Related-To: NEO-4916
Change-Id: I7024ff173ad97d4c42a5fa6d7ea0d0ee665a87d9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-31 13:09:57 +02:00
Bartosz Dunajski
32e1b7d1a7
Add helper for encoding memory prefetch
...
Change-Id: I481ec11b66ad392ba9748bb5bbb6fd0ad3ce7f12
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-04-03 18:34:39 +02:00
Lukasz Jobczyk
d1bc7199de
Switch to 3D pipeline to program selected commands - part 2
...
Resolves: NEO-4447
Change-Id: I1dd6a9694cdf3be19aadec1cd139c466baecbcd7
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-04-01 10:42:55 +02:00
Maciej Plewka
5de8f3ac3d
Unify setting compute mode
...
Change-Id: I8fd5a0cf1a121498efbbf1edb332920578d91598
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-03-26 16:08:29 +01:00
Konstanty Misiak
7ada522fa2
Move CSR to shared [1/n]
...
Related-To: NEO-4344
Change-Id: I356b46bdfac7c943b95ee6dc41d3416bd880f9cb
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-03-10 12:41:34 +01:00
Sebastian Sanchez
1187eb0375
Fix encodeMulRegVal() calculation
...
encodeMulRegVal() makes extensive use of encodeAluAdd().
The following problems are addressed:
* encodeAluAdd() performs an addition and saves the
calculated result to the first register. Saving the
result to the first register clears the calculated result.
* An array of MI_MATH buffers is setup prior to performing a
series of encodeAluAdd()'s where the same registers are
reused for the calculations. For calculated results to be
carried over from one encodeAluAdd() operation to subsequent
encodeAluAdd() operations, the MI_MATH buffer needs to be
setup per encodeAluAdd().
Create EncodeMath<Family>::addition() to reserve a MI_MATH buffer
and performs the addition by calling encodeAluAdd().
Modify encodeAluAdd() to save calculated result to a third
register. Then, after EncodeMath<Family>::addition() is called
in encodeMulRegVal(), copy the calculated result from the result
register to the first register from the EncodeMath<Family>::addition()
operation. This will allow the calculated value to be carried over
to subsequent addition operations.
Change-Id: I9c6f8362a1ca2f7e3361aaa48d8748dd6ff0f4c8
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com >
2020-02-25 14:13:35 -08:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-24 10:22:30 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 23:49:12 +01:00
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00