Commit Graph

466 Commits

Author SHA1 Message Date
Dunajski, Bartosz 9a1133615e Pass VA while constructing BlitProperties instead of allocation + offset
Change-Id: Id6f88ff5252cab650ecf103e1e465bf454e6ba4c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-12 13:14:46 +01:00
Cencelewska 230d808021 Add mechanism to dynamically assign thread arbitration policy by one kernel
-use clSetKernelExecInfo with param
 CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_INTEL
 to change default value of ThreadArbitrationPolicy

Change-Id: I15d0de0840ed14687c16ae04890b662bc157de76
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-12-11 09:30:33 +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
Dunajski, Bartosz 1856248e7e Dont pass hostPtr for blit operation triggered by SVM enqueue
Change-Id: I78761f71cb4debe62a41b34e22a614c5245a40ff
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-10 10:55:39 +01:00
Slawomir Milczarek 9a4e360fc2 AUB file name with suffix to indicate multiple subdevices
Change-Id: I8a6417e0c1b30c938ce863c15c5cf91da504d330
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-12-10 09:28:26 +01:00
Dunajski, Bartosz b544b2da60 Remove redundant CommandQueue member
Change-Id: I2ee338a3134cd81d6de7ecbed47c049dfbbae5aa
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-09 13:13:45 +01:00
Dunajski, Bartosz 3014b304ca Refactor STATE_BASE_ADDRESS programming
Change-Id: I977867678ea980f17cbe6ceef51c4f05096c809f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-07 19:00:45 +01:00
Dunajski, Bartosz 232dc59cde Make specific SBA heaps programming optional
Change-Id: I852a9e1d9bcc5d6227b1e8a81ab81ad896d6586f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-06 12:52:21 +01:00
Pawel Wilma 632134db30 Disable host ptr tracking for GEN12LP
Related-To: NEO-3661

Change-Id: I1774aad8ef32f294192a9b679cb9f66e4091198c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-12-06 11:57:32 +01:00
Dunajski, Bartosz 566b845bbc Move state_base_address to core
Change-Id: I2b64fff4eed31054ae29b7b14ecb9f147914049a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-06 09:01:24 +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 614156dd8b Move cache_policy to core
Change-Id: I16be70d15f329117539fe6dfcc07c6dc10d54977
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-03 14:53:49 +01:00
Dunajski, Bartosz b308906999 Return 1 as PreferredTagPoolSize for CSR with aub dump
Change-Id: I33fbd8131bdd8579cf3e5bbfdc5ea6d66a5c74b6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-03 13:42:36 +01:00
Filip Hazubski 2ead0e6910 Update Device::getDeviceBitfield()
Related-To: NEO-2712

Change-Id: I609f55c9a0ee637dcef7cb176728f2ae65499a58
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-12-03 12:45:23 +01:00
Dunajski, Bartosz 4bcbd476d9 Add missing override
Change-Id: I8bddaf940b5f7f3920da350cbedb9af9a5cbbd97
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-03 06:48:50 +01:00
Dunajski, Bartosz 0527c9113c Disable TimestampPacket optimizations in Aub/Tbx mode
Avoid removing semaphores and reusing returned tags

Change-Id: Ic26167953c5d5a9ccceaae49f4921af11a375fab
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-02 15:38:13 +01:00
Dunajski, Bartosz 6dddcbd812 Simplify block copy command interface
Change-Id: I9c89fdb05bc7734e29678fd396bb6f5bc58e919a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-28 15:06:35 +01:00
Pawel Wilma a08fb12c4c Revert "Disable host ptr tracking for GEN12LP+"
Related-To: NEO-3661

This reverts commit 8f6a390a2f.

Change-Id: Ib17543e2c2c7e47c92bbc010d376dd53c6116b59
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-28 13:02:07 +01:00
Dunajski, Bartosz 3f43224e1b Make EXTERNAL_HOST_PTR one time aub writable
Change-Id: Ib8ac51ebad8997a0b10431d8c78239dc38beb616
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-28 09:25:07 +01:00
Pawel Wilma 8f6a390a2f Disable host ptr tracking for GEN12LP+
Related-To: NEO-3661

Change-Id: I969bc70efc65b167996329ea02a29134ffc1ef8c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-27 14:25:55 +01:00
Dunajski, Bartosz aafebb2e85 Skip dumping aub allocations on BCS engine
Change-Id: I7d1cf3b0a0d6e16fd2df2fad1ba5e71dfe04ae23
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-26 12:52:05 +01:00
Pawel Wilma 472a75912d Return error code from submit() to application.
Related-To: NEO-3741

Change-Id: I0e0ff6606eb6a8a77673949955c8e799689017b6
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-26 12:42:47 +01:00
Dunajski, Bartosz 61b6d5248d Allocation offset support for BufferToBuffer blit operation
Change-Id: Ib4a6bd856d123371ea3f667a74a9448953a0b8ca
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 13:13:48 +01:00
Dunajski, Bartosz 08ceaf432a Enable blit operation on enqueue copy buffer
Change-Id: Ie9571344a9b1e2a783c59955a68094f2868f36ee
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-21 20:54:02 +01:00
Zbigniew Zdanowicz 8d7c965dd5 Move Preemption tests to core
Change-Id: I717f2e485cac962373474c30e7ed7c52eab58e7f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-11-19 17:47:38 +01:00
Mateusz Jablonski 3e1b15c31d Move initialization of AubCenter to RootDeviceEnvironment
make RootDeviceEnvironments vector of unique_ptr

Related-To: NEO-3857

Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 11:30:16 +01:00
Zbigniew Zdanowicz b31e25dbb6 Move PreemptionHelper class to core
Change-Id: I172c4beb8ea2576505d6192585d45cfa3d00da34
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-11-18 23:59:28 +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
Mateusz Jablonski 5a8f455a84 Remove csrsContainer from root device environment
improve mocking:
- add method to create RootDevice in Platform
- add method to create SubDevice in RootDevice
- add method to create CommandStreamReceiver in Device

Related-To: NEO-3691

Change-Id: Ie9fe3de260492604333c8ca93796bfbffae518c4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-13 10:05:09 +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
Cencelewska e2c4ec47ac Refactor of programComputeMode in CommandStreamReceiverHw
Change-Id: If3ca7e89fe9f2fff371cd88224fe3a669d17f000
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com>
2019-11-06 11:31:26 +01:00
Igor Venevtsev 684d58d2aa Make GraphicsAllocation constructors unambiguous
Related-To: NEO-2941

Change-Id: Iedd16d0dcb4158b5e7832043289e2e6aba1549d5
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-11-06 10:12:26 +01:00
Dunajski, Bartosz afb96b0b57 Change temporary allocations cleanup order
Change-Id: I7c6d52d985da14fb6c7a0bd15e4384c1ddfae622
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-05 15:36:33 +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
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
Mateusz Jablonski d408b82a19 Move aub center and command stream receivers to root device environment
resize root device environments to 1 by default

Related-To: NEO-3691, NEO-3857

Change-Id: Idf3d61e84f8265f30381c18216632d0ffb2a16de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-28 14:40:43 +01: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 3fea7173e2 Remove redundant makeResident call to avoid BO duplicates
Change-Id: Ie657db6026b4ece2df4f6bdcec8934a314ca64c5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-24 11:05:47 +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
Slawomir Milczarek 3727968488 AUB capture in TBX mode to respect the AUBDumpCaptureFileName debug variable
Change-Id: I0a340ac5be58134237aa2c6513f39dc5d7026634
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-18 10:45:22 +02:00
Mateusz Jablonski 0a44dfcce4 Rename debug variable CreateMultipleDevices -> CreateMultipleRootDevices
Related-To: NEO-3691

Change-Id: I30eae4c5595e6e94aab726f8de2ae9b647406c91
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-17 17:57:58 +02:00
Slawomir Milczarek b3ada0146b AUB subcapture in TBX mode to write the head register upon activation
Related-To: NEO-3051

Change-Id: I5a78de3e43576e2398449ed12935af4000da3deb
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-17 16:03:50 +02:00
Mateusz Jablonski ecade0a153 Minor cleanup in command stream receiver tests
Change-Id: If50a7b524ab892992955d23d6df42e9df112b57a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 12:41:57 +02:00
Slawomir Milczarek 20e44692af Aub subcapture to respect aub capture file name
If aub file name is specified with the AUBDumpCaptureFileName regkey,
the subcapture will apply it directly without generating any suffixes.

Change-Id: Ib522675fee72e00ba7db5e5c966df0e1b87218d2
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-08 13:18:00 +02:00
Mateusz Jablonski 8410bd6e18 Remove device index from command stream receiver
Change-Id: Ia84b0cb8e03260ec940ee0b175b12693e528b8aa
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-04 13:27:33 +02:00
Milczarek, Slawomir f0e7e24638 Add support for AUB subcapture in TBX mode
Resolves: NEO-3051

Change-Id: If7c2d550227d0c5d09c35a53387f34f968e7c7b7
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-10-03 18:05:55 +02:00
Dunajski, Bartosz 7278889752 Allow blit enqueue on non zerocopy svm map calls
Change-Id: I7d9748c814efae47f0cd95f2a216436e520fa7fb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-03 14:58:23 +02:00
Daria Hinz 375681ae12 Move Preamble Helper to core
Change-Id: I7d1bf567a67dc93c10d396aeb48ad1179b5b8ecb
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-03 13:54:17 +02:00