Commit Graph

67 Commits

Author SHA1 Message Date
31c8451adc Move programinng image surface state to core folder [4/n]
Change-Id: I66ff8deac365f2183e4b780f3e1927e80c5abb92
2020-02-15 20:34:55 +01:00
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
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
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
66754c4849 Remove platformDevices from runtime
Related-To: NEO-4207

Change-Id: I70781b44e7d14360a581808049baf8b61fd1b4e4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-05 09:59:13 +01:00
0fff56b656 Move wddm files to core folder
Change-Id: I28cb7ee6f63275e5b44697e22259023354b9311e
2020-01-31 20:10:01 +01:00
8fd1e8c511 change config storage from string to uint
Change-Id: If206fe823541fb2a64f0a555934788eef5a05da7
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-01-31 11:14:05 +01:00
918cae0188 Device ID cleanup
Change-Id: I257c56bc4f4ac53759a4da0724eea33c66012aa5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-01-30 09:43:36 +01:00
fd8c5ba67f Fix unit test configurations
Change-Id: Ia2a2ac7d67b5836ad2da8db747f06c71d7a71636
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-01-27 16:37:13 +01:00
3c89cfc753 Move os_interface files to core
Change-Id: Ie708a944130884248499091854ebc483953fa828
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-22 14:50:51 +01:00
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
8502df41aa Add JSL device IDs
Change-Id: I69f31d26dfcf0d5d7b9e72969ed720775b702e8f
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
Related-To: NEO-3770
2020-01-15 21:27:02 +01:00
05cf673279 Move files to core and cleanup headers
gmm_callbacks
cleanup headers in wddm

Change-Id: Idc64ed7a6df1afd46aea08493c33cca12b62b861
2020-01-15 15:07:10 +01:00
d84b7a46da Device ID cleanup
Change-Id: I9f402905a51d89b58f695bcad5ad686637f2ace5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-01-13 16:01:59 +01:00
804efc644c Move files enabling platform support in ULTs to core
Change-Id: Ic9e7eb7ce7ada98e3c14ca4c951e0a7e5184c9ec
Signed-off-by: Hinz <daria.hinz@intel.com>
2020-01-08 19:39:48 +01:00
c858a2b79f Refactor configuring device address space logic:
1. call GmmSetDeviceInfo
2. call ConfigureDeviceAddressSpace
3. obtain min address - only for gen12lp platforms

remove getConfigureAddressSpaceMode method

Resolves: NEO-4076

Change-Id: Ib72789c834df1307a3d105131943dcf9a54afc03
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-01-07 11:57:58 +01:00
350eb83f02 Move helpers files to core folder
Change-Id: I7cd2f4afd86adc5296103f61653c6d760b4e80f5
2019-12-31 10:39:21 +01:00
be7606388c Make pointer to notifyAubCapture function a non-static variable
move gmm callbacks to windows subdirectory

Resolves: NEO-3365
Change-Id: I073fef4b527fb5bd0d829eb672bfd71176b0d317
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-30 13:38:53 +01:00
ff30a66624 Use correct macros for enabling tests
Change-Id: I51f51464918a487001200337b97a542ab4e65f1a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-18 15:38:51 +01:00
9aa563ba2b Use MockKernelWithInternals with base initalization
to test set of default thread arbitration policy

Change-Id: Ife60debf9dd319d5809855e983a71d7c4d128ae2
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-12-11 12:38:18 +01:00
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
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
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
54f65c0243 Move headers to core
- hw_info
- hw_cmds
- kmd_notify_properties
- completion_stamp
- bxml_generator_glue

Related-To: NEO-3982
Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-02 14:20:45 +01:00
43dd16e1b8 Add unit tests to check value shift
Related-To: NEO-3962
Change-Id: Ia3ba560201dd495a22742ef9fef767d6aa4c35f9
Signed-off-by: Gibala <krzysztof.gibala@intel.com>
2019-11-29 15:23:34 +01:00
6584f58902 Dynamic query of EUCount and SubSliceCount.
Related-To: NEO-3841

Change-Id: I7b92314bb8465233909fd1dddeef4ae1469008c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-20 12:28:04 +01:00
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
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
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
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
bfed9d04cb Enable 64 atomics on ICL and TGL
Change-Id: I2bc795ec874cb5e450dbd1d67dc599c8107cb73b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-31 10:42:20 +01:00
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
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
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
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
053896c525 Move Preamble tests to core
Change-Id: I57a53ee68022e3f6d7558a56e0001c8126e135a9
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-09 16:29:17 +02:00
27c9dfcba9 Add ICL device ID
Change-Id: I2dbbb6813ee3bb58a51903d97986d81a50608105
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-10-04 09:14:27 +02:00
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
41407535f3 Remove capabilityTable flag override
Change-Id: I5ca70b780d7e6217dc59a70be12ccda87f52df95
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-09-30 19:19:54 +02:00
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
ae4425351f Preamble Helper Refactor
Change-Id: Iacd05dcb6d9047fc2814895fa87d1cd9be6df446
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-09-13 08:29:03 +02:00
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
0cd93d6d7d Disable 64 bit integer atomics on icllp.
Change-Id: If24c40414d10a2bb9ec6e0d5fa3296a873a0a062
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-09-05 10:17:14 +02:00
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
f86bbd99d2 Include hw_cmds for specific gen when possible
Change-Id: I3fc55321f92d02419c4c04e6d1bc28b09b306c0f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-08-24 11:09:26 +02:00
026f06cc50 Add function getPitchAlignmentForImage
Related-To: NEO-3207
Change-Id: I39ef8624ad7172a3e2acf9072e1e3d5d1b6fcc34
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-08-23 00:59:13 +02:00
3507f027d4 Add per platform toggle for integer 64bit atomic extensions
Related-To: NEO-3649

Change-Id: Ic97566a91d50911c006e24a23d448281a8d2df64
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com>
2019-08-22 15:24:13 +02:00
a103ce177e Add support for testing if L3 is configurable
Change-Id: I639e28171d0009566d7a2f04cac679d14f0340b1
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2019-08-21 11:40:42 -07:00
51888bec7e Whitelisted registers cleanup
Change-Id: Ifa704f4bd7c4f0bab3fc8565103af6da07a42ba7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-08-05 10:31:16 +02:00
1bff5a7bcb Dynamically expose VME extensions
Change-Id: Ia562361aeea70020cd99f813ea325fa88ca37006
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com>
Related-To: NEO-3416
2019-07-24 16:07:13 +02:00