Commit Graph

2581 Commits

Author SHA1 Message Date
2ca886b45d Force integer divide emulation for TGLLP A-step
Related-To: NEO-3661

Change-Id: I305c3cfc14262a832aee749e66f3c426d3ca0343
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-12-20 10:11:41 +01:00
7ae7ec1dee Pass os interface to gmm helper's constructor
don't access global platform to obtain os interface
Related-To: NEO-3007

Change-Id: I166023a2c7a531393d6311bf991f31d03c634ca7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-20 00:51:32 +01:00
2ef557bf68 Add support for unrestricted size flag in the USM
Resolves: NEO-3960

Change-Id: Ie3557de70702b5aee53cc7c08ed602e580282979
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-12-19 15:46:34 +01:00
2c63a956ad Simplify PerfCounter initialization
Change-Id: Ia393088a80ac7b439efb5e40b70e593e3891cbc5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-19 14:25:45 +01:00
58fa5bd347 Add separate methods to Wddm interface to create monitor fence
Related-To: NEO-3639

Change-Id: Id1216def65c873028eb6a577fa30ad68ebec8f19
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-12-19 13:38:19 +01:00
cc46cdf46c Move PageTableManager to RootDeviceEnvironment
Related-To: NEO-2285
Change-Id: I77699b5f540b6ac5b73cf1830712a5591326b766
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2019-12-19 12:26:45 +01:00
8f5e9c8a3a Refactor PerfCounters initialization. Allow only 1 engine type at once
Change-Id: I14ba28adb1926b0e67e5b147b7391a7284617c29
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-19 11:50:31 +01:00
bfa1164675 Make unified memory allocations multistorage resources
Related-To: NEO-2998

Change-Id: I61e831568a6bbf6e751d7a2ef9c7171c633a128a
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-12-19 11:06:17 +01:00
2ad089a40b Create MAP_ALLOCATION as non-svm allocation when host ptr tracking is disabled.
Change-Id: I57c64706e798efa4b23e34b582be5a490d592e87
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-12-19 10:50:07 +01:00
8df7f4e519 Fix casting in GMM constructor.
Change-Id: Idd5b0388278afb65224a3941c8f156e4c137bfe0
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-12-19 09:25:08 +01:00
98c109ea2d Exposing downloadAllocations in base CSR
Exposing downloadAllocation allows usage from other clients
to perform memory coherency on per allocation basis.

Change-Id: I2314d543a8db534a526a3a844ce91e1bf930c4f4
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2019-12-18 23:40:26 +01:00
e02162d301 Enable shareable buffer support (1/N)
Define method to allocate memory in SKL using
DRM_IOCTL_I915_GEM_CREATE.

Change-Id: I3106c690eaa6ce089a21100a1839c4886580f9c0
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-12-18 22:13:14 +01:00
d11d3ad27e Move getDeviceIndex method to CommandStreamReceiverSimulatedCommonHw class
Related-To: NEO-3691
Change-Id: Ie425c035fcdd1467269ead131c4bd063c8b83e08
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-18 20:43:34 +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
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
58772f9d20 Use ftrL3IACoherency to set coherency support
Change-Id: I6cef76869ec90a5b00206a8f640bc77f16603c6f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-18 14:15:26 +01:00
93849d6984 Split updateImgInfoMethod
Change-Id: Ief0ecd7d0bcca77e02e946c0590674fc82ab3e69
2019-12-18 13:38:07 +01:00
c81f0e5c17 Add check for invalid host ptr when host ptr tracking is disabled.
Change-Id: I6aa8276c44b0bcb192d13b6a4dc36d55bd1eafb4
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-12-18 13:33:14 +01:00
3aa454a771 Move SysCalls to core
Related-To: NEO-3982
Change-Id: Ie4797e0c83891d689dd8903716bce9292702938d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-18 10:02:53 +01:00
2242b5dd17 ULT renaming: Get Size tests
Related-To: NEO-2236

Change-Id: I434803d0a39d3f2d7946dbb591c826501aeea9dd
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-12-18 09:50:53 +01:00
7b18a919e7 Refactor heaps
- Remove GENERAL_STATE
- Change allocation types
- IOH can be utilized as 4GB heap

Change-Id: I1c2a7bc284217a26d740b504bf92834d39f3ace2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-18 09:50:22 +01:00
18779537bb Linux: Obtain gpu adress space dynamically
Change-Id: I86796e5759d81b84a9dce7c6d57e5de7b68400ac
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-18 09:08:27 +01:00
74a38386a4 Switch on a support for multi-storage resources on Linux
Related-To: NEO-2493

Change-Id: Ieb96ed309d2e1abbe349c372e0b0aabb37dc9c7f
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-12-17 23:00:05 +01:00
8803b4cd4e Move grf size to HwInfo
Change-Id: I65ee879644573586d63092b487f8b5ea0cedf1e3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-12-17 17:27:21 +01:00
2b0db66c52 Add getter to query Wddm version
Related-To: NEO-3639

Change-Id: If066f954827982dcc388f3f0ea241dbc98e824ea
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-12-17 15:27:48 +01:00
73697b7ab4 Add debug flag to override gpu address space
Change-Id: Ifce09cf2b0f1935ce15f1a718cff36b0c44848ca
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-17 15:01:35 +01:00
559c67aa7c Execution Model heaps programming cleanup
Change-Id: I501357f5ad3f7308397364073691b4efd3e7260d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-17 14:12:50 +01:00
72d59aaff6 Unified memory sharing 9/n
Add support for interleaved images sharing

Change-Id: I98198c8e9870fca653d2d3e2c4e3d6c40cd2659d
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3771
2019-12-17 13:25:58 +01:00
9e5b66404d Change WDDM interface to submit command buffer
Related-To: NEO-3639

Change-Id: Iaad6199372cd374b61a0e288ce52b5cd0d3eef4f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-12-17 12:44:45 +01:00
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
3ff5deaae9 ULT renaming: Get Size Required Image tests
Related-To: NEO-2236

Change-Id: I8667f98d1dac3d41e8405fe90be713ab9276a169
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-12-17 12:00:10 +01:00
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
43db1bffed Remove duplicated ULT
Change-Id: I92c0f55f795935e361767c30555a3a5d24e4abfc
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-17 09:22:36 +01:00
d5ce5018b0 ULT renaming: Get Size Required Buffer tests
Related-To: NEO-2236

Change-Id: Ifd4059d309a76f160c6d47f78094fa401af19b6f
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-12-16 18:13:43 +01:00
a611e4b97d Fix Image patching
Change-Id: Ibd89ecf18b92ed20972352f2aa39121b4b811d81
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-16 17:41:20 +01:00
0643a89ff9 Move TGLLP specific workarounds to HwInfo
Related-To: NEO-3914

Change-Id: I115b28ea6e796dcc69b32105e39a68da0e5af7df
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-12-16 16:25:18 +01:00
37a690a185 Destroy WDDM monitor fence during OS Context cleanup
Change-Id: I654bc28891bcd1ec23fa18a07bef79a98edbce2e
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-12-16 14:05:07 +01:00
03252ee9fe Add support for write combined in unified memory
Related-To: NEO-3374
Change-Id: I610ad2d71b056f2bc5b8f4bda72e7f08a45cf59d
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-12-16 08:59:40 +01:00
2c84c143e6 Add program HDC pipeline flush prior to SBA
Change-Id: If1223f7dbc07b6a5275a642fac27a44b87a9f97c
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3974
2019-12-16 08:42:45 +01:00
e43e06192f Do not require RenderCompressed or MediaCompressed flags for compression
Change-Id: I19782bf16b94c34a0af6de62203e2a1b5c25a359
Related-To: NEO-3771
2019-12-16 07:53:21 +01:00
0aea86d001 Accept CL_MEM_FORCE_LINEAR_STORAGE_INTEL token
Change-Id: I3574854c133cdab427fd0389ecc464c4e97c7328
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-13 16:10:15 +01:00
5685b285f3 Extract logging logic from DebugSettingsManager
Change-Id: I0ccc68216c1c3bb23d0389bec17124e09e4f98e1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-13 15:34:45 +01:00
d135944ae0 Improving reporting VME extensions
Change-Id: Ia7ed2d1587603d8cfed391d8d5f7c1cd1faa1c21
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
Related-To: NEO-4047
2019-12-13 15:34:13 +01:00
dded0aa3bc Remove unnecessary program of default value for allocation flags
According to regression, remove setting value
for CL_MEM_ALLOC_DEFAULT_INTEL in MemoryPropertiesFlags

Related-To: NEO-4053
Change-Id: I1761bbf2ed8b977b7e96cebd38040c3977998b63
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-12-13 14:33:32 +01:00
bb248d6742 Rename files with the same name
Change-Id: I46144a52d755e03587b3b1e41d1883ddf4230889
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-13 14:17:31 +01:00
9f5152e823 Move linux files to core
memory_info
engine_info
os_inc

Related-To: NEO-3982
Change-Id: I52ef357f790497fc6efcd590db277ce96ec1e579
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-13 09:23:33 +01:00
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
c7755c2c48 Move files to core
engine_node_helper
kmdaf_listener
wddm_engine_mapper
windows_defs

Related-To: NEO-3982
Change-Id: Ia39342059bdeafa97d17f286c167138e5c40553c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-11 17:39:14 +01:00
495f0e8530 Remove not needed header inclusions
use full path when include header

Change-Id: I0cae6300b86173aea0f4267282e68aa5107fc1e2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-11 16:44:12 +01:00
ab2134ae8f Change subDeviceIndex to subDevicesBitfield in allocation properties
Related-To: NEO-3691
Change-Id: I11d235107bf9b4cee75b910c114795b5df76d9c7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-11 15:15:04 +01:00