Venevtsev, Igor
f77cd94cd5
[1/n] Use GfxPartition for 32-bit allocations - WddmMemoryManager
...
Related-To: NEO-2877
Change-Id: Ie3d94f68d5c9958b0b7bade600b964b778aeb4cf
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-04-18 16:41:38 +02:00
Mateusz Jablonski
6e97a69a2b
Remove allocation type UNDECIDED
...
Resolves: NEO-2733
Change-Id: If6102ca04f557feeedaf702fa0d9f63c79017fe4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-18 15:13:09 +02:00
Mateusz Jablonski
1d42fe169a
Add allocation types for MCS, preemption and shared context image
...
Related-To: NEO-2733
Change-Id: I3e3e4ea6d4fe084c8c32c0e24c537c9131ce1e60
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-17 14:41:01 +02:00
Katarzyna Cencelewska
c5274c5087
Set FeatureTable and WorkaroundTable in setupHardwareInfo
...
Related-To: NEO-2755
Change-Id: I61ba85909574780464690c70b194b3d3597af43e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-17 13:52:19 +02:00
Mateusz Jablonski
74ae06b131
Add new allocation type for internal allocations in system memory
...
Related-To: NEO-2733
Change-Id: I256d414c1e92647469dd2a80f83bdbfc8721cf43
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-17 11:20:50 +02:00
Venevtsev, Igor
2ca97d3881
Introduce MemoryManager::getExternalHeapBaseAddress()
...
Related-To: NEO-2877
Change-Id: I4307224c3be9609f7fc60d7fcb4f91ccdc8a9883
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-04-16 13:30:10 +02:00
Mateusz Jablonski
1e11d8939f
Add new allocation type for device queue's allocatons
...
remove not used mustBeZeroCopy flag
Related-To: NEO-2733
Change-Id: I8b8faf4e2d46249f897a06170dd777193c7f8729
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-16 10:34:18 +02:00
Mateusz Jablonski
2689ec32bd
Remove redundant logs
...
Change-Id: I7b02459ef3cace00d95dc97cdef1a7324cd07414
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-15 15:00:56 +02:00
Mateusz Jablonski
ca18ce41a4
Use TAG_BUFFER type for tag allocation
...
sort usages of allocation types in switches
Related-To: NEO-2733
Change-Id: Ie44ea10733af28e9a15c3fcf749e51c29d39a66e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-15 14:19:32 +02:00
Venevtsev, Igor
3a008fafc6
Revert "[1/n] Use GfxPartition for 32-bit allocations - WddmMemoryManager"
...
This reverts commit 2bb451e76d922861673e052f5f889658ac7db15f.
Change-Id: I1deada59a291a96ef88c8b9b4f2b28861ad27347
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-04-12 20:59:40 +02:00
Milczarek, Slawomir
e42d62c64d
AUB capture in standalone mode to apply hw custom configuration
...
Resolves: NEO-3091
Change-Id: Ia1a17947c2911c4dff693d474e8af642f2b65003
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-11 20:27:13 +02:00
Zbigniew Zdanowicz
971cbd55f3
Add new SVM types
...
Related-To: NEO-2917
Change-Id: Ica127129799c1e617a326a110348c2f70160b15c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-04-11 15:27:38 +02:00
Jacek Danecki
22be2f677d
add RTLD_DEEPBIND flag for dlopen
...
- flag is disabled when any sanitizer is enabled
Related-To: NEO-2728
Change-Id: I6eb507b61876c8931095afc9760dd5760183e65a
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-11 13:08:46 +02:00
Mateusz Hoppe
115d700f49
Add getter in Drm for memoryInfo
...
Related-To: NEO-3014
Change-Id: I56c0e13b88d27f7c6b3816bf24342cdb04108dac
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-10 16:33:25 +02:00
Piotr Fusik
20985f426e
Simplify and format code.
...
Change-Id: I12bda7a76ddb377f684bfed1ef4e0f5c2ace6b0c
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-10 15:59:42 +02:00
Venevtsev, Igor
fac6ddaebc
[1/n] Use GfxPartition for 32-bit allocations - WddmMemoryManager
...
Related-To: NEO-2877
Change-Id: I13621bc984e8bb92bea82c07044d9a40bc9ca550
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-04-10 12:58:26 +02:00
Mrozek, Michal
78e50cae56
Add registry key to always select engine 0.
...
Change-Id: Ia2bb3307dfd69be32a77217b54bedf7178610db0
Resolves: NEO-3089
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-09 18:51:56 +02:00
Maciej Dziuban
60c376d391
Improve non default flags printing
...
Change-Id: I960f9db85f1686785152b7825953464a900b80d1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-09 11:12:43 +02:00
Mateusz Hoppe
7a7cb3d33a
Set correct AllocationType in createGraphicsAllocationFromSharedHandle
...
Resolves: NEO-3077
Change-Id: I893544f4bfc19ffa8f49878bc9b44df4820cd619
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-08 08:19:55 +02:00
Maciej Dziuban
024c54a909
Delete unneeded comment
...
Change-Id: I3b153fea74522ab5f90882123e436c8e7efa380f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-05 10:39:13 +02:00
Maciej Dziuban
c43cdd23b3
Dump debug settings to a file
...
Related-To: NEO-3033
Change-Id: I1c4de1868ba68aada0e2e50f6b84b7f91e6dc45b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-04 15:12:35 +02:00
Maciej Plewka
17f70f3fe2
Revert undefs in windows_wraper
...
Change-Id: I32905e07ea8653e0a5cce60a74d901a881c65002
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-04-04 14:39:52 +02:00
Dunajski, Bartosz
a8451b8aaa
Support BCS context creation
...
Related-To: NEO-3020
Change-Id: I7ddd3816e7b9a5c8cd53a77e87625303a8549b8d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-04 12:18:29 +02:00
Mateusz Jablonski
3abfb7cb3f
WddmMemoryManager: move logic of handling too low host pointer
...
Check malloc restrictions in method that allocates memory using host ptr
Related-To: NEO-2860
Change-Id: If1471c410d9a68e1ebacc6379682bfe98d0d75fe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-04 08:04:49 +02:00
Mrozek, Michal
f946cdd288
Do not limit to 1 slice for throttle hint low.
...
Change-Id: Id42f2ba3af752d36dcf4c550129c4cf1aa68c530
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-03 18:20:49 +02:00
Jobczyk, Lukasz
24e17c0330
Initialize wddm in the WddmMemoryManager constructor before DEBUG_BREAK_IF
...
Change-Id: I96f83af31eacb8939b4e09357775ab5c42cd3618
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-04-03 11:27:32 +02:00
Mateusz Hoppe
b13bd16665
Add support for tiling mode selection to VA sharing
...
Change-Id: I459c472a4b8d74dba70df54c9da29865672114eb
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-03 10:06:42 +02:00
Mateusz Hoppe
5c0c1f77f9
Pass AllocationProperties to createGraphicsAllocationFromSharedHandle()
...
- only extends interface to MemoryManager
Change-Id: I585d91be95abd50e11eedb53e2acfa3f66491d44
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-02 08:55:38 +02:00
Mrozek, Michal
5bb0d8c8ed
Remove type that is not used.
...
Change-Id: I00571ce2f8a1dddbce6645ae753bc99de1ff7a33
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-03-29 12:47:59 +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
Mateusz Jablonski
31e6005fa3
Move getNumHandles method to GraphicsAllocation class
...
Change-Id: Id03e93d1f2558b0c2b740e199e335c8e6f00842a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-26 14:41:40 +01:00
Jobczyk, Lukasz
e42e952d21
Reverse logic of creating Memory Manager - part 5
...
-Remove a Drm* parameter from the DrmMemoryManager constructor
Change-Id: Idb6faccdbb512691a8b14f86cdd935d1a8374a23
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-26 10:47:03 +01:00
Jobczyk, Lukasz
ee1854bfe8
Reverse logic of creating Memory Manager - part 4
...
-Remove a redundant parameter from WddmMemoryManager constructor
Change-Id: Ied9118d136e7d1f3e93b1bb6ce0e29d748bdbe01
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-25 16:14:51 +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
Dunajski, Bartosz
cbe4e06165
Improve waiting for MemObj completion
...
Change-Id: I62078224daa21ee1d6f58f1e6dc59e306ae420b6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-25 10:51:32 +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
Mateusz Jablonski
ee9eb8df83
Release all Gmms
...
Change-Id: I2227b6a1014fea59053893c9d6330f1c386bbcd2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-22 12:19:44 +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
Mateusz Jablonski
6abc3f7d9b
Add logic to create wddm allocation with many handles
...
Change-Id: I1eeffddf7108183ad867d2b05d313f0cf6941c01
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-21 11:28:55 +01:00
Dunajski, Bartosz
7f2bf217f1
Refactor DeviceFactory::getDevices
...
Change-Id: If3b20cc8ed74bdb1c32ae17c23374b7c267933a3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-20 15:25:36 +01:00
Mateusz Hoppe
432591a88a
Adding MemoryInfo to Drm
...
- call queryMemoryInfo on Drm::create()
Change-Id: Ib0532894f271bd4ab3dcbb281d0bddf2a01d4afe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-20 15:04:43 +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
Mateusz Jablonski
5367440fab
Refactor Wddm map gpu address method
...
Change-Id: I9d3d8675bf80af4079e25b84ba6e09b7883c9e28
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-20 08:40:47 +01:00
Mateusz Jablonski
e5a40502aa
Release memory when allocation created from shared handle fails on map call
...
Change-Id: Ic2745c32f54ea9a0418ebb4d29cc41f84deb247d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-19 15:42:20 +01:00
Venevtsev, Igor
ddf3aa186d
Use HEAP_STANDARD for Limited-range allocations
...
Change-Id: I8b35cda2b5542e98a83021b4ce1c9f5118e6697d
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-03-19 10:18:21 +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
Mateusz Jablonski
13f9f3a929
Prepare for refactor map methods of wddm
...
Change-Id: I33249d9a097d717ab2eb5801eaa17154f68ffdce
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-18 13:26:28 +01:00
Zbigniew Zdanowicz
8e743cc1bd
Refactor Wddm interface of mapping GPU VA
...
Change-Id: Ic807dfb17fd0ab664af281db757e48b0cc424fcb
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-03-15 07:50:53 +01:00