Dunajski, Bartosz
80407aec15
Program barrierTimestampPacketNodes only on first unblocked command
...
Change-Id: I8ebba9f8326e3da2365c001b0c350efb372a3774
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-12 15:37:51 +01:00
Dunajski, Bartosz
50f9674d79
Change HostPtrSurface ownership to target CSR
...
Change-Id: I56ab5f7f961f92cf195600b11e836d2f264c9d0d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-08 18:11:37 +01:00
Dunajski, Bartosz
ad2b8a0bbe
Allow dispatching multiple blit commands with single flush
...
Change-Id: I57ea32dfa8cfd89ec37fc2f1f82ee6f72598c18a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-08 14:35:44 +01:00
Gibala Krzysztof
929193c937
Remove OCL object from MemoryProperties 14/n
...
- Remove MemoryProperties from api layer
- Delete mem_obj_types & mem_obj_types_common
MemoryProperties is now fully replaced by MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: I114a887454a187571c22bfd371ef7bf11dd493fd
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 18:04:12 +01:00
Gibala Krzysztof
98305bd582
Remove not needed code, add missing files
...
Change-Id: I0ffba91d5f2df1d6b6e362896de93928a6f54fb6
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 08:09:41 +01:00
Jobczyk, Lukasz
e784ba39fb
[2/N] Make the execution environment adapter agnostic
...
-add rootDeviceId to the command stream receiver
Related-To: NEO-3857
Change-Id: I6c7f334ebe3d19cf0c58a4db65d013b7a8b7f982
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-29 17:15:01 +01:00
Dunajski, Bartosz
542da0ecf7
Support Gmm::GetMipTailStartLodSurfaceState()
...
Change-Id: I804061066c1a5c46bd3366ada525511885b2586f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-28 08:56:48 +01:00
Dunajski, Bartosz
2be5786b9d
Allow for blit enqueue on read/write buffer operations
...
Change-Id: I69c88e63ef3e8b32bbdf72a69c93f84d3ab45fe3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 10:05:00 +02:00
Dunajski, Bartosz
6059e77fb4
Unify mapAllocation and hostPtrAllocation to transferAllocation
...
Change-Id: I875d6886ce3b0866da7679925ba973d2d16a1141
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 08:20:08 +02: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
Dunajski, Bartosz
caedea28f8
Dont create hostptr allocation for blit calls if already exists
...
Change-Id: If3d9f50189dd31e24796f1f56ce400360c461877
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-23 14:15:46 +02:00
Michal Mrozek
68d152a3d9
Make sure images do not program IA coherency.
...
Change-Id: Ie3d8f0cec8d03e90f5be7ebf0e888cf8ba54cb14
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-23 08:02:00 +02:00
Jaroslaw Chodor
28464ab2d4
[N/N] compiler interface refactor - move to core
...
Change-Id: I029e3cd7a6adde9df97a0a7760ecbf5d25d8f501
2019-10-22 19:14:09 +02:00
Mateusz Jablonski
c8664b50a4
MemoryManager: don't access command stream receivers from execution environment
...
Related-To: NEO-3691, NEO-3857
Change-Id: I8d83456f4164d2b25d78bffa368cffe988c498b0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-22 17:38:24 +02:00
Gibala
5f02a0730b
Remove OCL object from MemoryProperties 12/n
...
Remove MemoryProperties from Buffer and Image classes and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Ib582cddf759bf501fa7dbbea3257640eb9f431e9
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-22 14:26:21 +02:00
Dunajski, Bartosz
a046de5689
Improve BCS waiting logic to satisfy AUB/TBX mode
...
Change-Id: I52b44959b8bdc1cc66f136a4785233b95870fd0b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-22 13:36:43 +02:00
Gibala
d2576c95aa
Remove OCL object from MemoryProperties 11/n
...
Remove MemoryProperties from MemObj class and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Iff8633c49225b6a1f18103281825b36bf179701f
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-17 13:28:44 +02: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
Artur Harasimiuk
68f8e2bade
fix member name to comply with rules
...
Change-Id: I63759164bbd17a5d68fd4ba6c7f0b9138bb511a3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-10-15 15:53:19 +02:00
Maciej Dziuban
100f888b85
Enable setting additional params for gen12lp image compression
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Change-Id: I6228413938930f36c120523818649cde1a717cf2
Related-To: NEO-3564
2019-10-11 07:25:38 +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
Mateusz Jablonski
e0594d4716
Pass context to isSuitableForRenderCompression method
...
Related-To: NEO-3691
Change-Id: I3417e647f4219451922a4dc905726366b4448890
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-09 11:47:26 +02:00
Mrozek, Michal
2ca541a343
Revert "Allow for blit enqueue on read/write buffer operations"
...
This reverts commit dd75cdcf04
.
Change-Id: I0e653d25b190036cc0fdbc6765dd79a5646df3d8
2019-10-07 10:42:02 +02:00
Dunajski, Bartosz
d3e583f7f4
Synchronize blit enqueue after barrier call
...
Change-Id: I0349dc5b1581ecb142bdab881877450366bcdb86
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-10-04 14:56:30 +02:00
Michal Mrozek
0f122fbcee
Remove simplified mocs logic.
...
Change-Id: I9fabfea94129fbc419ab0c9bca957cf7b9952c38
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-04 14:21:22 +02:00
Michal Mrozek
a0a821105d
Improve caching policies tests.
...
Change-Id: I57e6b8e5cb704d473a974daabfea05a1a482f1d6
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-03 17:06:57 +02:00
Jobczyk, Lukasz
3bd4baeba3
Move a unified memory manager to the core dir
...
Related-To: NEO-3677
Change-Id: Ib60dea2bcaaf5feea97d61cb9f54baee4c6b4b64
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-27 10:46:35 +02:00
Dunajski, Bartosz
dd75cdcf04
Allow for blit enqueue on read/write buffer operations
...
Change-Id: Id8f6feb09503a901bfbbd9bd755eb6f237fc1f23
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-27 07:52:39 +02:00
Krzysztof Gibala
0753dc211d
Remove OCL object from MemoryProperties 9/n
...
Refactor:
- validateMemoryPropertiesForBuffer
Related-To: NEO-3132
Change-Id: Ibdeec8ecdd2025718a3379b333a6c8ef9a8ceabf
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-24 14:58:13 +02:00
Dunajski, Bartosz
4dd1155be6
Map allocation support for blit operations
...
Change-Id: Iff1b972b2a46610f9690c3412d00b994691e6e28
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-18 19:32:43 +02:00
Dunajski, Bartosz
0398572c48
Add MemObj offset to constructPropertiesForReadWriteBuffer()
...
Change-Id: I1b90eeb6eec1b5172fb07900351c24581e8b3b3c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-18 07:49:31 +02:00
Kamil Diedrich
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Mrozek, Michal
e6341f48bb
Add extra settings file
...
Change-Id: I49757d38a76cf7e3ae5357477296a4d4e6dcc84e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-17 13:26:14 -07:00
Dunajski, Bartosz
fe7340e029
Add hostPtrOffset to constructPropertiesForReadWriteBuffer()
...
Change-Id: If7ac8efaa0ae9c485339abae49503052f97bae79
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-17 13:30:18 +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
ee1939ca18
Revert "Allow for blit enqueue on read/write buffer operations"
...
This reverts commit 70de319f33
.
Change-Id: I38aa340ddbf906a3c121aa768a6c8300f48db8df
2019-09-13 09:20:51 +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
Krzysztof Gibala
04e1d73fcc
Remove duplicate enums in RENDER_SURFACE_STATE
...
Remove:
- tagSHADER_CHANNEL_SELECT_ALPHA
- tagSHADER_CHANNEL_SELECT_BLUE
- tagSHADER_CHANNEL_SELECT_GREEN
- tagSHADER_CHANNEL_SELECT_RED
Replace:
- tagSHADER_CHANNEL_SELECT
Change-Id: Ia08ac5920107e0c2f4c3e3ef64622f1cd5254174
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-11 16:58:12 +02:00
Dunajski, Bartosz
6ab6a06b1b
Add error handling in allocateGraphicsMemoryForImageImpl and improve ULTs
...
Change-Id: I418a888fe31d5a7f008bdcfa0a3aabb77bc4df39
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-10 14:20:48 +02:00
Dunajski, Bartosz
dd39251af5
Add tiling support checks in unit tests
...
Change-Id: If1330fcda0c373e03988f515f38e4e74c9c352bb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-09 16:47:04 +02:00
Dunajski, Bartosz
70de319f33
Allow for blit enqueue on read/write buffer operations
...
Change-Id: Iacdd2b75c671209d961fdf1754ff348af45ae56c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-09 12:51:06 +02:00
Mrozek, Michal
aa16d9dec9
Revert "Change the offset calculation to use CCS."
...
This reverts commit 81b055024e
.
Change-Id: I5e0491fb946379f4ad2fabd6099570fea5fe1b2f
2019-09-09 10:50:08 +02:00
Dunajski, Bartosz
3e4dd67f09
Refactor linear/tiled Images logic
...
Change-Id: I1deac70e95c6953645e9f52fb75f103b62927066
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-06 13:59:52 +02:00
Dunajski, Bartosz
f4008336f8
Dispatch blit operation in blocked path
...
Change-Id: I2230bde051449bf22c74c112bbe5719aad644533
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-09-04 18:29:46 +02:00
Jobczyk, Lukasz
a79b682fc2
Move a GfxPartition to the core dir
...
Related-To: NEO-3677
Change-Id: Ia89ba93eefbb2921ef7d64bde7ed4114a0c78e0d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-04 15:42:25 +02:00
Krzysztof Gibala
6a221bc7fc
Refactor flags validation
...
-create masks for buffer and image flags
-create common file for mem_obj_helper
-refactor parseMemoryProperties
-remove:
checkUsedFlagsForBuffer, checkUsedFlagsForImage,
addCommonMemoryProperties, addBufferMemoryProperties,
addExtraMemoryProperties, addImageMemoryProperties
Related-To: NEO-3132
Change-Id: I3c147799de7b104d10d25b2f5262aeda58241d84
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-02 12:42:02 +02:00
Maciej Dziuban
7e6ef7c208
Add helpers for MI_ATOMIC address
...
Setter in HardwareCommandsHelper
Getter in UnitTestHelper
Change-Id: I26610d0ccf0113b2b3d3c8ba2d1edd5bf8b41175
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-09-02 08:52:59 +02:00
Mrozek, Michal
33f6c7f0da
Add new flag to disable L3 for stateful accesses.
...
- With this flag resource will not be cached in L3 for stateful accesses.
Change-Id: Icf9a393ab92d55c2cdf30444420ea40da0d5630c
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-08-29 23:38:26 -07:00
Mrozek, Michal
81b055024e
Change the offset calculation to use CCS.
...
Change-Id: I07a878dd6861883e47062b89b5af57fcb7f5aa9b
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-08-29 14:16:07 +02:00
Dunajski, Bartosz
386fa40241
Rename HWTEST_F_T to HWTEST_TEMPLATED_F
...
Change-Id: I2db1eca61f180a3986e58a36fde7d8a523109303
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-08-29 08:32:51 +02:00