Joshua Santosh Ranjan
e8494abbe8
Add support for ze_device_memory_ext_properties_t
...
Related-To: LOCI-3099
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-07-06 08:18:22 +02:00
Szymon Morek
76e023b941
Link build option with L1 cache policy helper
...
Related-To: NEO-7003
Add L1CachePolicyHelper struct.
This struct is resposible for L1 cache policy
in build option, Surface State and stateless
caching. Currently default option for all
platforms is WBP (write by-pass)
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-07-04 11:49:55 +02:00
Szymon Morek
5236b34629
Set L1 policy globally
...
Related-To: NEO-7003
Add function to control l1 policy for both
stateless and surface state cache.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-06-27 14:57:31 +02:00
Lukasz Jobczyk
f98c6b1a8b
Disable round robin engine assign on PVC
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-06-20 15:24:18 +02:00
Katarzyna Cencelewska
615fd4c37a
Add programming of Dispatch Walk Order in COMPUTE_WALKER for xe_hpg
...
- update xe_hpg generated commands
- add method isAdjustWalkOrderAvailable
Related-To: NEO-7065
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-17 10:42:15 +02:00
Maciej Plewka
213dc2fe24
Make CPU copy for read buffer when host ptr is write combined on DG2
...
With this commit on DG2 32bit driver will check if passed host ptr for
clEnqueueReadBuffer is write combined memory. If check will be true copy
will be make on CPU.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-06-13 21:23:21 +02:00
Katarzyna Cencelewska
c59c4b2957
Add hwInfo as argument to method getSupportedDeviceFeatureCapabilities
...
set proper value in method isMatrixMultiplyAccumulateSupported to be
consistent with support of extension *matrix_multiply_accumulate*
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-13 15:03:43 +02:00
Filip Hazubski
d7420f1786
Add isMatrixMultiplyAccumulateSupported query to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-30 16:35:12 +02:00
Filip Hazubski
35d1f2e341
Add debug flag to control programming of thread arbitration policy with SCM
...
Related-To: NEO-6801
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-27 11:35:41 +02:00
Daniel Chabrowski
b5495169ca
Enable implicit scaling via platform config
...
Related-To: NEO-6819
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-26 13:57:19 +02:00
Daniel Chabrowski
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-18 11:42:06 +02:00
Katarzyna Cencelewska
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
Dominik Dabek
5dcdf53d12
Fix: enable split taskcount from wait only on dg2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-05-13 14:30:16 +02:00
Katarzyna Cencelewska
0b68fdbe52
Move isCooperativeEngineSupported to HwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-12 12:10:23 +02:00
Filip Hazubski
3413039a69
Add debug variable to control whether large grf should be programmed with SCM
...
Add debug variable ForceGrfNumProgrammingWithScm.
Do not update large grf value in StreamProperties when unnecessary.
Related-To: NEO-6659
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-06 15:45:46 +02:00
Filip Hazubski
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
Kamil Kopryk
10be59cb15
Improve isIpSamplingSupported helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-04-20 17:02:20 +02:00
Bartosz Dunajski
884d729e4e
Improve pat index programming on linux
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-12 08:18:20 +02:00
Kamil Kopryk
c415edaba1
Improve isGlobalFenceInCommandStreamRequired helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-24 11:27:54 +01:00
Kamil Kopryk
04a141698e
Improve getThreadEuRatioForScratch helper
...
Related-To: NEO-6738
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-03-22 10:47:02 +01:00
Daria Hinz
452050ae40
Refactoring the use of PVC device ids
...
Replacing the old device id implementation
& clearing PVC XT temporary.
Related-To: NEO-6742
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-14 15:54:52 +01:00
Kamil Kopryk
7d6bee26c7
Move pvc helpers to pvc files
...
Related-To: NEO-6631
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-03-11 13:46:59 +01:00
Filip Hazubski
80b520bc9b
Change ThreadArbitrationPolicy enum type to int32_t
...
Change ThreadArbitrationPolicy::NotPresent value to -1
Update initial values to ThreadArbitrationPolicy::NotPresent
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-07 20:04:24 +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
Aravind Gopalakrishnan
16f2fbbc37
[9/n] L0 immediate commandlist improvements
...
Add HwInfo utility for more fine-grained flush task enablement
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-18 19:51:28 +01:00
Krzysztof Gibala
ff7882bcbe
Add PC before NP state commands
...
Add pipe control before state base address, state compute
mode and state sip commands on DG2 and PVC when CCS flow is used.
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-02-10 12:06:41 +01:00
Kamil Diedrich
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-27 14:26:24 +01:00
Kamil Diedrich
8ec74558ea
Temporarily disabling local memory for DG2 in WSL
...
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-06 11:15:25 +01:00
Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 18:29:43 +01:00
Joshua Santosh Ranjan
06be26fd1e
Add uuid support using inband information
...
Added chipset specific uuid retrieving functionality
This is used by zeDeviceGetProperties
Related-To: LOCI-2636
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-12-10 08:02:33 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 18:09:02 +01:00
Milczarek, Slawomir
133e13b319
Add getter for shared system memory capabilities
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-12-02 12:51:41 +01:00
Katarzyna Cencelewska
fa16cbceb9
Change size calculating for scratch on dg2
...
Also add proper init for SliceInfo on Linux
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-12-01 12:36:41 +01:00
Kamil Diedrich
3218b784e8
Add override for gfxPartitionLayout in WSL DG1 path
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-01 10:29:27 +01:00
Compute-Runtime-Validation
383daf9dbe
Revert "Change size calculating for scratch on dg2"
...
This reverts commit adc3ab5f24 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-30 04:22:55 +01:00
Katarzyna Cencelewska
adc3ab5f24
Change size calculating for scratch on dg2
...
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-11-29 14:07:38 +01:00
Lukasz Jobczyk
fb376639ee
Refactor isDirectSubmissionSupported
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-25 13:40:41 +01:00
Kamil Kopryk
4426d9d971
Remove getSharedSystemMemCapabilities from hwInfoConfig helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2021-11-17 16:35:52 +01:00
Krzysztof Gibala
ca0138da2e
Disable PC WA on specific engine type
...
Related-To: NEO-6056
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-10-18 14:04:27 +02:00
Katarzyna Cencelewska
1c8a6d895a
Use hwInfoConfig to check blitter support for image
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-10-13 17:51:00 +02:00
Rafal Maziejuk
f5be28e45f
Add storage info adjustment check
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-28 11:49:35 +02:00
Rafal Maziejuk
82f27e882d
Refactor Gen12LP helpers
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-27 14:07:37 +02:00
Rafal Maziejuk
6f0baaeab9
Add extra parameters verification method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-24 10:05:21 +02:00
Rafal Maziejuk
12e98faf34
Add HwInfoConfig methods preventing ICLLP platform enum usage in gen11 file
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-23 17:34:04 +02:00
Krzysztof Gibala
3b4a5c25da
Move isPipeControlPriorToNonPipelinedStateCommandsWARequired to hwInfoConfig
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-09-21 16:03:49 +02:00
Rafal Maziejuk
8048b84665
Add prefetch disabling requirement check
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-09-15 17:23:14 +02:00
Rafal Maziejuk
3c4885ecb8
Add allocation size adjustment check
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-09-15 09:34:38 +02:00
Young Jin Yoon
4234a19b69
Add support for ze_scheduling_hint_exp_properties
...
Related-To: LOCI-2319
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-09-14 09:30:03 +02:00
Rafal Maziejuk
09ac89339e
Move local memory access mode getters from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-13 13:10:14 +02:00
Rafal Maziejuk
bbfbf19a02
Move allowStatelessCompression from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-09 11:37:47 +02:00