Filip Hazubski
fae1d882f8
Add SvmAllocationProperties
...
Change-Id: Ie96aeab5597a1b3f2db8611a8a04597516730ce8
Related-To: NEO-2535
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-04-23 10:30:04 +02:00
Maciej Dziuban
b7bd3aa793
Defer makeCoherent call to blocking calls
...
This allows flush() not to be blocking while using TBX
Resolves: NEO-3054
Change-Id: Ib3a408d4b5ec66f0848572841b3c60785fc28ad9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-04-23 10:16:43 +02:00
Adam Cetnerowski
79e22a09b9
Report SPIRV 1.2 as supported
...
Change-Id: I3ce078f166d5257ee4e06281b6f42c1091e05b91
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2019-04-23 09:58:24 +02:00
Jobczyk, Lukasz
3051f43470
Do not compress small buffers
...
Related-To: NEO-3112
Change-Id: I4f18f1ee9edb4e6938d7fe98c52e9778ce867fd1
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-04-20 22:26:15 +02:00
Mrozek, Michal
22c2c9b02c
Change the size of aux translation transfer.
...
Change-Id: I9b34babf26eee217c203d0c09d819765a45a9506
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-20 15:45:07 +02:00
Milczarek, Slawomir
ee2e93c505
Add missing locks to functions operating on AUB file stream
...
Related-To: NEO-2747
Change-Id: I9efacbaf6d7894943f3abb6ebe2634ac34fc3d04
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-04-19 13:15:42 +02:00
Milczarek, Slawomir
1bf263f061
AUBDumpAllocsOnEnqueueReadOnly to not activate in path with map image
...
Related-To: NEO-2717
Change-Id: Ida017557a58533323a214c59febfd8794ef4cf17
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-04-19 13:09:56 +02:00
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
Piotr Fusik
603eee76e5
Use GPU pointers for HwPerfCounter.
...
Related-To: NEO-2872
Change-Id: Ia30f2ee0d96a3da05b8e5ecf55e9b7fb5a34ace7
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-18 16:28:48 +02:00
Piotr Fusik
086ef7c461
Simplify code by introducing TimestampPacketStorage::Packet.
...
Related-To: NEO-2872
Change-Id: Ifce455f1a48f2db2bf16af2dd32208ee4542204d
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-18 16:14:04 +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
Zbigniew Zdanowicz
0c6823afd6
Add map allocation for images
...
Related-To: NEO-3097
Change-Id: I5bfd89fd597a8d55597ff7a2aa05b2abd278d5bd
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-04-18 14:46:06 +02:00
Milczarek, Slawomir
c6247873f5
Add comments with kernel names to AUB files
...
Related-To: NEO-2783
Change-Id: Ib00e969b106301d712dc4c14af8208456bcabdb3
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-04-17 14:56:24 +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 Hoppe
8e351a43c1
Cleanup VA sharing implementation
...
- validate flags and plane
- allow plane 0 and 1 only
- do not allow full NV12 image creation
- remove redundant unit tests
Related-To: NEO-3049
Change-Id: I0a2820cdeb9e4b56fe1800490b89c99d05ba7f87
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-04-17 13:40:57 +02:00
Mateusz Hoppe
2f497adb44
Remove MOCKABLE_VIRTUAL from getLibFunc()
...
- this method is called in ctor
Change-Id: I8d16ab30c7bf8f886db8369024c1445eeda061ad
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-04-17 11:56:05 +02:00
Maciej Dziuban
b51b4a173b
Pass hwInfo to getExtraDeviceInfo
...
Resolves: NEO-3106
Change-Id: I8d74ac536f4325b35536f3895015a571eecafc3a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-04-17 11:48:20 +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
Mrozek, Michal
97bc604316
Make sure that resources are not made resident multiple times.
...
Related-To: NEO-3054
Change-Id: I32d01f8993e8d327ee117a352a8b4bcb1bbb7e30
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-17 10:27:11 +02:00
Mrozek, Michal
6223cd32cb
Make sure that TBX requests 1 as preferred tag pool size.
...
Change-Id: I951117122b3e78cf40d413ce1899cd304f338ef6
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-16 16:28:19 +02:00
Piotr Fusik
745c20c78a
Rename TimestampPacket to TimestampPacketStorage.
...
Related-To: NEO-2872
Change-Id: Id1f78491912c44890ae7ead2cac12ec8eb073628
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-16 15:34:28 +02:00
Dunajski, Bartosz
62e2ca05e1
Update latestSentTaskCount before flush during blit dispatch
...
Change-Id: I44e1f4e8a70c17b902164491c6d58e8523160ac3
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-16 14:30:51 +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
Dunajski, Bartosz
8e273cfe1e
Add blitterOperationsSupported flag to RuntimeCapabilityTable
...
Change-Id: If82f6c740d42734a260e22d58562338ea2e11630
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-16 11:34:55 +02:00
Mateusz Jablonski
beceb6aedb
Fix logging allocation while changing allocation type
...
Change-Id: I7d1774e8b9cfcaec68415318ec357bbf8255a311
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-04-16 11:09:38 +02:00
Mateusz Hoppe
772f0c6f09
Enhance va sharing unit tests
...
- remove globals
- cleanup comments in code
Change-Id: I06ab9a5d0f39e5d0e34043808d0d6842c14fb6ff
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-04-16 10:40:37 +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
Dunajski, Bartosz
e40a82336c
Flush constructed Blitter command buffer
...
Related-To: NEO-3020
Change-Id: Ib5f4e111b3a64964ff2c79d4c057a616cdbf8d07
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-16 09:55:53 +02:00
Koska, Andrzej
066743747d
Enable building the spirv kernel more than once
...
Change-Id: Ia93456e7b7afaee07fa633727e943d8db2736f07
Resolves: NEO-2837
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com >
2019-04-16 09:40:28 +02:00
Artur Harasimiuk
8219cfa000
Allow adding resource file to specify details of dll file
...
Change-Id: I1b10b410f800b8cb3a0b914fb278dfce794ef3c4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-04-16 09:11:36 +02:00
Milczarek, Slawomir
1b7014e10c
AUBDumpAllocsOnEnqueueReadOnly to not activate in path with map buffer
...
Related-To: NEO-2717
Change-Id: I7999928e23f8d9cb4a88978ec44e4615eebb97b6
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-04-15 17:27:53 +02:00
Mrozek, Michal
50270d74f7
Force blocking when device enqueue requires aux translation.
...
Change-Id: Ia1af6d8d3f18fc0a40994ffe10d50573b884345c
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-15 16:13:35 +02:00
Maciej Plewka
da19e924f5
Add events support for cache flushes
...
Related-To: NEO-2536
Change-Id: Iea9e9b08df0225ce5a126ab950621576b3880bbe
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-04-15 15:44:25 +02:00
Dunajski, Bartosz
282b0d49ee
Move Buffer MOCS programming to new method
...
Change-Id: I317977105bdbf85023100b0b3a5b4fdad9871ac4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-15 15:38:41 +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 Hoppe
12bd1d4391
Refactor VA cmake files
...
Change-Id: I2407673fcb40de6ad088d0bedfae4d224c915efe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-04-15 14:28:38 +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
Piotr Fusik
543b3d39d0
Use CPU pointers for TimestampPacket where appropriate.
...
Related-To: NEO-2872
Change-Id: Ic91a1dd6252d2970e20bb32c3d867449041cbb8a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-15 10:55:12 +02:00
Piotr Fusik
dd4b3a9f14
Simplify HwTimeStamps operations.
...
Related-To: NEO-2872
Change-Id: Id8e49082b88d7233b9d3ceb9074ce093c100ec14
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-15 10:51:09 +02:00
Dunajski, Bartosz
d7ab156a56
Revert "Update H/V alignment GMM API"
...
This reverts commit b3e1bb08ba .
Change-Id: I412a515892c5f6ee2cfee3aae862d2473fe19dee
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-15 10:01:49 +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
Dunajski, Bartosz
b3e1bb08ba
Update H/V alignment GMM API
...
Change-Id: I394f51bee0ffb23007f4f0970b89dc15deb7e5c2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-12 13:14:41 +02:00
Mrozek, Michal
18bba75a01
Add missing include.
...
- isImageFromBuffer() requires this to work properly.
Change-Id: I0e4ec88787498ebf39637fe510a8a335174ac91f
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-12 11:11:39 +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
Dunajski, Bartosz
9371bfb51f
Add residency handling during blit dispatch
...
Change-Id: I797267af40ce8236a06d5b86fce2b673380c21a8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-11 16:29:58 +02:00
Mrozek, Michal
501a521120
Do 4 byte transfers for full copy kernel.
...
- Also utilize mem object allocation size for aux translation.
Change-Id: I117e4d17b2c8e2acc8395381f36f3019d6987314
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-04-11 15:49:46 +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
Dunajski, Bartosz
653986aea1
Add method to append blit command
...
Change-Id: I8aa968cb9480dfef6fcb51bcc123d6087f9a804b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-04-11 14:50:42 +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