Commit Graph

42 Commits

Author SHA1 Message Date
8c93004937 Unify device id tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-09 13:53:10 +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
bf25853799 Move some mocks to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 21:46:53 +02:00
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
a49b45a679 Initialize HwInfo in tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-30 17:59:46 +02:00
d3ba02294f Correct coding style in drm tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-06-25 17:22:53 +02:00
b3283a4490 When initializing gtSystemInfo initialize DualSubSliceCount
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-06-01 14:52:19 +02:00
bc92cbf9e7 Refactoring hwinfoconfig
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-25 09:02:07 +02:00
3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
be1346f899 ULT renaming: Gen11-specific tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-04-20 15:23:32 +02:00
8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
b9a185df76 ULT renaming: HW Info Setup tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 19:37:44 +01:00
949137e068 Remove not used method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-19 17:55:50 +01:00
605629d89e Device ID cleanup:
- Use commmon naming scheme
- Add missing ULTs
- Remove redundancies

Related-To: NEO-5250

Change-Id: Id6ed25c078b54f7d6ea43f2d3b71dc827ff2d088
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-03 13:45:36 +01:00
30a67618f8 Add DeviceBitfield argument to CSR constructor
Related-To: NEO-5225

Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
17db6d223e ULT renaming: Gen-specific Capabilities tests
Related-To: NEO-2236

Change-Id: Ibe9e5bdb2530db8a7992e9c7d8447e29af3ea242
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-21 12:27:41 +02:00
caa212dcf3 Create top level copy_test_file_per_product target
- new target depends on all product specific
copy_test_files targets

Change-Id: I90adb6598790dc4a25d61e6c22f2b2b58e898717
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-07 10:39:51 +02:00
5f4d54c4fe Add revision specific tests and test files generation
Related-To: NEO-4838

Change-Id: I43cdd9108046239ec2535a9010762fb767b0c1eb
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-01 05:28:54 -07:00
ada57435b4 Remove platform() dependency from DrmMock
Change-Id: I58a21dede469da95593e241528459761322c0730
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-09-12 18:05:14 +02:00
fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
5af401b7bb Discover GPU topology from i915
Resolves: NEO-4718

Change-Id: I0547c109b961c3732e64b6f22ec761a5943c65ef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-15 10:32:29 +02:00
aa8e9fb634 Rename ocl DeviceFixture and add shared tests specific one
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-06-01 15:44:05 +02:00
f4ef256900 Program hardware context in L0 command queue
Related-To: NEO-4577

Change-Id: I204a5e86ad3b23b71071bbbfd58c23a408f6865f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-29 13:07:38 +02:00
b2210fa5bb Refactor MemorySynchronizationCommands class
Related-To: NEO-4338

Change-Id: Id0ae9c73293fd99f53fccc11a69ca14fa9a6d119
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-27 17:33:31 +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
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
441ff1fcdf Don't use the entire std namespace
Change-Id: I2014117a154fb2c1a61af5c31baa228b4fb3dbc2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-27 19:57:11 +01:00
94bd9af6e2 Remove platformDevices from ULT
Related-To: NEO-4499

Change-Id: I0949f6fd9897b970314a82db7bae6f700fbf31d3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-24 22:48:20 +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
2b269caca9 Add Ult target for level_zero
Change-Id: I5b18b6f495eda302ba96287d7bd6cc0b2bbe48ac
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-03-16 14:28:58 +01:00
7fd91182b6 Revert "Add Ult target for level_zero"
This reverts commit a748d7ccf5.

Change-Id: Ifc49e45a93d42f7ae355fbf2a2d993538a1f71fe
2020-03-13 15:44:47 +01:00
a748d7ccf5 Add Ult target for level_zero
Change-Id: I43cfd536fc14c3d632289a00e9d82c23176b32a3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-03-13 13:33:04 +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
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
3241eea8fc Respect global option APPVERIFIER_ALLOWED in ult targets
Change-Id: Ifb8044c97ec98d85cbeb132637bd6f6592b01372
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-04 11:52:04 +01:00
073e015000 Define run_*_unit_tests targets in separated folders
Change-Id: Ic01913cf58e373f59a3c9445c385741dd6308d59
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-03 14:22:52 +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
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
87c5d2663b Add absolute path to unit_tests
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00
e8852a68c4 Reorganization directory structure [2/n]
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00