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
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
cb37f2a779
Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC.
...
- treat unused local variables warnings as error in Debug
Change-Id: I2da08b72e0f0083d3cdf932fbf92ef4981a88615
2019-02-08 12:06:04 +01:00
Maciej Plewka
d58b9840b8
Fix surfaceState for multisample images
...
Change-Id: I2d4b17e162f61892ca1a86c241a722ef0c51ee42
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-02-05 12:44:57 +01:00
Hoppe, Mateusz
c870628d08
Rename SHARED_RESOURCE allocation type to SHARED_RESOURCE_COPY
...
Change-Id: Ie846450384730171304788bbb1709d7f088036a8
2019-01-28 16:20:35 +01:00
Hoppe, Mateusz
d7ce6ef8d1
Allocate images through preferred pool call
...
Change-Id: I79c9c1a0a95a8a3e26ed690530b71ef504cc7ff8
2019-01-25 09:05:25 +01:00
Katarzyna Cencelewska
72f17d6435
Add check that Intel OpenGl is used
...
before return device_id in clGetGlContextInfoKHR
Change-Id: Ic6dce407a1666909d468d89a8576c907abc63b61
2019-01-22 08:10:46 +01:00
Hoppe, Mateusz
f6790c42cf
Refactor Graphics Allocation paths for Images
...
Change-Id: Ifa3084b18cac95289bbceeaf3669dd31567fbd3e
2018-12-19 13:49:53 +01:00
Katarzyna Cencelewska
f18532c8c4
Refactor of glcl sharing
...
new pattern to load gl and wgl functions from dll
Change-Id: I71d7510a210462c09d50e03ce8a444770c017b8d
2018-12-17 23:04:28 +01:00
Dunajski, Bartosz
a35e3b792d
Return valid TaskLevel for UserEvent and GlSyncEvent
...
Change-Id: Ic2bcb64e92e07b94c1af47b109af1274bf6c8c3e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-06 10:09:46 +01:00
Dunajski, Bartosz
1f7448425d
Allow Device creating multiple CSRs [7/n]
...
Create and initialize all supported Engines
Change-Id: If0adf1a06b5005ef2698cebc6f1aaa6eacf562ec
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-30 15:48:44 +01:00
Dunajski, Bartosz
2d77b86e70
Allow Device creating multiple CSRs [5/n]
...
- Move Engine type to OsContext
- Move OsContext to CSR
- Improve EngineMapper logic
- CompletionStamp cleanup
Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-27 14:25:04 +01:00
Dunajski, Bartosz
3ad33bf1b8
Allow Device creating multiple CSRs [3/n]
...
Add CSR from Device to CommandQueue
Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-23 10:51:34 +01:00
Artur Harasimiuk
ebfba1dc4a
add libva to manifest
...
Change-Id: I13f93a57754662a5f2d94a55fe23af0082b42de6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-20 19:49:53 +01:00
Maciej Godek
f9ba697587
Sharing queries for DX10/DX11
...
Change-Id: Ia4f176a38bb2dbfe215efe17b13a533ee83510d3
2018-10-31 11:52:46 +01:00
Maciej Dziuban
7fe0a0df06
Delete OsContext from FenceData
...
This decoupling is needed to move makeResidentResidencyAllocations into
WddmResidencyController, where we have only contextId, not the context itself
Change-Id: I0d79f1dc7a51fa6b1d713deb6e9003aa2b7be1d4
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-23 09:17:09 +02:00
Dunajski, Bartosz
66427f60c6
Handle TimestampPackets for non-kernel enqueues
...
Change-Id: I52ec4f43b10bf6e2a10b2455d32a90a606645d29
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-10-10 04:21:30 +02:00
Artur Harasimiuk
a6d9e74851
Revert "Refactor of glcl sharing"
...
This reverts commit 51ecef7ec2
.
Change-Id: Ia654fe0d50a2144371c3def7e768ef9707419c61
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-08 14:03:57 +02:00
Katarzyna Cencelewska
51ecef7ec2
Refactor of glcl sharing
...
new pattern to load gl functions from dll
Change-Id: I6f39945d3c53b5a169b0829f36b2102c3ef5e18a
2018-10-05 12:41:31 +02:00
Maciej Godek
2ad5108380
Clarified dependencies in Context::getSupportedImageFormats
...
Change-Id: Iaa09a2b572b3ae6d0533378f0ecf227bd90b1a10
2018-09-27 18:41:18 +02:00
Maciej Godek
b8e9251eeb
Rename D3DFMTCLImageFormat to D3DtoClFormatConversions
...
Change-Id: Ie2be88e628963dd071272b03049a4d7586a4d5a1
2018-09-24 15:11:54 +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
Artur Harasimiuk
de2d5d7532
move CL-GL Sharing header to different folder
...
- rename file
- move to folder public
Change-Id: Ie3c14c5a2be0aec5809b322b9a0e2cebe0e3fc22
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 10:42:41 +02:00
Katarzyna Cencelewska
962b6ce883
Add support for cl-gl sharing
...
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +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
Maciej Godek
1d7d376262
Sharing format query for Intel/DX9
...
Change-Id: I600872be34ff41c3be06679d83e788c66f635e83
2018-08-31 18:20:42 +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
Hoppe, Mateusz
22f80a8a2c
Add logging to VA sharing api
...
Change-Id: I5c68995db4d2dcde9505210030d9c63b5e86ddbd
2018-08-14 14:15:35 +02:00
Mrozek, Michal
2711e19986
Do not seek extension presensce in sharing builder.
...
- Do it in sharing functions instead
- remove incorrect interface
Change-Id: I6319a341e311217d41e151c332808442db561587
2018-08-06 10:57:18 +02:00
Mrozek, Michal
d53e1c3979
Optimize power usage in VA sharing scenarios.
...
- in VA sharing scenarios driver needs to be as power efficient as possible
- Added new mode to KMD notify helper called maxPowerSavingMode
- in this mode, whenever GPU is not busy, driver will choose non busy wait
path.
Change-Id: I7e4079be995107bea543ffda774ca161ce483944
2018-07-31 12:10:22 +02:00
Maciej Dziuban
4993a94b5b
Prepare for future changes
...
- Implement changing MemObj's GraphicsAllocation
- Create function for resolving change of SharedHandler's GraphicsAllocation
Change-Id: Ibd975070ca11ba8591f5561d9f02bf5d9af1636b
2018-07-11 15:36:38 +02:00
Koska, Andrzej
87af7b3c2b
Adding support for formats P010 and P016
...
Change-Id: Id57fa936be9c31049fd50a5309a7fd02f000f7e3
2018-07-03 16:06:07 +02:00