Commit Graph

2362 Commits

Author SHA1 Message Date
14c013f53b Dont create multiple page table managers within single root device
Resolves: NEO-4090
Change-Id: I148b9a5a2755edbcd15ead5f4a0d5d799ee815e1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-27 04:36:51 -08:00
b5dd3abf85 Fix for the IOCTL call to disable persistence on given context
Change-Id: I6af1ddec3a73300d788c2c59f9f1f272a68924d6
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4048
2019-12-27 09:52:09 +01:00
142d1f8089 Prevent nullptr dereference in enqueue svm free
Change-Id: I89ce01be377869c482f68ac19b626baa81f6d0f8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-27 09:36:00 +01:00
07cacd4e70 Add new IOCTL call to disable persistence on given context
Change-Id: Ia91c8240fe2fac40c067e91ce70867edb2263463
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4048
2019-12-23 16:18:58 +01:00
6ba76147d0 Pass proper handle to initContextAuxTableRegister function
Resolves: NEO-4082, NEO-4080, NEO-4079
Change-Id: If8d0b69126d6442e8a9a102cd21f78944f8551e9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-23 14:19:54 +01:00
eac48002ab Calculate a maxOsContextCount variable
Change-Id: I7b2f7733be74abf4ae299396d616b249b67de58e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-12-23 12:24:40 +01:00
40bfc05d15 Fix potential memory leak in getDumpSurfaceInfo
Change-Id: Ibcf4faeefd31231b964c77fe95ef8ef969e5c741
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-23 11:50:45 +01:00
6f7d83f7ab Check Windows OsContext is properly initialized
Related-To: NEO-3639

Change-Id: I9442402a109174bbf9345d8451dba8e7ddb8c1d9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-12-20 12:25:43 +01:00
8585170f05 Cleanup auto generated headers
Change-Id: Ic4d55c6f45c79dca6f11d75066aaa9ea0863bd21
2019-12-20 10:32:37 +01:00
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
ccf431e4ce Remove not needed headers from memory manager
Change-Id: Ic2d900bc4cd44790229b6de40bbd5b0aaaf5f1d0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-20 00:26:12 +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
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
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
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
d60b121735 Remove problems with null pointers in enqueue files
Change-Id: I751ea4a134deac5a2b87ea258b76f2dfb2c0900d
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-12-17 09:19:41 +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
a33495a3de Refactor redescribe() method
Change-Id: I52aaec0e48fa44a79823b3ff44c07b1d5ce1e4c0
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-12-16 08:11:13 +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
b78c9ecb39 moving auto-generated files to dedicated folders
Related-To: NEO-126
Change-Id: I18e3ebac769fb5a8866392eb627625cace6597dd
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-12-13 21:44:20 +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