Commit Graph

5393 Commits

Author SHA1 Message Date
Filip Hazubski
960aff5637 Update isBlitCopyRequiredForLocalMemory helper function
Related-To: NEO-4871

Change-Id: I351cd3abfba0b77292dec814cc279705e827420f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-28 11:36:56 +02:00
Robert Krzemien
f87f05bf8d Metric Api: Renamed MetricTracer to MetricStreamer
Change-Id: I7de16b230685201b0f91b227f17713c3cd49d497
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-28 11:21:10 +02:00
Daniel Enriquez
278505ca4d Enable Windows Os Layer for Sysman
Adding KmdSysman with ULT

Change-Id: If080e6327171d3634a0c461c4169ea8c84461e13
2020-07-28 10:04:02 +02:00
Lukasz Jobczyk
acc4a44b15 Bind allocations in csr under debug flag
Related-To: NEO-4732

Change-Id: Ie2a609dc614d2ad1ee698940fe6f2527d6e92854
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-28 08:08:51 +02:00
Lukasz Jobczyk
56a0eb7d0f Set VM id correctly
Change-Id: I5e4396995dd2f68b9a1fa4646061d54c4a85d3fe
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-28 07:19:50 +02:00
Lukasz Jobczyk
1924ef271f Bind allocations in all contexts properly
Change-Id: I44ebadf39e83e511ca92ee4ee9a7f2397a1500e0
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-28 07:00:41 +02:00
Robert Krzemien
d76515a18d Metric Api: Moved the initialization to zeInit
Change-Id: Ia390389e514facb3d81cc28d97bf017367e9f728
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-27 21:41:24 +02:00
Jitendra Sharma
70babc4b69 Update Sysman frequency API as per latest spec
Change-Id: I5bfdb5e5681e9cfa054f48cf8cc4fd8e76740958
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-27 18:31:07 +02:00
ocldev
887f52d9de gmmlib revision update
Change-Id: Ic5f182a8e90e88241da67bf3a7350555fba543c2
2020-07-27 11:33:59 +02:00
Jaime Arteaga
ba84d2376e Add support for new affinity mask format
Change-Id: I050d15721d2df74f6927ac9fa7daf834c4208d0a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-27 11:10:45 +02:00
ocldev
9a3961dae3 dependencies update
Change-Id: I22ec97cb762bf57e5ef77b74d455599c06514a94
2020-07-27 10:18:49 +02:00
Krzysztof Gibala
73ca617bd3 Remove unneeded swap in Buffer for MultiGraphicsAllocation
Mem_obj is connected with MultiGraphicsAllocation swap is no longer needed

Related-To: NEO-4672
Change-Id: I4484caf17770efdfca8e5b57b5637743663076c4
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-27 09:50:01 +02:00
Mateusz Hoppe
9c42183cd8 Allocate per context SBA tracking buffer
Related-To: NEO-4637

Change-Id: I979aefe599df388a49be2b2703505090d7935d78
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-27 09:11:33 +02:00
ocldev
7f3a13f3bc igc revision update
Change-Id: I32da2e66e9e849536b76a0aeebd78d81247f6211
2020-07-27 04:43:26 +02:00
Artur Harasimiuk
7360790dd0 infrastructure update
Change-Id: Ie637312231d027803af9704cf3b6b20ec8f3cd6f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-26 20:19:50 +02:00
Maciej Dziuban
2d05718e7f Add appendPipeControl method
Change-Id: I31108ec5759484024cc9ff74cf5ebcdaa56fdbb4
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4869
2020-07-24 15:44:40 -07:00
ocldev
28509eb71b igc revision update
Change-Id: I33cb7369b26a51ca99a2f5c05c6fe94d0acfbe58
2020-07-24 19:54:27 +02:00
Bill Jordan
6fc66a82cb More boilerplate for FabricPorts.
Added a FabricDevice object that all FabricPort objects have access
to. Although we don't provide library routines for the user to
access a FabricDevice level object, one exists. And the FabricPort
objects will need to coordinate with the device level object
to get perform operations.

Change-Id: Ief307a312187e8bc5c566bcf4af5b50ecc171aee
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-24 19:05:28 +02:00
Bartosz Dunajski
f0011843ee Initialize fixture member to avoid undefined behaviour
Change-Id: I347d2becd5270acc596e2d2d0f23253d0f3d7791
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-24 19:04:41 +02:00
Zbigniew Zdanowicz
ba14f9dc1f Refactor mock commandlist
Change-Id: Id5cf913caf6b16880cf0040b552ecba1fe8033b3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-07-24 18:32:01 +02:00
Plewka, Maciej
48d990dfc9 Revert "Pass revision ID to ocloc"
This reverts commit 05990b628b.

Change-Id: I7213d5cb75d6e5657410773da8c7ff386c6bbf8a
2020-07-24 18:00:48 +02:00
Bartosz Dunajski
1bc474db87 Manifest update
Change-Id: If6e9d08d4d6441a3042313a6b3ba549627099740
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-24 16:37:51 +02:00
Zbigniew Zdanowicz
2fca4e3477 Refactor programming of additional data of interface descriptor
Related-To: NEO-4570

Change-Id: I3338046f037878085eddaaeb2c8bbdd821fc1515
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-07-24 14:25:39 +02:00
Bartosz Dunajski
f6c893a801 Pass HardwareInfo to programMemoryPrefetch
Change-Id: I5ed0ae35143ef244e08bc88ba8817ce1cb17369c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
20.30.17454
2020-07-24 12:43:21 +02:00
Jaime Arteaga
63a801ee07 Context implementation (3/N)
Add object creators.

Change-Id: Ic656a1bd3735bce1d995c407011ef7c26eab848e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-23 15:27:24 -07:00
Adam Cetnerowski
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
Piotr Maciejewski
cc8ad91e7f Enable L0 Metric API unit tests.
Change-Id: I8b3835a477fb21d3980c91ee3e460ad8b6da94d4
2020-07-23 17:37:12 +02:00
Mateusz Hoppe
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
Andrzej Swierczynski
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
Bartosz Dunajski
caba50046b Change maxBlitWidth value
Change-Id: I7c1ebc479392ad5039873e026aee90fd1332c01c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-23 11:28:40 +02:00
Maciej Plewka
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
Adam Cetnerowski
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
Mateusz Hoppe
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
Jaime Arteaga
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
Robert Krzemien
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
Jitendra Sharma
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
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