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
Dunajski, Bartosz
46b5513028
Initial Blit aux translation support
...
Change-Id: I67fb71be57cff28a3736d5ffb9e1c39b2498feb8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-11-16 11:42:10 +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
4b2a8e99d8
Add clGetExecutionInfoIntel API
...
This API allows querying for execution related information.
CL_EXECUTION_INFO_MAX_WORKGROUP_COUNT_INTEL parameter allows to query for
maximal work group count that is possible to run concurrently on the device.
Related-To: NEO-2712
Change-Id: I4e6b4c80aeb06ff966fb543c0a7f05ed54416dab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-11-13 12:09:40 +01:00
Klein, Yaniv
340e80bb1a
added support for 2 stages write memory of aub_manager
...
1. write ppgtt pages only by calling write memory with pagesOnly set to true
2. write the actual memory pages by calling writePhysicalMemoryPages
Change-Id: Id3766704e4b8f84f77336f78da6b9270bfd44b70
2019-11-13 11:45:08 +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
Kamil Kopryk
011701ee5e
Fix for forceStateless check
...
Change-Id: Ic1d4787c3d8c7bdd70f13451d703bbc9958af7c7
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3314
2019-11-07 08:28:51 +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
Jobczyk, Lukasz
3fc748c0f9
Use newer GMM API
...
Related-To: NEO-3832
Change-Id: I9c97a20a6a611118eb14348a8c6960115a20777d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-05 08:30:09 +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
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
542da0ecf7
Support Gmm::GetMipTailStartLodSurfaceState()
...
Change-Id: I804061066c1a5c46bd3366ada525511885b2586f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-10-28 08:56:48 +01: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
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
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
Jaroslaw Chodor
3181939892
[3/N] compiler interface refactor - cache
...
Change-Id: Iac1f36f7f505b100e65c2b44dff7f1689f99bfe5
2019-10-21 23:29:49 +02:00
Mateusz Jablonski
b93817fe7c
Use DeviceHelper to calculate number of sub devices
...
Related-To: NEO-3691
Change-Id: I390b7919fe8960b74cf290923f5daf128d824674
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-21 15:40:18 +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
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
Jaroslaw Chodor
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
Chodor, Jaroslaw
856e5c6aaf
[1/N] compiler interface refactor
...
Decouple compiler interface from Program object
Change-Id: Ibd63c6eee01d85527318ccad52e52f5487d3402e
2019-10-16 16:17:13 +02:00
Mateusz Jablonski
539d688877
ULT: connect context with command queue
...
Related-To: NEO-3691
Change-Id: I1bb574f40614cd263f87f0538549769f3d10652f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-16 14:33:50 +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
Mateusz Jablonski
79e7a51908
CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
...
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR
Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-14 12:18:50 +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
Mateusz Jablonski
e4ed7e7f12
CMake: add IGDRCL_SOURCE_DIR to prefixes in create_project_source_tree macro
...
Change-Id: I0fceeab0b42fe58ec92fbaaa4b4704c0b2344647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-10 16:08:21 +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
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
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
Jobczyk, Lukasz
627c359798
Move Host Ptr Manager to the core dir
...
Change-Id: I48c521acdcd4b3a78eb539026af5ffa840cf2181
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-30 19:07:09 +02:00
Jobczyk, Lukasz
3bd4baeba3
Move a unified memory manager to the core dir
...
Related-To: NEO-3677
Change-Id: Ib60dea2bcaaf5feea97d61cb9f54baee4c6b4b64
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-27 10:46:35 +02:00
Dunajski, Bartosz
a6ecd1f4f0
Initialize DeviceCaps in MockDevice
...
Change-Id: I2096462f6cd5e9c215b6166871ad5a2a31a36a2f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-26 10:51:55 +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
Piotr Fusik
02e1677cf0
DrmCommandStreamEnhancedTest for different families.
...
Related-To: NEO-3008
Change-Id: I04ef29ff868a0b2dda50cf7a6a7c660149b5ec6a
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-09-19 12:23:39 +02:00
Kamil Diedrich
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Mateusz Jablonski
dc949f6d18
Setup sub device's os context based on sub device id
...
Move types defined by using to separated header file
Related-To: NEO-3691
Change-Id: I71dfca0644b7022c4a381fbe396d0e32ca7d1ce5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-17 14:04:26 +02:00
Piotr Fusik
578a03e417
Remove redundant test code.
...
Related-To: NEO-3008
Change-Id: Ibd52700d6eef01136a3df8ce97a6e4d4d741495e
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-09-17 13:36:19 +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
Piotr Fusik
f18b3bb5f5
Clean up TestedDrmCommandStreamReceiver.
...
Change-Id: I566bda0e8c942c3a458e24ad1ee23845f4a5c1ba
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-09-16 17:44:01 +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