Gibala
5ac1d1258c
Connect UnifiedMemoryProperties with MemoryPropertiesFlags
...
-Add support to SvmAllocationData
-Refactor parseMemoryProperties
-Add allocation flags
Related-To: NEO-4011
Change-Id: I3728d2319aeef983dbcc3f8702da9a303a4e2b9c
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-12-09 14:23:46 +01:00
Dunajski, Bartosz
dfc50f3a75
Move gmm_helper to core
...
Change-Id: I31ca317d10697ab884e04f443c8ccfdd6ca9d2ae
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-04 15:25:32 +01:00
Dunajski, Bartosz
ec21f06427
Move GMM-OCL types conversions to new helper + includes cleanup
...
Change-Id: I13e5917a32a5cd894ee42a848407fe20bf1daa06
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-04 10:42:49 +01:00
Mateusz Jablonski
54f65c0243
Move headers to core
...
- hw_info
- hw_cmds
- kmd_notify_properties
- completion_stamp
- bxml_generator_glue
Related-To: NEO-3982
Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-02 14:20:45 +01:00
Mateusz Jablonski
13921f698e
Move files to core
...
- OsLibrary class
- sku_info directory
- gmm_lib.h header
Change-Id: Ia86280e61cd2913c546afc40c3751b42e04ab137
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-19 16:19:52 +01:00
Artur Harasimiuk
bb1cdcaa30
refactoring dependencies lookup on Linux
...
Dependending on Linux Distribution location of pkgconfig may change and
be under lib/, lib64/ or other subfolder. Let's use GNUinstallDirs to
pick correct location when checking for prebuilts
Change-Id: Ic2323e2408eae3d91f0af71cb04e268bcb43bd46
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-11-18 14:12:14 +01:00
Igor Venevtsev
63fd26f6d6
Always specify rootDeviceIndex for graphics memory allocations
...
Related-To: NEO-2941
Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-15 15:14:41 +01:00
Filip Hazubski
5f021afd6d
Move HwHelper to core directory
...
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-11-15 14:06:40 +01:00
Maciej Dziuban
280b66fb97
Unified memory sharing 7/n
...
Move extension name to a separate file
Related-To: NEO-3771
Change-Id: I0c18b0e850e14102936d303d03b8b0e03a22e21a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-14 17:00:23 +01:00
Maciej Dziuban
47645d6003
Unified memory sharing 6/n
...
Validate handle type upon buffer creation
Related-To: NEO-3771
Change-Id: I0fd16422220368ffdd41316e16c8506954d04d29
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-14 16:19:31 +01:00
Maciej Dziuban
6dd65f2f9e
Unified memory sharing 3/n
...
Require CL_CONTEXT_INTEROP_USER_SYNC
Related-To: NEO-3771
Change-Id: I973635a25d2b2ac5d05557804a4351eb59786bcd
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-12 18:05:37 +01:00
Maciej Dziuban
125e2a0ff8
Unified memory sharing 2/n
...
Move acquire/release handling to a base class
Related-To: NEO-3771
Change-Id: I0127e393ce30c0b214b3c9cad590751ad9e386bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-11-12 14:56:21 +01:00
Maciej Dziuban
603bce2164
Unified memory sharing 1/n
...
This change introduces creating and releasing buffers from
memory handle. Currently Windows NT Handles are supported.
Change-Id: I61b89d97946ce61617ad98922b7e9731d4a754a9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-3771
2019-11-06 10:43:34 +01:00
Igor Venevtsev
fed673861f
Add multiple root devices support to memory manager
...
Related-To: NEO-2941
Change-Id: If4977c19dbd083f2d1559a40f9b4e911eab4859c
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-10-31 14:30:19 +01:00
Gibala
a32f537601
Remove OCL object from MemoryProperties 13/n
...
Refactor parseMemoryProperties and createMemoryPropertiesFlags functions
Related-To: NEO-3132
Change-Id: I61aaae69b84d8b0f77c08a59010879cc3a93e6cf
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-24 14:07:42 +02:00
Mateusz Jablonski
79e7a51908
CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
...
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR
Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-14 12:18:50 +02:00
Kamil Diedrich
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Dunajski, Bartosz
0337b58ee4
Remove dcFlush parameter from finish call
...
Change-Id: Ifc808822399a100745a9d81bb5f6e45903a895fa
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-13 12:28:10 +02:00
Dunajski, Bartosz
93aeb1f29a
Dont call mapAuxGpuVA() when PTManager is not supported
...
Change-Id: I8ead56c289a83a720f150d89cdbfd4d44dfea1ee
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-02 10:39:53 +02:00
Krzysztof Gibala
ea47f9745d
Remove OCL object from MemoryProperties 4/n
...
Wire in MemoryPropertiesFlags support to:
-getAllocationPropertiesWithImageInfo
-getAllocationProperties
-fillPoliciesInProperties
Related-To: NEO-3132
Change-Id: I70d7c2d2ebb4814f4d36518b9098a97c88b88f46
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-20 09:46:31 +02:00
Filip Hazubski
ff0d1327f0
Use make_unique in sharings
...
Change-Id: If4fa5e748d673dedf85bc96d4311fcaf8c88a64e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-08-13 11:27:37 +02:00
Mrozek, Michal
fa06a38e51
Optimize include scheme.
...
- remove no longer needed stuff
Change-Id: Iae97a69e2a3136909ab8d0b24b259a7bff15e9e0
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-26 11:34:25 +02:00
Krzysztof Gibala
b5020eac81
Create helper for memory properties
...
-Move logics from mem_obj_helper
Related-To: NEO-3374
Change-Id: I167cdcc8fcb08cb1fa6d19640fd266f0004f4c6b
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-07-23 11:31:49 +02:00
Raiyan Latif
ca74489172
Move string.h to core helpers
...
Change-Id: Ibaaab077ef2867b5e0db3bd215c261de9294063f
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2019-07-19 07:21:00 +02:00
Dunajski, Bartosz
89d1878cd6
Rename engine member in CommandQueue
...
Change-Id: I01516616c164f19afbcd62d39a2a42d04ff768c9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-15 17:53:01 +02:00
Mateusz Hoppe
14d8165887
Refactor GetSupportedFormats calls
...
Related-To: NEO-612
Change-Id: I2d6b4eeed06cfb3e3afededbfc5e4a1d1355ded7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-07-02 14:14:25 +02:00
Artur Harasimiuk
5dbf8f7b8d
cmake: adding EXCLUDE_FROM_ALL to intermediate libraries
...
These targets should be built on demand when another target requires
this or explicitly requested. This applies to STATIC and OBJECT
libraries.
Change-Id: Ia0eb4e803b09c0ce594fd348ad53c10cdf5b3a9f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-06-24 17:11:01 +02:00
Jobczyk, Lukasz
329d940285
Add multiStorageResource flag to AllocationProperties
...
Related-To: NEO-3242
Change-Id: If31adaead389acd3bef6af1931b91396c43b305e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-06-14 06:59:28 +02:00
Anton V. Gorshkov
b26650c7b0
Added host-side API tracing support
...
Change-Id: Id473243344d76e58e326c5a1cb487c57cf5c736c
Signed-off-by: Anton V Gorshkov <anton.v.gorshkov@intel.com >
2019-06-11 08:02:58 +02:00
Hoppe, Mateusz
00baad88c5
Query sharing formats under debug key
...
Related-To: NEO-612
Change-Id: I221f0770ff19b65fd847d802010904646e816f47
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com >
2019-06-05 14:26:32 +02:00
Hoppe, Mateusz
6a53eed889
Fix reporting d3d sharings extensions.
...
Change-Id: I204360d4bd99845c4f4c1ce847e679a89256e87c
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com >
2019-06-03 16:36:38 +02:00
Hoppe, Mateusz
1dbab32755
Add querySupportedFormats to GLSharingFunctions
...
Related-To: NEO-612
Change-Id: I15cff764ac76c6dc18620c4992991091f03b0ee6
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com >
2019-05-31 09:23:23 +02:00
Hoppe, Mateusz
77e2bec9bf
Query and store supported VA ImageFormats
...
Related-To: NEO-612
Change-Id: Ibe8f9e9da0ba2f57ed89e96258cde155f5a5d527
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com >
2019-05-31 08:55:13 +02:00
Mateusz Hoppe
4733e51770
Extended format support in VA sharing
...
- enabled with Debug Variable
- allow P010 surface sharing
Related-To: NEO-3049
Change-Id: I837d9f2e31a4ea2a9cf763430021929222cf3001
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-04-26 12:28:33 +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
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
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 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
fc86445079
Use MemoryProperties to setup cache policy for images
...
Related-To: NEO-2535
Change-Id: Ieb311cef1560d09c099b713d2cc81afb886cfc56
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-04-08 13:22:13 +02:00
Mateusz Jablonski
ad62e32f76
Remove redudant AllocationProperties constructors
...
Related-To: NEO-2535, NEO-2860
Change-Id: Iea3061b7a3f9567b6ea8bc3a9ea49651c5f0fcdd
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-04-04 15:20:27 +02:00
Mateusz Jablonski
6e7f82c315
Obtain storage info internally, in allocateGraphicsMemoryInPreferredPool
...
Related-To: NEO-2860
Change-Id: Id7acb10793f3145238f6b930b4c64c20c87a1021
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-04-04 11:43:31 +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
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
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
Mateusz Jablonski
24cb171d2a
Rename DevicesBitfield -> StorageInfo
...
Change-Id: I2f763be185350de7b76838c9f101a1f8026f42c9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-03-04 11:44:04 +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
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
Katarzyna Cencelewska
c9a8f9b1be
GlSharingFunction tests update
...
Add mock of opengl32.dll to check that sharing functions are loaded
Change-Id: I361707ee9a506e84db51d4fa9c98823db2550fae
2019-02-20 16:05:32 +01:00