Mateusz Hoppe
51f7ca1601
Move files to core
...
- runtime/gmm_helper files
- engine_control.h
- allocation_properties.h
Change-Id: I108888d639c8fdb298eda00fb1e7961b2ccb26cd
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-02 15:57:05 +01:00
Mateusz Jablonski
10d274daa9
Pass GmmClientContext to Gmm and GmmResourceInfo
...
Related-To: NEO-3007
Change-Id: Ia590670e93ed93b0941d5a5dc6ac010268cb561e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-31 12:19:32 +01:00
Igor Venevtsev
8a059e636a
Add ULTs to check rootDeviceIndex correctness in internal GraphicsAllocations
...
Related-To: NEO-2941
Change-Id: I76cfae48ef88fece6fd59453493f499dbf89f43b
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-12-18 14:50:10 +01:00
Dunajski, Bartosz
211ba8adcb
Dont call virtual method in CSR destructor
...
Change-Id: Idccea2ad8f5bc6ff9933e4f9f1f0549db5ce6a99
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-17 12:14:38 +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
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
Gibala
5ac1d1258c
Connect UnifiedMemoryProperties with MemoryPropertiesFlags
...
-Add support to SvmAllocationData
-Refactor parseMemoryProperties
-Add allocation flags
Related-To: NEO-4011
Change-Id: I3728d2319aeef983dbcc3f8702da9a303a4e2b9c
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-12-09 14:23:46 +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
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
c8a34e65f0
Revert "Dont make Surfaces resident on GPGPU CSR for blit enqueue"
...
This reverts commit d74edb3d3f
.
Change-Id: Idd4fb27afd0b8a30be1dba1630ecd81932963fae
2019-12-04 12:18:26 +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
Michal Mrozek
04b4198228
Use castToUint64 while casting form void* to uint64_t.
...
- Otherwise the uint64_t GPU address may not be proper
- The sign bit is propagated while reinterpret_cast is happening
causing wrong address to be generated.
i.e. in 32 bit application:
void* address = 0xffff0000;
unit64_t gpuAddress = reinterpret_cast<uint64_t>(address);
gpuAddress is equal to 0xffffffffffff0000 instead of 0x00000000ffff0000.
Change-Id: I36665651d615c3ab612b2cea375fa539edc7d08d
2019-12-02 12:50:33 +01:00
Dunajski, Bartosz
d74edb3d3f
Dont make Surfaces resident on GPGPU CSR for blit enqueue
...
Change-Id: I009e0a9bbbe44287146ba7f5c47dd2c8f3144cfb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-28 12:18:27 +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
Michal Mrozek
fd17b391c8
Remove 32 bit code paths from allocation schemes.
...
Change-Id: I4825ff504abacdd4c08ac49c7d678daa100d23dc
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-27 11:19:40 +01:00
Michal Mrozek
0574372efe
Merge 2 image tests.
...
Change-Id: I537eb18e8feeea4ec1529b903654deed8bd4f252
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-25 12:58:55 +01:00
Gibala Krzysztof
de83356b10
Program all semaphores dependencies
...
Related-To: NEO-3902
Change-Id: I5d8581cf4d1d50bc63626046972336b92af2a071
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-11-22 08:53:59 +01:00
Michal Mrozek
bb6559b1b6
Simplify image tests.
...
Change-Id: Iecb0cedec01ab2836f376d640774a46625589a05
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-22 00:16:00 +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
Mateusz Jablonski
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
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
Filip Hazubski
60b4614f24
Remove OCL objects from HwHelper
...
Change-Id: I6b629421eae5e3c9c158f769ef1bb8d68e37aae7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 19:17:10 +01:00
Dunajski, Bartosz
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
Dunajski, Bartosz
50f9674d79
Change HostPtrSurface ownership to target CSR
...
Change-Id: I56ab5f7f961f92cf195600b11e836d2f264c9d0d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-08 18:11:37 +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
Gibala Krzysztof
929193c937
Remove OCL object from MemoryProperties 14/n
...
- Remove MemoryProperties from api layer
- Delete mem_obj_types & mem_obj_types_common
MemoryProperties is now fully replaced by MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: I114a887454a187571c22bfd371ef7bf11dd493fd
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 18:04:12 +01:00
Gibala Krzysztof
98305bd582
Remove not needed code, add missing files
...
Change-Id: I0ffba91d5f2df1d6b6e362896de93928a6f54fb6
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 08:09:41 +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
542da0ecf7
Support Gmm::GetMipTailStartLodSurfaceState()
...
Change-Id: I804061066c1a5c46bd3366ada525511885b2586f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-28 08:56:48 +01:00
Dunajski, Bartosz
2be5786b9d
Allow for blit enqueue on read/write buffer operations
...
Change-Id: I69c88e63ef3e8b32bbdf72a69c93f84d3ab45fe3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-25 10:05:00 +02: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
caedea28f8
Dont create hostptr allocation for blit calls if already exists
...
Change-Id: If3d9f50189dd31e24796f1f56ce400360c461877
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-10-23 14:15:46 +02:00
Michal Mrozek
68d152a3d9
Make sure images do not program IA coherency.
...
Change-Id: Ie3d8f0cec8d03e90f5be7ebf0e888cf8ba54cb14
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-23 08:02:00 +02:00
Jaroslaw Chodor
28464ab2d4
[N/N] compiler interface refactor - move to core
...
Change-Id: I029e3cd7a6adde9df97a0a7760ecbf5d25d8f501
2019-10-22 19:14:09 +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
Gibala
5f02a0730b
Remove OCL object from MemoryProperties 12/n
...
Remove MemoryProperties from Buffer and Image classes and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Ib582cddf759bf501fa7dbbea3257640eb9f431e9
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-22 14:26:21 +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
Gibala
d2576c95aa
Remove OCL object from MemoryProperties 11/n
...
Remove MemoryProperties from MemObj class and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Iff8633c49225b6a1f18103281825b36bf179701f
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-17 13:28:44 +02:00
Mateusz Jablonski
dccce00711
Remove redundant getters/setters from MockContext class
...
Change-Id: I4283c1b5805141bf573fd433190e08d853ec7275
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-16 12:29:34 +02:00
Artur Harasimiuk
68f8e2bade
fix member name to comply with rules
...
Change-Id: I63759164bbd17a5d68fd4ba6c7f0b9138bb511a3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-10-15 15:53:19 +02:00
Maciej Dziuban
100f888b85
Enable setting additional params for gen12lp image compression
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Change-Id: I6228413938930f36c120523818649cde1a717cf2
Related-To: NEO-3564
2019-10-11 07:25:38 +02:00
Gibala
2f9bfc7748
Remove OCL object from MemoryProperties 10/n
...
Add cl_mem_flags, cl_mem_flags_intel and wire it in mem_obj.
Refactor:
- validateMemoryPropertiesForImage
- validateExtraMemoryProperties
Related-To: NEO-3132
Change-Id: I90fac5fc00e24fc67346109a1fe6f269ef51e1e0
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-10-10 10:19:47 +02:00
Mateusz Jablonski
e0594d4716
Pass context to isSuitableForRenderCompression method
...
Related-To: NEO-3691
Change-Id: I3417e647f4219451922a4dc905726366b4448890
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-09 11:47:26 +02:00
Mrozek, Michal
2ca541a343
Revert "Allow for blit enqueue on read/write buffer operations"
...
This reverts commit dd75cdcf04
.
Change-Id: I0e653d25b190036cc0fdbc6765dd79a5646df3d8
2019-10-07 10:42:02 +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
Michal Mrozek
0f122fbcee
Remove simplified mocs logic.
...
Change-Id: I9fabfea94129fbc419ab0c9bca957cf7b9952c38
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-04 14:21:22 +02:00
Michal Mrozek
a0a821105d
Improve caching policies tests.
...
Change-Id: I57e6b8e5cb704d473a974daabfea05a1a482f1d6
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-03 17:06:57 +02:00