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
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
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
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
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
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
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
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
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
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
ea095418ad
Stop using cache policy defines.
...
- Replaced by Hardware Helper code.
Change-Id: I55026ee33fcaaffbfb529e1878ae4f7033f62ee5
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-26 17:36:50 +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
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