72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
0dbac9cec7
Move compute mode tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-25 10:14:00 +01:00
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-01-20 16:08:34 +01:00
479c97beaf
Fix tests case name
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-18 18:49:57 +01:00
37c78b9ef7
Disable bliter on DG1 Linux
...
move dg1 hw info config tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-12 15:10:14 +01:00
2047fc88f9
Move execution environment helper to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-31 11:36:44 +01:00
0c2f83579c
Do not force programming SCM when hasSharedHandles is true
...
This is a part of refactor of logic around programming SCM.
SCM should not be programmed just because of hasSharedHandles being true.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:12:28 +01:00
615688336f
Program all fields in SCM
...
Related-To: NEO-6432
This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-28 16:30:47 +01:00
694046d30e
Remove C-style casts when casting to osHandle
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-28 11:11:49 +01:00
1df68ad71f
Move command stream tests to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-22 13:00:43 +01:00
4176cac845
Move shared mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 13:26:59 +01:00
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 12:21:11 +01:00
82096a5472
Add new KMD delay parameter for direct submission
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-17 21:09:37 +01:00
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
03e617d14f
Refactor memory object control state methods in generated commands
...
remove setters/getters for Index To Mocs Tables fields
all information contained in MOCS from gmm client context is now handled
by dedicated method set/get MemoryObjectControlState
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:01:20 +01:00
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-13 14:27:02 +01:00
cdc064f478
Correct programComputeMode function
...
Reset all fields of StreamProperties when
compute mode command is being programmed.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-10 16:43:07 +01:00
f5998b15fc
Move DG1 ULT into proper place
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-10 14:19:28 +01:00
b4f4cad6f9
Add ults for overrideGfxPartitionLayoutForWsl function
...
- move implementation from linux to shared
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-09 15:22:51 +01:00
3511b4755f
Remove redundant coherency variables for SCM
...
Remove CommandStreamReceiver::lastSentCoherencyRequest
Remove CsrSizeRequestFlags::coherencyRequestChanged
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 14:43:21 +01:00
8c93004937
Unify device id tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:53:10 +01:00
e5d7142ae0
Use StreamProperties from CSR when programming STATE_COMPUTE_MODE
...
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 10:51:34 +01:00
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 18:09:02 +01:00
5c266f9ab0
Compression refactor [3/n]
...
Dont use allocation type for compression preference
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 17:20:07 +01:00
3b820d41c6
Reorder engines to match API engines order
...
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-29 09:59:01 +01:00
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
bdf5a1c39c
Disable deviceEnqueue for BDW
...
Related-To: NEO-6378
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-11-15 12:49:59 +01:00
f646422076
Move ult helper to shared common library
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-05 12:21:44 +01:00
fbf1f367f4
Dont create blitter engine when blitter support is disabled
...
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-05 11:07:07 +01:00
9c1e7422b1
DG1: don't use blitter when creating buffer
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-03 14:36:56 +01:00
03540d5301
Refactor per platform extra settings in ocloc
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6382
2021-10-28 16:24:12 +02:00
3a2b018eb6
Enable blitterOperationsSupported on DG1
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-28 14:16:19 +02:00
d34ef3170a
Remove CPP_ATTRIBUTE_FALLTHROUGH macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-22 17:27:57 +02:00
802a272c5f
Move mock_gmm_memory to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-22 13:46:46 +02:00
31a8498397
Move special ult helper to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-19 21:07:17 +02:00
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
8f81f2ae8d
Cleanup MockGmm
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-14 21:56:53 +02:00
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00
5856c283c5
Remove HardwareCapabilities struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-12 07:25:06 +02:00
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +02:00
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
ad97bd32de
Remove Gen12LP helpers files
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-09-28 09:38:11 +02:00
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
0b4bc865d3
move drm_mock to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-24 08:55:45 +02:00
8b36473a9a
Move command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-23 12:47:21 +02:00
7c473d0a11
Move setCapabilityCoherencyFlag function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-23 11:45:34 +02:00
f8867e0b97
Move generic command stream receiver files to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-22 23:55:31 +02:00
eae4596a9c
Add isAdditionalCapabilityCoherencyFlagSettingRequired ULT helper function
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-09-22 12:55:59 +02:00
4caa10f76e
Don't use Platform class in shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-20 18:23:07 +02:00
9da7d516bc
Add ADLS device id
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-20 16:06:53 +02:00