Milczarek, Slawomir
17493426c1
AUB CSR with a capability to add AUB comment
...
Change-Id: Ia7e85468c3f1e937d34b67b0e279c013e8e3c190
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-01 14:14:58 +02:00
Mrozek, Michal
e772321e82
Do not call pollForCompletion after flush.
...
Change-Id: I5bae360ceb38d4c955035b3a51938608c79058ed
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-01 10:10:03 +02:00
Maciej Dziuban
377aebce06
Move PIPE_CONTROL related functions to PipeControlHelper
...
Change-Id: Ie8220b06d2aa35a9fd0083b7db6925b577564d36
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-01 09:20:28 +02:00
Milczarek, Slawomir
404428b103
Call pollForCompletion if AUB subcapture is active only
...
Change-Id: I0f5c35efa6c5b828fe88c15084fec03bb24af4e7
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-29 15:49:07 +01:00
Filip Hazubski
9bbf1daa0e
Update CommandStreamReceiver::expectMemory()
...
Change-Id: I3362f8beee2430f2bf5ff797ec804448682e41ea
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-29 08:52:02 +01:00
Milczarek, Slawomir
9f95e9b704
TBX with AUB dump to call open on aub manager
...
Call open on aub manager to open file stream.
Change-Id: Id48ac4b3bdb212db4adc5912bacd28ccb895c9cf
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-27 23:59:57 +01:00
Mrozek, Michal
883a830636
Fix --tbx mode.
...
- There was a problem in make non resident function when AUB CSR was not
present in CSR with AUB dump , surfaces were not made not resident
properly
- For subsequent submissions they were not discovered as resources requiring
residency and were not made resident
- update task count can only be called when aub csr is actually present.
Change-Id: I12a4c1c14a8a7ecf63a0b0f8d633d35c4bf15b05
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-27 15:44:22 +01:00
Pawel Wilma
af64a54a88
Fail AUB tests execution if AUB file cannot be created
...
Change-Id: Id0474cc5c00be90e69d498ec5674089086a82350
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-03-27 15:40:48 +01:00
Milczarek, Slawomir
96db96fcb4
Add support for buffer dumps in BIN and TRE format
...
Change-Id: Ib7e59fd6812ca6adcb2dfc1defa74008fee17ec9
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-27 13:04:30 +01:00
Piotr Fusik
d4a0c4852b
Move EngineType to aub_stream.
...
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Maciej Dziuban
0420c2948f
Delete addDcFlushToPipeControl
...
Change-Id: Idd1af397a302755484f60e910929c2fe7d52857d
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-25 16:31:32 +01:00
Jobczyk, Lukasz
9ecb3193af
Reverse logic of creating Memory Manager - part 3
...
-Move a Device::getEnabled64kbPages method's logic
to the Memory Manager constructor
Change-Id: Ide88898000e5817a79f9a6ad5dfc9d680bec0533
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-25 14:42:16 +01:00
Piotr Fusik
cc13045ddd
Move definitions out of engine_node.h.
...
Change-Id: I18692a444663c11103f8991415b38000c633f24a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-25 13:22:55 +01:00
Maciej Dziuban
9bd4efbadf
Enable dcFlush in addPipeControl
...
Change-Id: I429009d8a8b1a5e209b7de7de30d69193fb7ef45
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-25 11:26:49 +01:00
Piotr Fusik
6f84496e78
Move duplicate code to the base class.
...
Change-Id: I117a6e55fc51bf3ede3a69dbb8a874e71e74ddf9
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-22 13:23:02 +01:00
Maciej Dziuban
33c07c875f
Do not insert PipeControl WA or DC Flush when not needed
...
Change-Id: I71030273708f243324a566232528bce00a0361df
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-22 12:37:27 +01:00
Stefanowski, Adam
16aee8cc46
[2/n] Move Hardware Info to Execution Environment
...
- remove hwInfo from the csr functions where it was passed as a parameter,
now csr functions have access to hwInfo by Execution Environment
Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-22 10:08:26 +01:00
Liwei Wang
ca4b47f7f4
Add support of GPU preemption (v1.00).
...
https://github.com/intel/compute-runtime/pull/119
Change-Id: I3134d62b66751c8621b80002373a7a9b198e044e
2019-03-22 08:49:11 +01:00
Piotr Fusik
db9afd06cd
Remove EngineInstanceT.
...
Change-Id: I08543b5f4ef5e91e6beb8390d448e53702cd9dac
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 10:56:22 +01:00
Piotr Fusik
ddfb8a3ded
Remove engineInfoTable.
...
Change-Id: Ibf614a2182485c46d826cf35bd5a83f8a767b4bb
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 08:55:22 +01:00
Milczarek, Slawomir
6919a63b51
AUB dump with HW mode to make command buffer resident
...
Change-Id: Iab8aff75500bd804ea1002fd821d3540dca57b09
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-19 19:08:29 +01:00
Piotr Fusik
8c95b45e2f
Remove engineIndex.
...
Change-Id: I58f7cf2c394686409dc45e315d1b5af33db2a28e
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-19 15:26:49 +01:00
Milczarek, Slawomir
a3369a9679
AUB dump with HW mode to call pollForCompletion
...
Change-Id: I9a4345c47394f19ecc63e2d598266e0889a6f8f0
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-18 17:59:05 +01:00
Piotr Fusik
429487fad0
Add constructor parameter to select low priority context.
...
Change-Id: Ieb3fa008a2f1b54052e393516038c88f00944fa0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-18 15:09:59 +01:00
Milczarek, Slawomir
49c428d1ff
AUB allocation dumps with pollForCompletion
...
Change-Id: I610a56d7b8d1b6f1f0d6029ce6d2e62742885698
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-15 16:13:31 +01:00
Mateusz Jablonski
395e79fee8
Add support for many GMMs in Graphics Allocation
...
Change-Id: I955b8dd50b502f91700c5529d0a0a291632aa157
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-13 15:44:45 +01:00
Piotr Fusik
2c524f94a4
Const correctness.
...
Change-Id: I68be05e6c1c3c9c0dc33ba8252a0a5bbeefc06a4
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 18:11:35 +01:00
Piotr Fusik
ec72787b98
Remove MemoryManager::allocateGraphicsMemoryForHostPtr.
...
Change-Id: I629f2299a183fc135135dbaff89216b966554a95
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 15:51:32 +01:00
Milczarek, Slawomir
5fabd6e822
Fixed unlock resource in CSR HW with AUB dump mode
...
Change-Id: I186eb06a3a7ed50c8a18a4d08f3b5d2e991d7fcd
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-12 12:46:48 +01:00
Stefanowski, Adam
341fcfc091
[1/n] Move Hardware Info to Execution Environment
...
- remove gmm_environment_fixture
- remove hwInfo parameter from ExecutionEnvironment methods
Change-Id: Ieb0f9b5b89191fbbaf7676685c77644d42d69c26
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-12 08:39:26 +01:00
Jobczyk, Lukasz
878fd43a1a
Reverse logic of creating Memory Manager - part 1
...
-remove CSR::createMemoryManager method
-create MM from platform before creating devices
Change-Id: I0e7f091c53b0e60ae7101e82a305253af626330e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-08 09:47:29 +01:00
Mateusz Jablonski
5b22a50b28
Allow to create WddmAllocation with multiple handles
...
Change-Id: Iac9df91b08a6ce610b985586dfb6b5f63dc668cb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-07 13:29:00 +01:00
Dunajski, Bartosz
f24b428cf7
Improve HardwareContextController creation
...
Change-Id: Iba929a2b4fcd993b38dd674be578aad0a481e8de
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-06 12:31:20 +01:00
Mateusz Jablonski
7e3b6d2d90
Move definition of maxOsContextCount to engine_node.h
...
Change-Id: I1ed252e9bbf382b449c7751061f9df42ded8b797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-04 15:34:05 +01:00
Milczarek, Slawomir
0a927f8cdc
Fixed CSR HW with AUB dump in AubStream mode
...
Change-Id: I7ec8b9e681ec9727fd3a0d974bed4f65ee49f192
2019-03-04 10:01:37 +01:00
Maciej Dziuban
fb78677d8d
Add function for ensuring command buffer has allocation with given size
...
CommandStreamReceiver::ensureCommandBufferAllocation
Change-Id: Icb48c9beff4f087addda75e97b90d86e8481e7ff
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-04 09:39:00 +01:00
Mateusz Jablonski
6fb28dd828
Refactor GraphicsAllocation class
...
move most of members to protected section
merge related members into structs
Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-02-28 14:09:11 +01:00
Mrozek, Michal
6cb4732abe
Move isl3Capable outside of Graphics Allocation.
...
Change-Id: If9949f0d6d3405dcdeb221cbee1ce30307166c21
2019-02-28 10:48:27 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Piotr Fusik
d79f1afdc2
GraphicsAllocation constructor accepts allocationType and memoryPool.
...
Change-Id: I5044ed26ba0cb0fc9ca7077595f5ab56353ab58c
2019-02-26 13:29:25 +01:00
Jablonski, Mateusz
798137e4bb
Add function to create devices bitfield based on allocation properties
...
Change-Id: Ic70443b1fb6106186efcff318690e434dc1db625
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-26 12:07:09 +01:00
Milczarek, Slawomir
278bb83c56
Enable AUB sub-capture in AubStream captures (1/n)
...
Change-Id: I6bd0605d06cf4dc3937e2dbeba7ed7037ae91476
2019-02-21 22:40:40 +01:00
Hoppe, Mateusz
98db6147d8
Pass full aubfile name to initAubCenter when using TBX with AubDump
...
Change-Id: I9184ce38cd9a066259bbf3a5b8a56694d4e309b4
2019-02-21 12:39:10 +01:00
Mrozek, Michal
65d706bdc3
Add mm_pause in waiting loop.
...
Change-Id: I9b7efd9869d91ff0f2bc289379ea49a7fd1013fa
2019-02-21 12:09:36 +01:00
Mrozek, Michal
4139e88982
Allocate command buffers with proper allocation type.
...
Change-Id: I912dd41cf68fa16ab481bb003c4f5ae63f1f04c4
2019-02-20 12:52:45 +01:00
Maciej Dziuban
802eb37394
Revert "Pass HardwareInfo to AubHelper::checkPTEAddress()"
...
Delete AubHelper::checkPTEAddress()
This reverts commit aa587b3bc5
.
Change-Id: I32b90ce7dddfd2347586b2c47b9114b45cced8ab
2019-02-19 11:51:35 +01:00
Maciej Dziuban
aa587b3bc5
Pass HardwareInfo to AubHelper::checkPTEAddress()
...
Change-Id: Ie5370b52eb79a8d118bd8033a335dc1319e93be1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-19 08:37:58 +01:00
Jablonski, Mateusz
05d02a6fe7
Change DevicesBitfield type to struct
...
Change-Id: I7a005b07737cdd21efc174a2ee2be0f6b7f9068d
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-18 13:57:50 +01:00
Hoppe, Mateusz
7f98db617c
Move expectMemory/writeMemory methods to CSRSimulatedCommon
...
- fix aub tests with --tbx option
Change-Id: I227449dd8614a8aada3eaa4f28ff6dcca7530956
2019-02-18 10:01:32 +01:00