Commit Graph

4040 Commits

Author SHA1 Message Date
Jobczyk, Lukasz 9d2b25c69b Use CCS if available for internal usage
Related-To: NEO-4231

Change-Id: Ia74b32f50cacc970f247ec3679fd7cee54d1847f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-11 18:51:26 +01:00
Maciej Plewka bf1680ed00 Use encoder copySamplerState in sendIndirectState
Change-Id: Iab55e72d870f3bf93ff9bfaff519c9dc89131463
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-11 18:33:14 +01:00
Michal Mrozek 545b79cf5f Add blocking version of SVM free.
- Allows to synchronize prior to destruction.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>

Change-Id: I9a3a8a2f87a272f45c4921d8e77c705455576ce0
2020-02-11 18:24:08 +01:00
Zbigniew Zdanowicz 023d49b77c Add new to EncodeSempahore method to program semaphore into command buffer
Change-Id: If23c370f999c75cbc315bc6a328372ec2cc960e2
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-02-11 18:08:34 +01:00
Adam Cetnerowski b31ff83522 ULT renaming: D3D tests
Related-To: NEO-2236

Change-Id: Iecd5163d8866d031b35a7a4e1c4551f89611da8c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-11 17:58:48 +01:00
Aravind Gopalakrishnan 2b0d85d0cd Allow to create command container with custom maxNumAggregateIdds
Allows flexibility to create command containers that do not
require the functionality to aggregate IDDs

Change-Id: I1d01a8280665acb45ddad87c97d48231db87281a
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-02-11 17:53:14 +01:00
ocldev 17ccb796df igc revision update
Change-Id: Ia8841c7f38de32518d863ecd26d263d317fd02be
2020-02-11 12:12:24 +01:00
Jobczyk, Lukasz 79fd342ad8 Move some device initialization to createDeviceImpl
Change-Id: I10cf5fcc1cd28d4a0272c34637dc5bf187f0c137
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-11 11:33:07 +01:00
Konstanty Misiak 6369470b3e Added const qualifiers to GMMHelper's getMOCS
Change-Id: I536837d36c0b8a8ef184af2b95f9832171c5b85c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-02-11 11:13:36 +01:00
Sebastian Sanchez f936b3e1cd Fix calculation in encodeGreaterThanPredicate()
encodeGreaterThanPredicate() computes *firstOperand > secondOperand and
stores the result in MI_PREDICATE_RESULT where firstOperand is an
device memory address.

To calculate the "greater than" operation in the device,
(secondOperand - *firstOperand) needs to be used, and if the carry flag
register is set, then (*firstOperand) is greater than secondOperand.

The order of operands in the subtraction (secondOperand - *firstOperand)
in encodeGreaterThanPredicate() is incorrect. Transpose the
operands.

Change-Id: Ie7fee32af338a1a3948abc78cf8332e0be8595ac
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-11 10:58:06 +01:00
Sebastian Sanchez e26e34e70d Store result from ALU SubCarry in a 3rd register
encodeAluSubStoreCarry() stores the result of the operation
in the register used for the first operand. This causes the
result register to be lost in subsequent encodeAluSubStoreCarry()
calls.

Change-Id: I4c972fcf85ef3876622ce6be677534feaf21ef95
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-11 10:50:11 +01:00
Milczarek, Slawomir a1753053ed Blit command size estimates with additional size for synchronization
Related-To: NEO-4227

Change-Id: Id6935bdecee7d3c395c6ae1917706268acb26932
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-11 10:13:04 +01:00
Maciej Plewka df59101dae Create base class for debugger in core
Resolves: NEO-4176

Change-Id: Iba48676fe145538c8213d21d514be38c702525c9
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-11 08:38:48 +01:00
Jaroslaw Chodor 46d0ae785b Adding info about ocloc's multidevice compilation
Related-To: NEO-3920
Change-Id: Ifa5805f5be6add092e70a39e35892600de7d26a5
2020-02-10 22:31:24 +01:00
Jaroslaw Chodor 046cb4c28b Adding AR support to ocloc
Related-To: NEO-3920
Change-Id: I6709d48528ab7d18fdd53c3396ff13551cce207b
2020-02-10 22:25:04 +01:00
Zbigniew Zdanowicz 6fe4382b31 Add cache flush operation to PipeControlHelper
Change-Id: Idaf8d88479571a9eb3c62e1b9659267d6274f946
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-02-10 18:39:02 +01:00
Mrozek, Michal 0ec8bcd0ff Revert "Fix ioctl call for context persistence change"
This reverts commit 916f867685.

Change-Id: I7fd82f0748d02f65de13074ba0bf82187428dcbf
2020-02-10 17:51:37 +01:00
Mateusz Jablonski 097c55331e Update internal
Change-Id: If66aa71a6dff680a9e6dd4a01927275f67d95c25
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 17:29:32 +01:00
Piotr Zdunowski 2fb18cac9a Report additional subgroups extensions.
Resolves: NEO-3929

Change-Id: I5f0cea4059583a494b91f9b2ff1e03eabd504bf0
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-02-10 17:09:45 +01:00
Mateusz Jablonski 77e1ec7818 Setup hardware info in Wddm::init
Related-To: NEO-3691
Change-Id: I7337b3c5213f10ccae49a3f34e31544decf62f8c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 17:01:31 +01:00
Maciej Dziuban 8f0bdf95ed Disable compression for redescribable formats
Change-Id: I7de5e0124ea54131bb7ea066fdf94f3d03960463
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3580
2020-02-10 16:35:02 +01:00
Jablonski, Mateusz 807586aafd Linux: discover devices in DeviceFactory::getDevices
Related-To: NEO-4208
Change-Id: Ia4405745d1ae22f03ce344a92f2b664ef6e1b957
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-10 15:53:37 +01:00
Jobczyk, Lukasz 52fda7e81e Disable a64WA when compile scheduler kernel
Resolves: NEO-4203

Change-Id: I786d4d90d1a6392c3a7e2f12991312b3cfe8bf6d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-10 15:37:00 +01:00
Dunajski, Bartosz ec4619c21c Manifest update
Change-Id: I8b3a857c41d301f80db7df8c86467ce833edfe5f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-10 15:23:53 +01:00
Michal Mrozek d2df43d169 Fix a bug with cpu copy and simulation mode.
- if buffer was used on GPU it would be marked as non-updateable from CPU
- if we do CPU data transfer from the host, we however need to deliver data
to the buffer
- in such scenario mark such buffer for update in subsequent submissions.

Change-Id: Id3813c4193aa18917de117c61303fd6f62745abb
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-10 15:02:54 +01:00
Mateusz Jablonski e0dbb03b90 Update internal
Change-Id: Ib93acd05de03661d718f823e6e078b336ebf731f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 14:31:21 +01:00
ocldev 56f795e3b8 dependencies update
Change-Id: I7390a4c1885d85e79bff10b8edac9d7e7ba9fd70
2020-02-10 13:45:19 +01:00
Milczarek, Slawomir ac64483c4e Make global fence allocation resident on blit buffer
Related-To: NEO-2994

Change-Id: I0fe5322de0918bd7c6704188591c1a7733039ddd
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-10 10:56:47 +01:00
Kamil Kopryk 916f867685 Fix ioctl call for context persistence change
Change-Id: I2b6048b812abdc00f07d549423901a2b0e85f7ee
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-02-10 10:36:17 +01:00
Pawel Wilma d5a1eee8fa Do not rely on default engine while programming command buffers
Change-Id: Ib341695bf0449a1236b29411e41ab88a5a1e8b94
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-02-10 10:26:38 +01:00
Mateusz Jablonski c739500047 Pass execution environment to Platform
Related-To: NEO-4208
Change-Id: Iec8c6bedfd4a3fce160651768fb45f74cf3a36e8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 10:08:55 +01:00
Mateusz Jablonski b5535ec547 Windows: discover devices in DeviceFactory::getDevices
Related-To: NEO-4208

Change-Id: I19a969066b76770a194164bcdf39c7b1ac74c06d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 09:59:25 +01:00
Pawel Cieslak 08ca548f1a Infra update.
Change-Id: I4c2ee28626c69af98632966d794ca9233a0f3e47
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-02-10 09:03:28 +01:00
Mateusz Jablonski f24b48bc58 Remove constexpr keyword from HWDeviceId::getFileDescriptor method
Change-Id: I9426c211edfbbca48e0b6c55886f79269e60232f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 07:56:54 +01:00
Jaroslaw Chodor 7c5af49e05 Adding support for AR input binary
Related-To: NEO-3920
Change-Id: If11318fd01920016368f4c55aa582e5b09b77c5d
2020-02-09 22:27:13 +01:00
Jaroslaw Chodor c692502f04 Adding AR encoder/decoder
Related-To: NEO-3920
Change-Id: Ieb35f9ed2853f9f16cb4ab9b3a31959f88bcc2b9
2020-02-09 18:35:56 +01:00
kamdiedrich f3fc466f5b Move memory_manager to core folder
Change-Id: I8d84d6982fea3cd785f1e15af0ee7fa361258a23
2020-02-08 15:24:13 +01:00
Jaroslaw Chodor a53e26342a Program refactor
* Decouple binary program handling from Program object
* Add binary formats multiplexer
* Improve Elf format support

Change-Id: Ic22aff40173532e14825d70b82ec53fcc5fa9fdf
2020-02-08 13:03:29 +01:00
Filip Hazubski cb964f9e72 Update PipeControlHelper
Related-To: NEO-4227

Change-Id: I6565e8e5ea0899ec3416450b14d79250e10c76d7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-02-07 13:51:30 -08:00
Zbigniew Zdanowicz 888d2ddeae Unify preemption programming in PreemptionHelper
Change-Id: I70a02ed963c809f1998a56c94169992b1a611450
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-02-07 17:31:36 +01:00
ocldev 9a7dbfe4f1 igc revision update
Change-Id: Ia5f056e667ba849dac54fb1c9f65237164bba3fc
2020-02-07 16:18:10 +01:00
Pawel Cieslak 7c868238a6 Update internal.
Change-Id: I6b9358e71d82477cfd4d2c91a909685cd79fe63f
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-02-07 15:19:32 +01:00
Pawel Cieslak 389734542c Set_copyright, --check option won't edit files.
Change-Id: Ia57b7998d872cf187cf90d0f2f1a01bcd2cf8ea0
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-02-07 14:54:57 +01:00
Filip Hazubski d023d9ff02 Move core device objects to core
Change-Id: Iab6f00ea5cf2595cebc34c18286a6900b90aef92
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-02-07 14:35:14 +01:00
Jablonski, Mateusz 018e585eb1 Extract HwDeviceId from Drm
Related-To: NEO-4208
Change-Id: I1678ad92cab2a369769b93da69dc46a1d515f261
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-07 12:11:40 +01:00
Milczarek, Slawomir 8560b2b262 Create dedicated allocation for global fence purposes
Related-To: NEO-3216

Change-Id: I0483a99ea1095c7a10b1318f51569e479386cac4
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-07 10:50:47 +01:00
Koska 004ea3946d Correct image format reporting for OCL 1.2
Change-Id: Ia2160248d1cda6c13219598f8962aa3372885b9a
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-3981
2020-02-07 10:34:29 +01:00
Mateusz Jablonski 5f4f1eb55a Add helper function to detect if hw mode is selected
Related-To: NEO-4208
Change-Id: Iac34e9e9cea36d7ab354d7d5b5c716e8ea3a483d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-07 10:22:51 +01:00
Andrzej Swierczynski 2343cd72c3 Enable E2E compression on linux
Enable feature table and capability table flags for tgllp on linux

Related-To: NEO-2285

Change-Id: Ief6b806bc1d13afbb494c6276d67a8ceeac7209f
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-02-07 10:17:51 +01:00
Mateusz Hoppe c75721fba9 Attach core files to core library
Change-Id: I12a33aa1bc7784a49367c6f06361104112971aa6
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-06 17:32:41 +01:00