Zbigniew Zdanowicz
137ab6c130
Calculate max threads for preamble only once
...
Change-Id: I345f1229ae8421d97fe7c947af54f459632ae792
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-30 15:23:17 +02:00
Jaime Arteaga
b98b51b0d9
Move ptr.h to core folder
...
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-05-29 00:11:34 -07:00
Zbigniew Zdanowicz
e2906fcdf1
Move interlockedMax to core helpers
...
Change-Id: I5496ea963e68e0ef1e107c860112b7123d38aa81
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-28 17:38:17 +02:00
Maciej Dziuban
a90270c1de
Extract functions to state_base_address_bdw_plus.inl
...
Change-Id: I577488aa18b7ca53e87c5e05c383d9879c545fbb
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-23 10:29:58 +02:00
Dunajski, Bartosz
b82cdd6b8e
Program MI_SEMAPHORE_WAIT for dependencies during blit operations
...
Change-Id: I8b0e467886bfb23d026a0c13be514343a22a20a1
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-21 14:18:16 +02:00
Filip Hazubski
2d02435fb9
Add DeviceHelper::getEnginesCount() function
...
Related-To: NEO-2535
Change-Id: Ie82f5b573d934e038dc44853d0bba5bbd5db3551
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-05-20 15:26:48 +02:00
Zbigniew Zdanowicz
77ce18ad35
Simplify code for Front End programming
...
Change-Id: I1f6e1f4f6eef24c8018c54ae1b7f6ec67adb55b3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-20 09:42:07 +02:00
Dunajski, Bartosz
4f4ef14b9b
Accept different copy directions during blit operations
...
Change-Id: Idb59458b46337ca0095056857dbd75bf116b6723
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-16 18:53:30 +02:00
Maciej Dziuban
9ef2f4b3ee
Extract functions to aub_helper_bdw_plus.inl, helpers/hw_helper_bdw_plus.inl
...
Change-Id: Ic3857a8cbebb7a7e16eebc25fbd0244f4605c0a8
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 17:08:54 +02:00
Maciej Dziuban
ab183b13a0
Extract functions to preamble_bdw_plus.inl
...
Change-Id: If23166f3e8270ce2e56fa704baf231740de54476
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-16 15:47:06 +02:00
Dunajski, Bartosz
8398a5132c
Pass source allocation to append method during Blit operation
...
Change-Id: I48995fd117ee64cfc9ebfc6ccafdc0ac5b5fa043
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-05-16 12:37:22 +02:00
Mateusz Jablonski
b8fb5e683b
Move basic_math.h and vec.h to core directory
...
Change-Id: I143b7af450ff48d4958b4bc7137b393a2dc0eb64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-14 21:32:55 +02:00
Maciej Dziuban
2e6e791a1c
Extract CommandStreamReceiverHw and BlitCommandsHelper functions to inl files
...
Change-Id: I0019ec0dfec7f3c0088616d10fc788636c13146e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3016
2019-05-13 19:16:45 +02:00
Dunajski, Bartosz
67d39b19db
Add pitch programming to Blit dispatch and align max width to cacheline
...
Change-Id: I37a15ddc64c9e41cd4cd718133b17d572bb71ba2
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 16:08:06 +02:00
Dunajski, Bartosz
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Mrozek, Michal
bc35cd250a
Do not use max power saving mode in VA sharing scenarios.
...
-This can be achieved by passing CL_QUEUE_THROTTLE_LOW_KHR as throttle hint
to command queue.
- This gives much better control about the granularity of this feature
instead of triggering this for the whole context user may still have
power saving mode queues.
Change-Id: I066729f963119ddc1f62ad2785c342af2fea588e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-05-07 15:23:13 +02:00
Mateusz Hoppe
068a8d7189
Call submitBatchBuffer on HardwareContext
...
Related-To: NEO-3052
Change-Id: I51cae4d953260c0b6a49c40b8a8771630c721731
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-26 15:22:42 +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
Mrozek, Michal
c269bc062f
Limit overestimation in multi kernel scenarios.
...
- There was overestimation that resulted in each kernel getting
page aligned estimation size.
- After this change every kernel aligns only to cache line and final
size is aligned to page size.
Change-Id: Iee06bdd0083724ea7e9415f3d0fe70198acca407
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-23 17:46:53 +02:00
Mateusz Hoppe
6c74446a1e
AubStream headers update
...
Change-Id: Ie96e827013f4a956154bcbfe50a42ab6ef0cbae3
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-23 14:56:15 +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
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
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
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
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
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
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
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
Dunajski, Bartosz
ccd93e1ea8
Add method to dispatch blit operation from hostPtr to Buffer
...
Related-To: NEO-3020
Change-Id: If76f2c659c3ee343693a6d3ced86a47d7ed0bf61
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-10 15:17:44 +02:00
Zbigniew Zdanowicz
e201725dd5
Add dedicated map allocation
...
Related-To: NEO-2917
Change-Id: Ieeca40f5faf29433a5c464d2c3ca3b8910695a9b
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-04-09 16:16:31 +02:00
Milczarek, Slawomir
381ccfc0aa
AUB capture with AubStream to support image dumps
...
Related-To: NEO-2717
Change-Id: I448627cc40776eadacaefaa321500a3cf5ff3593
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-08 17:28:14 +02:00
Mrozek, Michal
9ff61b6e04
Setup preemption registers now return input value.
...
Change-Id: Ib58e2dffb5ebca15bfca24d03e8077ac71c9c499
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-08 12:05:35 +02:00
Jacek Danecki
4b2bb188b7
Add support for Gen11 platform
...
Related-To: NEO-2388
Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-05 14:28:55 +02:00
Maciej Plewka
4eb48e3d06
Add function to flush caches
...
Related-To: NEO-2536
Change-Id: Ifbf7e7a42514dd66eb0914f9d13407287481e123
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-04-05 09:48:50 +02:00
Kamil Diedrich
cefa3e3119
Add alignment check to CL_DEVICE_MEM_BASE_ADDR_ALIGN for compressed buffers
...
Change-Id: I44fa231411a754fb24398a4a9727ca16f257220e
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2019-04-02 12:20:12 +02:00
Milczarek, Slawomir
17493426c1
AUB CSR with a capability to add AUB comment
...
Change-Id: Ia7e85468c3f1e937d34b67b0e279c013e8e3c190
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-04-01 14:14:58 +02:00
Mateusz Jablonski
f3d17008ee
TransferProperties: lock resource only when transfer on CPU is requested
...
Change-Id: Ic93b4fd438e75f5d54cbae9bec332c4b18c6b1ee
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-01 14:02:49 +02:00
Mateusz Hoppe
e82d6e63cb
Refactor GMM creation
...
- extract createResourceParams method from queryImageParams
- add tilingMode to ImageInfo
Change-Id: I32cc2a7d32892147545017e592e2796f85057b46
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-01 13:56:02 +02:00
Maciej Dziuban
68311588e6
Delete CommandQueue argument from dispatchScheduler
...
Change-Id: Icbda4d6887d7f0001e3081aef1fa69edc1169782
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-01 11:13:37 +02:00
Kamil Diedrich
0ff6358c17
Add method checkResourceCompatibility
...
Change-Id: I858f54cbeac86121882ca0dec1a5f35eca034dbd
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2019-04-01 11:12:32 +02:00
Maciej Dziuban
377aebce06
Move PIPE_CONTROL related functions to PipeControlHelper
...
Change-Id: Ie8220b06d2aa35a9fd0083b7db6925b577564d36
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-01 09:20:28 +02:00
Piotr Fusik
8cf7cea1e9
Simplify bit operations.
...
Change-Id: If1401f32df5ebcb3abf614832152abf029a9c5e6
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 17:11:29 +01:00
Milczarek, Slawomir
96db96fcb4
Add support for buffer dumps in BIN and TRE format
...
Change-Id: Ib7e59fd6812ca6adcb2dfc1defa74008fee17ec9
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-27 13:04:30 +01:00
Piotr Fusik
d4a0c4852b
Move EngineType to aub_stream.
...
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01: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
Filip Hazubski
cdd46679c8
Add getIntelQueueInfo helper function
...
Change-Id: I5daed24c36db8f5da143db8665b4353582dbc94b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-26 11:31:35 +01:00
Zdunowski, Piotr
14824f1dff
Add support for device specific extensions.
...
Change-Id: I3ffd125875067b00bc225556c09fbe2d02f11022
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2019-03-25 16:02:11 +01:00
Piotr Fusik
cc13045ddd
Move definitions out of engine_node.h.
...
Change-Id: I18692a444663c11103f8991415b38000c633f24a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-25 13:22:55 +01:00