kamdiedrich
f3fc466f5b
Move memory_manager to core folder
...
Change-Id: I8d84d6982fea3cd785f1e15af0ee7fa361258a23
2020-02-08 15:24:13 +01:00
Jobczyk, Lukasz
d810067048
Create dedicated engine for internal usage
...
Related-To: NEO-4149
Change-Id: I1641866429cfa87b457a808b22917d191c482a7e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-05 13:48:04 +01:00
Mateusz Jablonski
10db7e0328
Refactor variables to modify getDevices func behavior
...
store them in one struct
expect that global state is restored on test end
Related-To: NEO-4207
Change-Id: Icd1db59598f464a34608290d6023405cf7f246f0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-04 10:31:48 +01:00
Mateusz Hoppe
d4c75e09c6
Refactor BlitProperties
...
Related-To: NEO-4215
Change-Id: Ieacf424cd4eebee22b45557e432271093644443b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-31 16:54:04 +01:00
Mateusz Hoppe
522dedfbd2
Move files to core
...
Change-Id: I78bf6a82df3399a2b79143333989bac81e7a392a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-29 12:21:40 +01:00
Filip Hazubski
8fcff2241f
Add ClDevice
...
Decouple cl_device_id from Device class.
Related-To: NEO-3938
Change-Id: I68543a753aea562f3b47ba0d23a059ff3cffa906
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-01-17 12:43:11 +01:00
Adam Cetnerowski
de66e1b93f
ULT renaming: Command Streamer Receiver tests
...
Related-To: NEO-2236
Change-Id: I356c8eed9be78d36892bfec0a25486ab1982cdb8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-01-15 14:55:57 +01:00
Pawel Wilma
1fca390c15
Add missing aub and log settings for MAP_ALLOCATION
...
Change-Id: I8a856cadcdf95b2b39fde573e054afbe0dc55fd2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-01-14 13:59:54 +01:00
Mateusz Hoppe
01d8532f52
Move files to core
...
- wddm_allocation.h/.cpp
- os_context.h
- residency_container.h
Change-Id: I9f933a09d1142f86550c0d67626f0719b6450303
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-13 18:25:00 +01:00
Mateusz Hoppe
f0a6f6b057
Move DebugSettingsManager to core
...
- pass registry path in constructor
Change-Id: I2a121da2c9483a0df088989feea490a638c63016
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-17 10:39:53 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jim Snow
4360aff03c
Move runtime/helpers/aligned_memory.h to core/helpers
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
2019-08-06 23:56:24 +02:00
Dunajski, Bartosz
89d1878cd6
Rename engine member in CommandQueue
...
Change-Id: I01516616c164f19afbcd62d39a2a42d04ff768c9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-07-15 17:53:01 +02:00
Mrozek, Michal
fe26b0b406
Move debug_manager_state_restore.h to core.
...
Change-Id: I3ef4a1aec40efa4bbc8346a5b517336c42c06519
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-07-15 17:21:38 +02:00
Dunajski, Bartosz
ecc2a6b115
AuxTranslation support in BlitProperties
...
Change-Id: I52b136dd2a14e8b2c614c54dc695eca141b87a99
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-07-05 08:59:12 +02:00
Dunajski, Bartosz
27654c9282
Buffer-to-Buffer blit operations support
...
Change-Id: I76c9fae83fa2a31bd6108999c7f77f4a47c47f1b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-07-01 23:46:07 +02:00
Dunajski, Bartosz
41cca6d790
Use GraphicsAllocation for blit operation instead of Buffer object
...
Change-Id: I7e59a25db97082a6396d441a8fa603df27d6424d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-07-01 11:23:27 +02:00
Mateusz Jablonski
91858d89d8
Add missing cleanup of private scratch allocation
...
Related-To: NEO-3190
Change-Id: I7b327c76cf62fab50d11ad06dcc067e92c650815
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-06-28 14:53:59 +02:00
Dunajski, Bartosz
56e77ca452
Add BlitProperties to simplify properties passing
...
Change-Id: I4abf99d420487a237e5b465b9d4d121121f45a84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-06-27 16:31:40 +02:00
Mateusz Jablonski
373dd2021b
Add private scratch space allocation to scratch space controller
...
Related-To: NEO-3190
Change-Id: I8100bb1db99700c2aac487e443a872f56c887dd1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-06-27 15:57:20 +02:00
Venevtsev, Igor
165d1e4e55
Use GfxPartition for GPU address range allocations
...
[2/n] - OsAgnosticMemoryManager
Related-To: NEO-2877
Change-Id: I887126362381ac960608a2150fae211631d3cd5b
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-06-25 12:54:20 +02:00
Dunajski, Bartosz
3e88907201
Enqueue Read/Write operations with blitter
...
- Program dependencies from Event and IOQ
- Obtain new TimestampPacket
- Update output TimestampPacket if needed
Change-Id: I4ad020f5c5b05ceca8b096fafe1257523e2bc343
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-06-17 12:01:37 +02:00
Filip Hazubski
74a8406cb8
Support offsets in blitWithHostPtr
...
Related-To: NEO-3020
Change-Id: I8476cc80311495bb16324d1fe8427a77c2e04556
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-06-05 13:07:44 +02:00
Dunajski, Bartosz
c8c2e64ec6
Add blocking flag for bliter operations
...
Change-Id: I61f672780c2108961eaed40b5d5be257f3c34566
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-06-04 21:39:43 +02:00
Filip Hazubski
befbffc967
Support offsets in blitter
...
Related-To: NEO-3020
Change-Id: I7ce13f0cf890c47fd40e92b5bb20c4f4ce291653
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-06-04 16:16:37 +02:00