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
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
c6a202ab87
Refactor programBindingTableBaseAddress
...
Change-Id: I5a1d29ef3551717c7d28617c8af4d5f3bfbe3dbd
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-10 10:50:32 +01:00
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
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
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
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
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
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
ec21f06427
Move GMM-OCL types conversions to new helper + includes cleanup
...
Change-Id: I13e5917a32a5cd894ee42a848407fe20bf1daa06
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-04 10:42:49 +01:00
e234c89ee4
Change makeResident to be non virtual function.
...
- remove wddm version, not a lot of value there as residency is logged
in processResidency anyway.
Change-Id: Icb2814cfce0e8f3cd75445f1fd2e2f8535d476cc
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2019-12-04 07:29:00 +01:00
1ecad5faed
Move IndirectHeap to core and improve unit tests
...
Change-Id: If7e329fc12fe934eb0f6b1762d3b0d86aab287e6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-03 15:06:27 +01:00
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
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
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
54f65c0243
Move headers to core
...
- hw_info
- hw_cmds
- kmd_notify_properties
- completion_stamp
- bxml_generator_glue
Related-To: NEO-3982
Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-02 14:20:45 +01:00
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
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
bccfa1df38
Add cmake macro to append sources from properties
...
Change-Id: I06771c56ebca2e7a0dc5b65d6ea53aca95a70797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-20 11:58:10 +01:00
e7ee6daaa0
Remove runtime/gen_common from include paths
...
Change-Id: I4d1f9e64e0f4099e7903234e62b070ad4235347a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-19 13:37:34 +01:00
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
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
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
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
4102b9cf3d
Pass single Node instead of whole Container to BlitProperties
...
Change-Id: I7493e836550712633ef95e83b8349a3804df1327
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-13 09:38:31 +01:00
7b7ac67e47
Extend an allocation properties constructor
...
Related-To: NEO-2998
Signed-off-by Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Change-Id: Ia2a99ff3bae574cc0cc40a973a30bdca126fe12d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-11-12 16:21:54 +01:00
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
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
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
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
aa7058a2a9
Enable thread-group preemption for GEN12LP
...
Related-To: NEO-3880
Change-Id: Ia8ffc54f923578d3e7334d414e0087feff42eb7d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-11-04 18:30:58 +01:00
2368247405
Move blit residency handling to CSR
...
Change-Id: If832f9af2e98820986de87b547cc75a4c5d588d0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-04 13:10:50 +01:00
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
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
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
eb5811a797
Fix typo
...
Change-Id: Ibdc35346a9ef05a4ec643d19bd64b790e608eb1a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-10-28 13:19:38 +01:00
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
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
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
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
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
9066192dc3
add dispatch hints for more flixable control on workload dispatch
...
Change-Id: Iecfe3031172fd108a1ef0d77d2fff8ad3cef22b3
2019-10-16 15:40:07 +02:00
4d76fe93b0
Add Math::divideAndRoundUp usage
...
Change-Id: Iae7775a61f7d12dd43d9253498fe388956af2fc4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-10-10 12:25:15 +02:00
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
e6d9b38e1f
Enable midthread preemption after the setup is completed
...
previous:
enable midthread preemption
<...>
csr base
<...>
pipe control + debug control 2
pipe control + VFE state
after:
<...>
csr base
<...>
pipe control + debug control 2
pipe control + VFE state
enable midthread preemption
This is to avoid a race condition and prevent midthread
preemption until the setup is completed.
Change-Id: Icfc1fc839f89e7c51d8e760e544839639fd7d983
Signed-off-by: James Xiong <james.xiong@intel.com >
2019-10-08 12:16:29 +02:00
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
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
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
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
260759268a
Add logic to change queue slice count
...
Change-Id: I4f5ccb4ecb290e1a05e3a312b9fa2a5d9c5c17f7
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2019-09-26 10:21:12 +02:00