Mateusz Hoppe
81e9591c31
Refactor ImageInfo 2/n
...
Change-Id: I5e6081a75b802cc98fd89e384d550a219353728b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-01-10 14:20:31 +01:00
Mateusz Hoppe
c02ba69e86
Refactor Gmm & ImageInfo
...
- rename ImageInfo memebrs to camelCase
Change-Id: Idb3547ee56992691f95600298981af162a3f94ef
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-01-09 13:17:08 +01:00
Mateusz Jablonski
53f3ff4f47
Return only compatible devices for D3D10/D3D11 sharing
...
validate device id from adapter
Resolves: NEO-4077
Change-Id: Icc177444f6d8d8f9ba855b1db0f2b74982c10197
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-01-09 08:48:54 +01:00
Mateusz Jablonski
10d274daa9
Pass GmmClientContext to Gmm and GmmResourceInfo
...
Related-To: NEO-3007
Change-Id: Ia590670e93ed93b0941d5a5dc6ac010268cb561e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-31 12:19:32 +01:00
Igor Venevtsev
8a059e636a
Add ULTs to check rootDeviceIndex correctness in internal GraphicsAllocations
...
Related-To: NEO-2941
Change-Id: I76cfae48ef88fece6fd59453493f499dbf89f43b
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-12-18 14:50:10 +01:00
Mateusz Jablonski
5fa53f4516
Move headers to core
...
- address_patch.h
- options.h
- registered_method_dispatcher.h
- grf_config.h
Rename OCL_RUNTIME_PROFILING -> KMD_PROFILING
Related-To: NEO-3982
Change-Id: I06cf72729e9d7d7d2ff0bd169fcbada00c4b509a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-10 12:19:29 +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
Mateusz Jablonski
dccce00711
Remove redundant getters/setters from MockContext class
...
Change-Id: I4283c1b5805141bf573fd433190e08d853ec7275
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-16 12:29:34 +02:00
Gibala
2f9bfc7748
Remove OCL object from MemoryProperties 10/n
...
Add cl_mem_flags, cl_mem_flags_intel and wire it in mem_obj.
Refactor:
- validateMemoryPropertiesForImage
- validateExtraMemoryProperties
Related-To: NEO-3132
Change-Id: I90fac5fc00e24fc67346109a1fe6f269ef51e1e0
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-10 10:19:47 +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
Jobczyk, Lukasz
2e8e6bdb18
Move majority of utilities to the core dir
...
Related-To: NEO-3677
Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-12 15:07:02 +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
Mrozek, Michal
fe26b0b406
Move debug_manager_state_restore.h to core.
...
Change-Id: I3ef4a1aec40efa4bbc8346a5b517336c42c06519
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 17:21:38 +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
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
Mateusz Jablonski
b04fc1121e
Apply memory flag when creating Gmm with image info
...
Resolves: NEO-3294
Change-Id: I2702611c5b3b2ccd8d48219b90479a6fd3fbe1f7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-12 17:36:07 +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
Maciej Plewka
0e202aaf67
Update gtest to 1.9.0 version
...
Change-Id: I49582c1906864b6777509ce09e5fe633e042d8bb
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-04-23 16:37:18 +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 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
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
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
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
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
Hoppe, Mateusz
d7ce6ef8d1
Allocate images through preferred pool call
...
Change-Id: I79c9c1a0a95a8a3e26ed690530b71ef504cc7ff8
2019-01-25 09:05:25 +01:00
Mateusz Jablonski
f332bf369e
Set allocation's lock state only in lockResource and unlockResource methods
...
Change-Id: I60f35801287166f5bdb0dfcd31ff0118c56ec22a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-24 15:15:27 +01:00
Hoppe, Mateusz
f6790c42cf
Refactor Graphics Allocation paths for Images
...
Change-Id: Ifa3084b18cac95289bbceeaf3669dd31567fbd3e
2018-12-19 13:49:53 +01:00
Maciej Godek
f9ba697587
Sharing queries for DX10/DX11
...
Change-Id: Ia4f176a38bb2dbfe215efe17b13a533ee83510d3
2018-10-31 11:52:46 +01:00
Mateusz Jablonski
b602cd2bb8
Pass execution environment to memory manager
...
Change-Id: If43cf9d1353b4cbc02ea269fb9105c01cc4e0876
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-03 22:12:26 +02:00
Maciej Godek
2ad5108380
Clarified dependencies in Context::getSupportedImageFormats
...
Change-Id: Iaa09a2b572b3ae6d0533378f0ecf227bd90b1a10
2018-09-27 18:41:18 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-09-20 18:02:35 +02:00
Mrozek, Michal
14e4ee9d9a
Do not use exceptions for input validation.
...
Change-Id: I8a4ad230acc5360326a8655513b79153246f1eeb
2018-09-04 11:32:56 +02:00
Venevtsev, Igor
f6743ced2a
Remove reuseBO from createGraphicsAllocationFromSharedHandle
...
Change-Id: Ia7af1cdd8e3986b8af7c542032d2767303865382
2018-09-03 13:38:19 +02:00
Katarzyna Cencelewska
9d157dc443
Refactor of sharing function
...
Change arguments in functions from pointer type to referance type
Change-Id: If3569ceee2188d9ad572f23e3b7510e7a40e917d
2018-08-24 10:09:36 +02:00
Mrozek, Michal
d2e820aac8
Enhance validation in sharing scenarios.
...
Change-Id: I590c5d66602749fb5702e414ccf2b1acec3bc9e7
2018-07-17 19:47:54 +02:00
Mrozek, Michal
07031518dc
Add error handling in d3d9 sharing scenario.
...
Change-Id: I3f337b633514d90298f03a9fa486757026137151
2018-07-17 19:25:36 +02:00
Koska, Andrzej
1c88165f6f
Simplifying plane tests
...
Change-Id: I0ac491036a2f7b303a08ef6d345fef3442dc98b1
2018-07-06 11:08:39 +02:00
Koska, Andrzej
87af7b3c2b
Adding support for formats P010 and P016
...
Change-Id: Id57fa936be9c31049fd50a5309a7fd02f000f7e3
2018-07-03 16:06:07 +02:00
Mrozek, Michal
815151cb94
Simplify memory manager interfaces.
...
- Remove one function that routes to another function.
Change-Id: I44c17bf51abaf3aebf0692086de0f38e0693ab59
2018-06-29 15:39:10 +02:00
Mrozek, Michal
686209874a
Remove not used parameters in PlatformFixture SetUp function
...
Change-Id: Ib58c97e377218350cea19373dd1f193c4cc32a45
2018-06-26 15:00:27 +02:00
Woloszyn, Wojciech
640c956959
correct tests naming in d3d9 tests
...
Change-Id: Ib4fb6f34cba649bc57d19d9f5a30415d8622e43e
2018-04-20 12:30:42 +02:00
Woloszyn, Wojciech
6eec23844b
fix nullptr dereference issues in windows api
...
Change-Id: I6209892f8c0ea96426c28d7977d20c234d3cd81d
2018-04-19 21:55:40 +02:00
Hoppe, Mateusz
83160213f0
Fix problems in thkWrapper and SharingHandler
...
- ThkWrapper had uninitialized mFunc member, setting it
to nullptr
- D3DSurface could dereference null image pointer,
adding validateUpdateData method in SharingHandler
that may return CL_INVALID_MEM_OBJECT if memObject is invalid
Change-Id: Iaa4499bcea47baca156c9d28be4c93ba4f0e1ebb
2018-04-19 15:04:38 +02:00
Dunajski, Bartosz
b2cca4c6ca
Improve gmock usage: Remove default ON_CALL from MockGmmResourceInfo
...
Change-Id: I2d85e7b0cf61f3ebb735d2d1cd5b46ec560436b6
2018-03-26 11:34:57 +02:00
Dunajski, Bartosz
ef1f5a03a2
D3D sharing: set isRenderCompressed for all 2d and 3d textures
...
- Dont check if resource is shared
- Check only gmm allocation capability
- Add missing support for 3d textures
Change-Id: I989533549087db74d5c238d639055462d5fea604
2018-03-23 10:21:42 +01:00
Mateusz Jablonski
894060de50
Cmake refactor part 15
...
Cleanup unit_tests/CMakeLists.txt
Move shared sources to libult
define linux test projects in linux subdirectory
Change-Id: I0da18c79e6581412a04ddfb3795750db862ad95c
2018-03-15 12:12:09 +01:00