Commit Graph

5468 Commits

Author SHA1 Message Date
a6d4cb1a21 ULT renaming: Scheduler Kernel tests
Related-To: NEO-2236

Change-Id: Ieaf4adc7169524cd6a9de322c33e7c8be3fcfb0f
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-23 23:35:49 +02:00
cc8ad91e7f Enable L0 Metric API unit tests.
Change-Id: I8b3835a477fb21d3980c91ee3e460ad8b6da94d4
2020-07-23 17:37:12 +02:00
5de52badbe Setup surface state for debugSurface at offset zero
Related-To: NEO-4767

Change-Id: I5be24712795f18865037ea5d3b42604579027969
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-23 16:26:23 +02:00
05990b628b Pass revision ID to ocloc
Related-To: NEO-4004

Change-Id: I3586782f4996e518fe69a9b6e2a2ed22ad19258b
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-23 16:19:14 +02:00
caba50046b Change maxBlitWidth value
Change-Id: I7c1ebc479392ad5039873e026aee90fd1332c01c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-23 11:28:40 +02:00
493d1bfa3f Make applyMemoryRangesBarrier public in cmdlist mock
Change-Id: I4333132de7ad5dbe59037d00640a7a3dc8070f72
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-23 10:44:22 +02:00
393adc5211 ULT renaming: Non Uniform Workgroup tests
Related-To: NEO-2236

Change-Id: I6f314c17400e9b099da52e04aecf19f3df303a82
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-23 10:20:16 +02:00
b89408266a Fix possible memory leaks with BufferObject
Change-Id: Id2141a7a4becfa3ed57034df575b1c868db6715c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-23 09:34:10 +02:00
b011d76586 Context implementation (2/N)
Add memory allocators.

Change-Id: Ie93d077e7a55b9c9c51c4a594a7db0c10f770091
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-23 00:18:01 +02:00
59ffe4ba4b Metric Api: Return apprioprate error when dependencies not met
Change-Id: Ie47a69c4bf80004f7fbc1b91e2025d498e4bda6a
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-22 22:44:53 +02:00
a0c22dec2d Update sysman power APIs to support latest spec
Change-Id: I4631a73c44d918db9421ceb394c71ffa8ca514ca
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-22 22:26:28 +02:00
9537119472 Context implementation (1/N)
Change-Id: I3e0b3c3fdb7c9ab9ac10fccd3d61c7b394dbeee7
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-22 08:57:23 -07:00
d51e3bb9ce Pass ClientType to Gmm
Change-Id: I25ba11d2fd1523fd5cf35157d6a2381991709ad2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-22 17:50:05 +02:00
2bf23742f1 ULT renaming: Sampler Set Arg tests
Related-To: NEO-2236

Change-Id: Iaaec533b8299844aab72fbd7d94ec49dc9393ab4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-22 14:59:44 +02:00
be6ea36769 Implementing zetSysmanMemoryGetState
- zetSysmanMemoryGetState api Implementation
- Corresponding ULT for validation

Change-Id: I2dcd53af4dd0f7cd3e19f594d70fefe21d2206e7
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-07-22 14:10:14 +02:00
e9c42e54b2 Connect mem_obj with MultiGraphicsAllocation
Related-To: NEO-4672
Change-Id: I188db44b4cb0ac6245bd7c864c69b8f1c0084dc4
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-22 14:09:27 +02:00
b457c50a56 Cleanup of Gen12LPHelpers::isForceDefaultRCSEngineWARequired()
This function is no longer needed because we switched default engine
to RCS for all gen12lp products.

Related-To: NEO-4756

Change-Id: I8ca882189fda5ca50dd73cd48cd957c0dd53cb21
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-22 13:42:06 +02:00
4011f0361e Add HwHelper::getLocalMemoryAccessMode helper function
Change-Id: Ia181cfca11f648f1631e1fcd82458024d019e038
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-22 13:20:31 +02:00
526e9eb962 ULT renaming: Program Data tests
Related-To: NEO-2236

Change-Id: Ie5afdf307be013196b11d7cbbd7afca84eb1c185
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-22 12:28:09 +02:00
d63d6ae288 Update infra
Change-Id: I4b3afeec47b60a37972eec5533e51c19d9e68a94
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-22 11:16:43 +02:00
d13fdd32ad Update latest Sysman headers and some fix in sysman ULTs
This change contains:
 - Update the sysman headers as per latest spec.
 - Use mock file descriptor 0 in Sysman ULTs:
   Lets use 0 as mock file descriptor in sysman ULTs.
   Because upon creation of a process in linux, by default file
   descriptors 0, 1 and 2 are assigned to it.
   Thus in /proc/<pid>/fd/ , there will be entries 0, 1 and 2.
   By using 0 as fd, we will be sure, that call getFileName() in
   LinuxSysmanImp::init() would succeed for ULT, because entry
   /proc/<pid>/fd/0 would certainly be found in filesystem.

Change-Id: I1576e2bfc8b96a408294362ccaf9f289b2b84e69
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-22 09:52:10 +02:00
301e11891b Cleanup mock_driver.h
Change-Id: I5085df735e20691b3c12534a7e57d50a3f03a3e8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-22 09:46:39 +02:00
9b2e5274d2 Add helper isBankOverrideRequired
Change-Id: I13b7a77ff029f47091a27704a61704ca8cc46ef2
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4882
2020-07-22 09:24:56 +02:00
af8fdfce62 Cleanup mock_driver_handle.h
Change-Id: I003a5afa6af605cf9c78538d6b648439fce72b3a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-22 09:15:47 +02:00
68fe04e26a Update MemoryFill to use getAlignedAllocation to handle system memory
-> fixed double/early free of memory allocated to handle system host
memory passed to memoryfill by using hostPtrMap to track graphics
allocations created for system memory instead of the deallocation
container.

->fixed definition of BuiltinData in the headers instead of the source
 to remove duplication of code in ULTs.

Change-Id: I2bf02480f36e1deb4c5c04aea0e72906e72961b2
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-07-22 09:03:19 +02:00
a1a3271b51 igc revision update
Change-Id: I05b416ad88fb8714d85c1e8bb5a7fae0b8bbb171
2020-07-22 09:02:37 +02:00
b6c8e09ee1 Pass MultiGraphicsAllocation in Pipe
Related-To: NEO-4672
Change-Id: I931c3808cf84c430ce836147767fb93daa0ad4d8
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-21 10:19:22 +02:00
ee23d7465f Increase max parameter size to 2048
Change-Id: I2284445b18543d397bc5f33a010b37551b07d87a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4851
2020-07-20 13:20:26 +02:00
ecf7c2b5c4 dependencies update
Change-Id: Ifec6a3c2634927b213f45d55e4070d074e4e6d1c
2020-07-20 13:10:16 +02:00
ee404451f4 ULT renaming: Process Spir Binary tests
Related-To: NEO-2236

Change-Id: Idcd394a74fc3c49948f8212adcc0e0542e4d578c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-20 11:16:58 +02:00
a77b5458e5 Use std::move in Buffer at MultiGraphicsAllocation objects
Related-To: NEO-4672
Change-Id: I489df05a6ad48678c9aca7a36898dd8a2ae6b484
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-20 10:37:02 +02:00
47df60c067 Pass MultiGraphicsAllocation in Image
Related-To: NEO-4672
Change-Id: I01c2e7b25cb3448af9520493025569895eb4a155
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-20 10:26:19 +02:00
c05f80643a Use correct graphics allocation in setArgBuffer()
Use the rootDeviceIndex to select the graphics allocation associated
with the argument being set.

Change-Id: I2298f46c0ce5d96841d17381afb7b0013a3f804e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-18 14:51:25 -07:00
3e7c85a437 Cleanup mock_cmdqueue.h
Change-Id: I4061198600ed81805c87ff146034b7726224c6c6
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-18 10:55:50 -07:00
134462919d Move barrier programming to Encode class
Related-To: NEO-4576

Change-Id: I34b93b3118528b449c4e1b81826f9784633377a9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
20.29.17408
2020-07-17 14:28:46 +02:00
f38d5976cd Fix submitting gpgpu context on blit enqueue
Change-Id: Iea598d72a153eda3455e10afcdde6c8f69d11f48
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-17 13:55:11 +02:00
25385f9491 Add memory allocate in device pool tests for DG1 platform
Related-To: NEO-4744

Change-Id: Ia4b557e8aec40033ce05ca313c0a9fe545c31388
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-17 13:27:20 +02:00
ca39301ed8 Reserve SSH space for bindless mode
Related-To: NEO-4767

Change-Id: Id7876ea5a5a4fc12ab0b3192548b006fc1eea75c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-17 13:26:28 +02:00
b3813d9a63 Cleanup mock_device.h
Change-Id: I05cd308f1fe364ad3592d8aff897f8cbc6da10cd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-17 12:43:49 +02:00
32117f1fb2 infrastructure update
Change-Id: Ibb00c53483e7950c7c188927e739d26527573470
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-17 11:14:21 +02:00
e4ab5014ce igc revision update
Change-Id: Ifeff52a37d23f745fc77d1950fcd074d4aec90bb
2020-07-17 04:41:30 +02:00
70ccc2a225 Cleanup mock_cmdlist.h
Change-Id: I467a63a822e76f8c512680629b7b8518b283f6e5
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-17 02:10:33 +02:00
3ab2e6c0cd Add stub for zeDriverGetExtensionProperties
Change-Id: I25016bb36a5ccd37e147cbc4cdb9f1d5e14ae03e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-16 14:19:25 -07:00
4e16e574e9 Add support for global timestamp write API
Change-Id: I709783839a60478a62415c4d87a6b3a01ad43636
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-07-16 22:36:10 +02:00
6e20dfafab Added limited XML parsing capability to L0 Sysman using libxml2.
XML parsing for linux only, hanging off the OsSysmanImp object.

Change-Id: I473dc8dde0611cc13f38a2c0b59e839fced2e59e
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-16 12:12:45 -07:00
180c9c684e Fixing ThreadLaunchArgs for multi-kernel
Change-Id: I57a0615d74f145d6d8c84a434132927e1ac23cb4
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2020-07-16 18:53:47 +02:00
931bded0a2 refactor aub_stream usage
Related-To: NEO-2958
Change-Id: I1bff1e4d4f191413a2029f707b41ab3e36f734d5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-16 18:22:31 +02:00
e7958be0bf Add stub for zeDeviceGetCommandQueueGroupProperties
Change-Id: Ib86d0ae331aef01c4e26c414bf1e1dfaca51aeeb
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-16 16:54:04 +02:00
4ed3c73e57 ULT renaming: Process Elf Binary tests
Related-To: NEO-2236

Change-Id: I36b617078550cd5e91164f9acf7da2ac4eaa1a2b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-16 16:06:22 +02:00
2e58192ed5 improve aub_center tests
Change-Id: Ibe87c7e239cdc0429a2d0e4a53ebf1784150cbef
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-16 15:22:16 +02:00