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
eb5811a797
Fix typo
...
Change-Id: Ibdc35346a9ef05a4ec643d19bd64b790e608eb1a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-10-28 13:19:38 +01: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
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
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
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
Jaroslaw Chodor
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
Lindong Wu
9066192dc3
add dispatch hints for more flixable control on workload dispatch
...
Change-Id: Iecfe3031172fd108a1ef0d77d2fff8ad3cef22b3
2019-10-16 15:40:07 +02:00
Filip Hazubski
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
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
James Xiong
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
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
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
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
Katarzyna Cencelewska
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
Cencelewska
03f910466e
Remove default constructor of DispatchFlags
...
Resolves: NEO-3394
Change-Id: I6d5d8e389e0680e698423e4e36b4f0d20d173522
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-09-24 13:46:34 +02:00
Mateusz Jablonski
7cb6d665a5
Use device index from os context when allocating heaps and command buffers
...
Related-To: NEO-3691
Change-Id: I64015d606bba289d250920899ad620171e8303b7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-23 17:26:39 +02:00
Dunajski, Bartosz
7421e92826
Add getter for CSR member
...
Change-Id: Iab2c7ee19f5659237ea8442685f466a813b4e492
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-20 11:19:57 +02:00
Mrozek, Michal
adcaf05a44
Clean obsolete HAVE_TBX_SERVER.
...
Change-Id: Ic25767b95b173e344d5718fd750c32265078becb
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-18 23:12:11 +02:00
Kamil Diedrich
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Mateusz Jablonski
f7f420b066
Pass os context to ScratchSpaceController::setRequiredScratchSpace
...
Related-To: NEO-3691
Change-Id: I3c040b9dd8e31dc798d70c7d0b12e2a89d22fa80
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-16 17:56:03 +02:00
Mateusz Jablonski
5c120893ed
Move method isMultiOsContextCapable to CommandStreamReceiverHw
...
Related-To: NEO-3691
Change-Id: I3169ee8d5a29b8f562b70403b2fa9ebba7601a48
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-16 14:46:11 +02:00
Mateusz Jablonski
5d640e7100
Remove multiOsContextCapable flag from GraphicsAllocation
...
Change-Id: I3ebeef39befdc2a3e0f9d7d76ae531622ecf1a42
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-13 13:55:42 +02:00
Daria Hinz
ae4425351f
Preamble Helper Refactor
...
Change-Id: Iacd05dcb6d9047fc2814895fa87d1cd9be6df446
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2019-09-13 08:29:03 +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
Dunajski, Bartosz
82d25a188d
Remove unrecoverable
...
Change-Id: Idff674230f6fa67e9b9c4bc9ce707fba0ceebcfa
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-11 17:12:18 +02:00
Jobczyk, Lukasz
882a216688
Move Debug helpers to the core dir
...
Related-To: NEO-3677
Change-Id: I2c98595190fadfa8ffd9e378e774c0d4485cbf9e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-05 16:00:35 +02:00
Piotr Fusik
8278d58841
Pass by const reference.
...
Related-To: NEO-3008
Change-Id: I90e430ccfc049ccb164865e29b6ec3f6f7e98b86
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-09-05 12:35:00 +02:00
Pawel Wilma
849ff8c6d1
Add per-DSS back buffer programming
...
Related-To: NEO-3220
Change-Id: Ide341205a283d8973b5c11f3a953eabbda14262f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-09-05 11:45:44 +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
Dunajski, Bartosz
cf979c3bc0
Remove getWaTable() method
...
Change-Id: I508103a0d46ae94b55891c8a7ef104fb47b0b3e0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-04 11:32:55 +02:00
Mateusz Jablonski
1635bef9a8
Tests update: create memory manager for command stream receiver
...
Change-Id: I89b577759d6da112049a8b0135ae488f2849c140
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-03 14:24:02 +02:00
Mateusz Jablonski
94761a78d6
Unregister engine during destruction of related command stream receiver
...
Change-Id: I9225439b67a11c02998296bd9c3fbc4e2149cae2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-03 09:02:41 +02:00
Jobczyk, Lukasz
86edfea3bf
Fix OCL specific registry path in a core dir
...
Change-Id: I5b7792582e6c77a29ffb42b8fe024bc826ae1867
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-02 17:33:50 +02:00
Jobczyk, Lukasz
10795c716f
Move DebugSettingsReader to a core dir
...
Related-To: NEO-3677
Change-Id: I3374abde6717be20c064ec6d65c0751a783f5138
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-08-29 13:49:40 +02:00
Dongwon Kim
25d9e4533d
DRM Graphic allocation assigns original hostPtr as cpuPtr
...
Change-Id: I9ba282b130b5fb9b674e1ceb2f87183f218ab140
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com >
2019-08-28 13:35:18 +02:00
Mrozek, Michal
e7a4635dd6
Add mechanism to register instruction cache flushes.
...
- With this mechanism csr with add pipe control with instruction cache flush
prior to enqueue, to make sure that this cache is flushed.
Change-Id: I664f212427686e9957027c7cf6c0dab17d2a3cac
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-28 07:56:41 +02:00
Mrozek, Michal
be17471f8a
Wire in L1 MOCS index for stateless accesses to csr.
...
Change-Id: I1712a696e9c02ef042a08c80bfa87e80e82ada5f
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-27 15:48:12 +02:00
Mrozek, Michal
cb4e5576cb
Pass proper dispatch flags.
...
- add new policy to select L1 caching
- this is when kernel doesn't have any stateless writes
Change-Id: I3948e652797420976159bbfec2c2a154eb9e18ee
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-26 18:15:54 +02:00
Daria Hinz
6566eb3193
Move Linear Stream to core folder
...
Change-Id: I962ebd6e9075fcab9d7b6211524093109e62d382
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2019-08-26 17:00:53 +02:00
Mrozek, Michal
e851359e32
Start using real mocs index to call state base address programming.
...
- After this change we start using real MOCS index as an argument to sba
programming
- We also start tracking real MOCS index in Command Stream Receiver.
Change-Id: Id34cffd7e58cb7363df02ac76f82bf377f4bbd77
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-26 16:14:36 +02:00
Mrozek, Michal
c24bbac25f
Refactor scratch offset programming.
...
- no need for virtual functions and helpers, this is just a constant that
is the same everywhere.
Change-Id: Id0ebfd2eed26e26f90f104ec456dcc997be70211
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-23 13:42:58 +02:00
Mrozek, Michal
f362739521
Refactor L3 programming.
...
- Do not do it via member setting.
- Utilize DispatchFlags
Change-Id: I75d4c8ea6c1e10ca0edeeb0d1c3883a549c1cb1f
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-23 08:46:27 +02:00
Kamil Kopryk
9b198a113d
Refactor getCmdSizeForPipelineSelect
...
Change-Id: Ib601974250d4a3576bf90d74ba36c4216c3cb1af
Related-To: NEO-3457
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-08-22 09:01:20 +02:00
Kamil Kopryk
5c6517b6b5
Add PipeControl prior to PipelineSelect WA
...
Change-Id: Id793ef5b6e7ef771b5b7a1d0fde1fb6aef6e7a5a
Related-To: NEO-3457
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-08-20 10:24:49 +02:00
Krzysztof Gibala
ba9c21cf82
Refactor functions
...
Use unified access pattern in obtainPipeControlAndProgramPostSyncOperation
Rename getExecutionEnvironment to peekExecutionEnvironment
Related-To: NEO-3210
Change-Id: Iedf30833704e2fc4b8822f5d19d36a230f140f27
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-19 12:19:18 +02:00
Krzysztof Gibala
62b0f0a220
Refactor addPipeControlWA, PipeControlWArequired
...
Related-To: NEO-3210
Change-Id: I0516154b323e29eeb697bf2253ca08ae1ce150d8
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-19 10:47:28 +02:00
Pawel Wilma
d35c20f430
Collect patch info for scratch/global/constant/private
...
Related-To: NEO-3342
Change-Id: I0b594219cedf5d13d1eb70514816e8048938772e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-08-14 13:52:28 +02:00