Commit Graph

5357 Commits

Author SHA1 Message Date
Jaime Arteaga
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
Bartosz Dunajski
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
Adam Cetnerowski
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
SaiKishore Konda
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
Krzysztof Gibala
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
Pawel Wilma
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
Filip Hazubski
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
Adam Cetnerowski
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
Pawel Cieslak
d63d6ae288 Update infra
Change-Id: I4b3afeec47b60a37972eec5533e51c19d9e68a94
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-07-22 11:16:43 +02:00
Jitendra Sharma
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
Jaime Arteaga
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
Kamil Kopryk
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
Jaime Arteaga
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
Spruit, Neil R
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
ocldev
a1a3271b51 igc revision update
Change-Id: I05b416ad88fb8714d85c1e8bb5a7fae0b8bbb171
2020-07-22 09:02:37 +02:00
Krzysztof Gibala
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
Kamil Kopryk
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
ocldev
ecf7c2b5c4 dependencies update
Change-Id: Ifec6a3c2634927b213f45d55e4070d074e4e6d1c
2020-07-20 13:10:16 +02:00
Adam Cetnerowski
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
Krzysztof Gibala
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
Krzysztof Gibala
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
Jaime Arteaga
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
Jaime Arteaga
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
Zbigniew Zdanowicz
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
Bartosz Dunajski
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
Slawomir Milczarek
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
Mateusz Hoppe
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
Jaime Arteaga
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
Artur Harasimiuk
32117f1fb2 infrastructure update
Change-Id: Ibb00c53483e7950c7c188927e739d26527573470
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-17 11:14:21 +02:00
ocldev
e4ab5014ce igc revision update
Change-Id: Ifeff52a37d23f745fc77d1950fcd074d4aec90bb
2020-07-17 04:41:30 +02:00
Jaime Arteaga
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
Jaime Arteaga
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
Aravind Gopalakrishnan
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
Bill Jordan
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
Brandon Yates
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
Artur Harasimiuk
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
Jaime Arteaga
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
Adam Cetnerowski
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
Artur Harasimiuk
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
ocldev
169c5e1941 igc revision update
Change-Id: I893c8aec569944d8e3b962ae49d93d385b348f58
2020-07-16 14:52:26 +02:00
Mateusz Jablonski
794296334b Allow to create partially linked module
Don't allow to create kernel from partially linked module

Change-Id: Id70b484686e6d1ca79f242bf96ff92582172e378
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-16 13:02:50 +02:00
Filip Hazubski
2b30166415 Use blitter when patching printf surface data
Change-Id: If072d98d597bd4aaca118fb05eb0b8dbb1a2d0b7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-16 12:17:56 +02:00
Jaime Arteaga
59d679dfd5 Evict event allocations
Change-Id: Icf6c602e296a19af1f9a602cf19455d7124ffc9c
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-16 12:06:21 +02:00
Mateusz Hoppe
7aea294c85 Allow perContext VMs
Related-To: NEO-4637

Change-Id: I599aba9c1c06fd9414cfa14ebb2de3fc504d1cad
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-16 11:20:51 +02:00
Maciej Plewka
43f4be3393 Fix offseted ptr in bliter memory copy
Change-Id: I0446cf019cfb3b171ce84bd428c69a83ffc59d54
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-16 11:10:20 +02:00
Krzysztof Gibala
4c952047f1 Pass MultiGraphicsAllocation in Buffer 2/n
Related-To: NEO-4672
Change-Id: I8d1e1d57cf36023d09cc930701cefff93a071736
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-16 10:56:43 +02:00
Krzysztof Gibala
d957349f76 Pass MultiGraphicsAllocation in Buffer 3/3
Related-To: NEO-4672
Change-Id: Ic6b696b1df798fcdadcf17f9e22f1c0999361e47
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-16 10:46:42 +02:00
T.J. Vivek Vilvaraj
6224db771a PCI driver fix for Discrete devices
Change-Id: I91e444c88b5e72463c7f181ece535da4150a2665
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-07-15 23:33:59 +02:00
Adam Cetnerowski
fb7082f0f8 ULT renaming: Kernel Info tests
Related-To: NEO-2236

Change-Id: I19dea5d06d1847cf9d9816112b517cb6974f2cd5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-15 15:37:36 +02:00
Filip Hazubski
bbf50f8d4d Add Device::getParentDevice function
Change-Id: I7b75bca67dceb74624c8dd8fd8c1542437fd9393
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-15 12:38:34 +02:00