Commit Graph

299 Commits

Author SHA1 Message Date
5a3afcf535 Change atoi to atoll to support 64 bit values
Change-Id: I82d5843c644b2c1e97c3772fd9cc120fb7dd29e8
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-04-14 14:43:59 +02:00
51f0144cc5 New interface to program additional Walker fields
Change-Id: Ic4fe3fcea4157fd789fa93f7044972f28d87f499
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-14 13:06:36 +02:00
52deab65e0 Moved unit test for getMaxGpuFrequency on Linux to shared code
Related-To: NEO-4544

Change-Id: I5319e9485bbaa973f73bc11dd07effa184f27e64
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-04-14 12:41:54 +02:00
4cc605db20 ULT renaming: Memory Manager tests
Related-To: NEO-2236

Change-Id: I71b03b089a2a51c375c790eee9864adaa5753cb1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-14 12:20:59 +02:00
71d712bfba Test boolean registry keys are evaluated as dwords
Related-To: NEO-4338

Change-Id: I95bb3ed60efbb5ff762e23c425b00ebbac70451c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-14 11:29:09 +02:00
e8085c5740 Stop building Neo under Ubuntu 16.04
- IGC stopped to support Ubuntu 16.04

Change-Id: I45a4993c7ffa2633ec6060b924e4a70ba791347b
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-14 01:52:27 +02:00
6e07281ff4 Don't allow for creating context with multiple root devices
Related-To: NEO-3691
Change-Id: Ica7ec1681b948ff8f9f69eeb1e11cdee64f57e50
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-10 15:57:21 +02:00
87dccc2c07 Remove redundant debug flag.
- We now have ForceSystemMemoryPlacement to achieve the same.

Change-Id: I84512b0f8b070edbdbd54fdce46a2958afb8ef41
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-04-10 11:37:01 +02:00
0ffa1f4314 ULT renaming: Pointer Math tests
Related-To: NEO-2236

Change-Id: I9797cd0387e80f4797d4111ef35ef3da71236bc4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-10 09:27:02 +02:00
e5072225a5 Pass optimization disable option based on debugger query
Related-To: NEO-4404

Change-Id: Ie6de202dc8e818a540983b8e5fa6c789b7c15b98
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-09 19:02:02 +02:00
5e98368dad Remove RMW access patterns from functions programming on gfx memory
Related-To: NEO-4338

Change-Id: I8fe555525f937e75c5439702b328c734af9af1f9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-09 18:49:30 +02:00
719b22ee11 Read max frequency using pci path
Related-To: NEO-4359
Change-Id: I2dc106cc2d7bc9087fb3925051969fa2a245e6f5
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-04-09 18:31:13 +02:00
851fe8ee07 ULT renaming: HW Commands Helper tests
Related-To: NEO-2236

Change-Id: If9b69316adcc2a3a32dd8872498caa7a8026d2e1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-09 15:13:10 +02:00
86f5555f67 Fill OsInterface in Wddm::init
Change-Id: I0a4645040b06870007a20b46dbea562bf6024ad3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-09 14:49:24 +02:00
259cdae5cd Reduce exported symbols on Windows in release
Related-To: NEO-4142

Change-Id: I589e1d560b3e96001c816c3a5439cfd3e050f1f5
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-04-09 14:27:54 +02:00
0e00277663 Linux: open devices from /dev/dri/by-path
Related-To: NEO-3691, NEO-4359
Change-Id: I0d838880fe44174fb172b1aa77d91580ec89d27b
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-04-09 13:46:39 +02:00
42bf1d7e61 Limit CPU copy in isReadWriteOnCpuAllowed
Change-Id: I4b0f7dde7afdb4d6dbf39874b8313cac0f6e5de6
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-04-09 12:30:12 +02:00
5146503dcf Add typed MockContexts
Change-Id: I51e52e54b397ccd7afbbb3c21c9b2f0bbbc3704f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-09 10:31:48 +02:00
2c25777f3c DispatchKernelEncoder refactor
Replacing parts of DispatchKernelEncoder with KernelDescriptor

Change-Id: I1c780b04a2d3d1de0fb75d5413a0dde8b41bbe07
2020-04-08 16:19:21 +02:00
ea56bde3fb Use preferredGpuVirtualAddress for nonSVM 32 bit applications
Change-Id: Ic8ee097138b860f64d752eb1bc54754f36a97b1d
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-4218
2020-04-08 14:44:06 +02:00
7b9767636b Add Blitter support for CopyBufferRect
Related-To: NEO-4013
Change-Id: Id0d114a89b2b42a6385cca5afaa162e577c10ffb
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-04-08 14:03:32 +02:00
27f688ea83 Set proper SliceCount on Gen9
Change-Id: I8bf1078aeb3068e166bf7ecd6e06155edc08d172
2020-04-08 13:44:34 +02:00
b1ef2f70d6 ULT renaming: Helper tests
Related-To: NEO-2236

Change-Id: I8c40794378627097ed4f58ba0dfbe67968910a1a
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-08 10:14:14 +02:00
1a35298fdb Create OsInterface before calling Wddm::init
Related-To: NEO-3691
Change-Id: I33690e4297b6ddd3195c272de00f0c946c56380b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-07 20:12:36 +02:00
23dd6b95ec Require system memory for command buffers.
- Except when they ask for multiOsContext capabilities.

Change-Id: I4589bd48cd6dc7a582c7f3bb7d481874ce576d22
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-04-07 13:53:19 +02:00
1544f23281 Silence clang-tidy warnings.
Change-Id: Ia71a126fefa598d4fa0e2b2fe51fb7d8574f0b68
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-04-07 11:27:09 +02:00
495bc4024e Remove unnecessary platform() uses from gmm tests
Related-To: NEO-4207

Change-Id: I047726edd7f0847510b350ac514072f25ff1b8b3
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-04-07 10:49:41 +02:00
7b5778c048 Add debug flag to force system memory placement.
-remove not needed Report64BitIdentifier
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>

Change-Id: Ic6ae96e2a575a088742f3b08eb40c5b400f93088
2020-04-07 09:53:00 +02:00
9311a9763d ULT renaming: Flush Stamp tests
Related-To: NEO-2236

Change-Id: I9849a000486e5001e98fe4a44f4ca7fa40353f9c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-07 09:09:25 +02:00
6529c9bdfb doc: update information about binary packages
Change-Id: Ib930a2c2910b61ae05d8b0a3b7e859a65f3f4e4b
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-07 08:52:15 +02:00
bd247d725b AppendLaunchKernel tests
RelatedTo: NEO-4515

Change-Id: I1f719ea1f60f313fba44d49f84fe2caf6ea4e5c4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-06 15:46:04 +02:00
884ae6fbab remove MT tests from igdrcl_tests target
these tests are executed as part of igdrcl_mt_tests

Change-Id: I907bbe99b1283962db2b5ad5fae1e4c848683ff1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-04-06 15:25:55 +02:00
e92d297e99 ULT renaming: Get Info tests
Related-To: NEO-2236

Change-Id: I356adb82619733d165d515ab23ac16500298cd54
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-06 14:35:10 +02:00
91b2758f05 Add UltDeviceFactory
Change-Id: Ib35bb6132f69e887fad3db282d7c0206d35515b7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 20:16:13 +02:00
f2c11eb870 Update sub device internal ref counts
Change-Id: I82eea99bbb3d1edc32d09c0b703dee30b62f6b76
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 15:10:11 +02:00
4786f1a6c2 Refactor HardwareCommandsHelper
Change-Id: I15dcbf445565228a0e520b25265a1752ead70a28
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 12:53:19 +02:00
52704236bd Disable cl_khr_subgroups extension on gen12.
Resolves: NEO-3622

Change-Id: Idab55e5fb6a51ea0a08714f447bb9fce85f1dbcd
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-04-03 11:27:24 +02:00
3e881aed57 Rename hardware_commands_helper files to align with naming convention
Change-Id: I4a417cab5f14608228d2e4f0db456d0dad69524c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 11:07:56 +02:00
1b884e3ea9 Add Wddm residency logging to upper layers
Related-To: NEO-4338

Change-Id: Ib36f4c8da5a2ea9d4f81063faa718a29fbc4b8d8
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-03 09:48:38 +02:00
43dba9de4a Move MockDevice to shared
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 08:23:06 +02:00
a52aaca401 Move glDllHelper out of windows directory and rename
Change-Id: I87a4ee3108465efa9b73f43f31dec06f4042cbf8
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-04-03 07:55:25 +02:00
7fc44aa60e Support for clLink with spec constants
Resolves: NEO-4537

Change-Id: Ic9a9ea8a7d4a83e6a308735b653bdd334cb88bf9
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-04-03 00:21:33 +02:00
f096d71a75 Add diagnostic mode to direct submission
Related-To: NEO-4338

Change-Id: Ibcdc1b6a1762827337e4ff5364a972702130195a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-02 17:50:59 +02:00
bf702c274d Rename duplicated filenames
Change-Id: Idccfc149dda13a9932699c7c376b11d8bc1d4198
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-02 17:39:47 +02:00
07dc91df72 Use proper FamilyType template argument
Change-Id: I0f2d132d0e0c9831e1c13266e5131db6123f473d
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-04-02 16:10:11 +02:00
d0527e1049 Rename memory_constants.h to constants.h
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 14:19:39 +02:00
4d80f21dac Reuse mapAllocation for memory transfer during buffer creation
Change-Id: Idcdabb4a9c61b5cbf69164c51ca1690a64665a26
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-04-02 14:07:20 +02:00
385482e3fc Move VariableBackup to shared
Change-Id: Ib7e316f8d497f1854d977b6420f8c978de58c9ab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 13:42:41 +02:00
5587670c4f Implement expect memory for AUB tests in TBX mode
Related-To: NEO-4459

Change-Id: I7ab64ff124f19baabb00cbad50b1a2065379b0c6
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-04-02 13:22:09 +02:00
41e18a9616 fix compilation with clang 10
Add flag -Wno-deprecated-copy only for clang >= 10.0

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/289

Change-Id: I40cbc40a245f82a5dc9798851a276ead9e9ab74b
2020-04-02 12:25:03 +02:00