Commit Graph

52 Commits

Author SHA1 Message Date
4cc605db20 ULT renaming: Memory Manager tests
Related-To: NEO-2236

Change-Id: I71b03b089a2a51c375c790eee9864adaa5753cb1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-14 12:20:59 +02:00
0ffa1f4314 ULT renaming: Pointer Math tests
Related-To: NEO-2236

Change-Id: I9797cd0387e80f4797d4111ef35ef3da71236bc4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-10 09:27:02 +02:00
851fe8ee07 ULT renaming: HW Commands Helper tests
Related-To: NEO-2236

Change-Id: If9b69316adcc2a3a32dd8872498caa7a8026d2e1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-09 15:13:10 +02:00
b1ef2f70d6 ULT renaming: Helper tests
Related-To: NEO-2236

Change-Id: I8c40794378627097ed4f58ba0dfbe67968910a1a
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-08 10:14:14 +02:00
9311a9763d ULT renaming: Flush Stamp tests
Related-To: NEO-2236

Change-Id: I9849a000486e5001e98fe4a44f4ca7fa40353f9c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-07 09:09:25 +02:00
bd247d725b AppendLaunchKernel tests
RelatedTo: NEO-4515

Change-Id: I1f719ea1f60f313fba44d49f84fe2caf6ea4e5c4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-06 15:46:04 +02:00
884ae6fbab remove MT tests from igdrcl_tests target
these tests are executed as part of igdrcl_mt_tests

Change-Id: I907bbe99b1283962db2b5ad5fae1e4c848683ff1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-04-06 15:25:55 +02:00
e92d297e99 ULT renaming: Get Info tests
Related-To: NEO-2236

Change-Id: I356adb82619733d165d515ab23ac16500298cd54
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-06 14:35:10 +02:00
43dba9de4a Move MockDevice to shared
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 08:23:06 +02:00
385482e3fc Move VariableBackup to shared
Change-Id: Ib7e316f8d497f1854d977b6420f8c978de58c9ab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 13:42:41 +02:00
9b14911f8b ULT renaming: Dispatch Info Builder tests
Related-To: NEO-2236

Change-Id: Ie94c590025edf0605717f77bb89a730ab8c8e6e7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-02 11:40:32 +02:00
57cf4f00c3 ULT renaming: Dispatch Info tests
Related-To: NEO-2236

Change-Id: Ief677f8bcbf7832e18521f0e4d2e135b2c7dfe2c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-01 10:59:32 +02:00
0791b25214 Move cmd parse files to shared directory
Related-To: NEO-4519

Change-Id: Id055631d68f1d73ae39c4976843080b8f8e05f1c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-31 23:31:29 +02:00
ef64990016 ULT renaming: Dirt State Helpers tests
Related-To: NEO-2236

Change-Id: I5ef5962daf9464b99adf20144897dec6a5fc2c1d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-31 15:27:44 +02:00
504174a464 ULT renaming: Basic Math Helpers tests
Related-To: NEO-2236

Change-Id: I9e3f0ed5ce7334a190f664ec4311f346990756b9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-31 15:13:01 +02:00
64575cd589 Pass Context to parseMemoryProperties function
Change-Id: I74ff9fdb9292e281a1a6491387163db0de2ccea2
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-31 07:43:01 +02:00
6de2b4e1cd ULT renaming: Base objects tests
Related-To: NEO-2236

Change-Id: I37c5e4418d1d1daf66460df1a9b375766f14580d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-27 19:44:58 +01:00
0e87eb92c9 ULT renaming: Array Count tests
Related-To: NEO-2236

Change-Id: Id17f8d41b5bd26df6a101d4fa4214347106c7d0d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-26 14:06:55 +01:00
0f0a42de89 Pass root device index to all MockAllocationProperties constructors
Related-To: NEO-4512, NEO-3691
Change-Id: I631228191ca472e883b5233cb41ae8b6254588e9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-26 11:34:47 +01:00
4e4d160efd Extend MockAllocationProperties constructor, pass root device index
Related-To: NEO-4512, NEO-3691
Change-Id: I1af3e513ae272e5baae116a176445e6e6af297fb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-25 21:48:36 +01:00
3acc6b0aab Remove platformDevices from helpers, kernel, memory_manager
Related-To: NEO-4499
Change-Id: Ic875857ced2a793bf300164d44db2dbc99d33572
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-24 22:22:40 +01:00
47e3e7c8eb Remove platformDevices [3/n]
Replace platformDevices[0]-> with defaultHwInfo->

Related-To: NEO-4499
Change-Id: I9a2607abe866512eef518ea6e34efb1d1d2069cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-24 17:19:57 +01:00
7a2310163e Remove platformDevices [2/n]
replace **platformDevices with *defaultHwInfo
replace *platformDevices[0] with *defaultHwInfo

Related-To: NEO-4499
Change-Id: If973ceb44ede2e940969f9c666f85d9a939fbff8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-24 15:26:34 +01:00
49d54cf45d Program selected commands on 3D pipeline
Related-To: NEO-4447

Change-Id: I6bf3d7edd9d8085c37995b75989b8d412a17bdd9
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-24 12:23:14 +01:00
1eb3bd5c0a Move platform() and constructPlatform() to MockPlatform
Related-To: NEO-4207

Change-Id: I7ed1c16f2eb357c3143d2a3f0b688f3cc747e9ff
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-23 23:49:39 +01:00
688c95ce3c Rename getDevices functions
getDevices -> prepareDeviceEnvironments

Change-Id: Ie5bbc0e9f1fe9b1c34ba012249ffa33c4d2ebd05
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-23 12:53:42 +01:00
0f3730f5d9 Remove redundant parameter from getDevices functions
Change-Id: I3da50a69adb8ec64fd1d09021142b278e34c4cbe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-23 08:45:49 +01:00
73ed2a7797 Create diagnostic and debug modes of Direct Submission
Change-Id: I703fdcd96bd064d20e36426d3f59538d1f672a41
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-20 18:08:29 +01:00
a5c4ad1e2e Remove unnecessary includes from MockDevice files
Related-To: NEO-3938

Change-Id: I3805bcedcdd95828b79e9b6a6bd572f20234d7de
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-19 21:47:34 +01:00
052271c458 Remove constant cache invalidation from Gen12LP
Change-Id: Ia63bd0296689c3f059f1debfdffdbca3e041e3c3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-19 16:55:44 +01:00
56952113eb Move MockClDevice to a separate file
Related-To: NEO-3938

Change-Id: I1bfeddb0ab68c025312bc3b8eff9571fef909780
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-18 20:16:46 +01:00
e55d4bf234 Adjust preffered wgs multiple for specific configs
Change-Id: Ib7e788760f0400b983e03044386f04637e12727e
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4331
2020-03-16 13:57:06 +01:00
a996ec6d9a Fix unit test issues
remove dead store
initialize default values in class definition

Change-Id: I39abef12104a80df13ace0fb127c4ee24e00b184
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-16 09:34:55 +01:00
6eae7fc3c7 Altered unit tests to suit new MiFlushDwWA() workaround.
Related-To: NEO-4426
Change-Id: Ib13719a711adda6fb3da3c2893898f0f31418508
2020-03-12 14:45:44 +01:00
5ac8d8e667 Add ClDeviceInfo
DeviceInfo contains a subset of ClDeviceInfo values.

Related-To: NEO-3938

Change-Id: Idae4fae4d25e1fb3106d8b95294fa70ebc6281df
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-11 16:45:27 +01:00
c5454d6cce Rename neo_core to neo_shared
Change-Id: Ibf263a1c5a2445156859a647248918d3db48498b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-11 16:05:19 +01:00
1399e55df7 Flush cache for blit aux translation
Change-Id: I108273bee286cdeed06e0c287945099cea481a73
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-11 08:40:06 +01:00
e9c576393e Move hwInfo to root device environment
Related-To: NEO-3857

Change-Id: Ic23077cad080a249457cec39462ca7407e75b227
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-10 17:13:08 +01:00
ac0edb9a5d Fix clang-tidy issues
Change-Id: I18f6880f84524eb3ea704045dde1293d1a623f5d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-10 16:49:58 +01:00
f31304a9ad Use MockCommandQueue instead of CommandQueue in unit tests
Change-Id: I617e77f2680d6d22381b7fde702a551413295266
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-05 16:34:54 +01:00
98c70faec4 Fix compilation warning
Change-Id: I4f9410cc9bd35bafbd41d65e4057d87bbd8c1973
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-05 14:43:49 +01:00
2c62dadd97 Pass RootDeviceEnvironment to setRenderSurfaceStateForBuffer method
Change-Id: I3d3b9515be7d31aef64c260d0988db357e8122ca
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 15:50:18 +01:00
74072d4916 Access GmmHelper and GmmClientContext via RootDeviceEnvironment
Related-To: NEO-3857
Change-Id: Ie9d719c9884fd89580ce3592a0d4d4cd42862f47
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 12:32:16 +01:00
357fdc2e65 Move built ins to share directory
Change-Id: I740a349a0f15229cd356fffe996932029bf0f98b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-24 15:46:44 +01:00
750036742d Create only available engines
Change-Id: If7880db0dd7aa76b578d0e4e300f510ca686b825
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-24 14:06:36 +01:00
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
ee5ebde417 Add absolute include paths
Change-Id: I5b8631603b0f0b2ed8eb1a61f7e7770b27867423
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 01:21:00 +01:00
9e97b42ee6 Reorganization directory structure [4/n]
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00
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
370424a1e0 Change core inlcudes
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 18:46:50 +01:00