Commit Graph

630 Commits

Author SHA1 Message Date
Zdanowicz, Zbigniew 33fee15711 Change interface to pass Interface Descriptor Data as pointer
Change-Id: I0f33109b800a7607206954bb1e5cb0826290e6f3
2018-05-11 14:35:53 +02:00
Mrozek, Michal 2e06df06ff Revert enabling preemption in all tests.
-It is causing big execution time increase from 6s to 11s on Debug64 Windows
target.

Change-Id: Id7d6b51e04653ef52248c0c83dc82d086f9cfd11
2018-05-11 14:24:22 +02:00
Hoppe, Mateusz e0079dae3d Update manifest
Change-Id: I1ea3bf0f74b3a544cf80cb557d9fbc54024f4eb2
2018-05-11 14:16:32 +02:00
Milczarek, Slawomir cf5b5aecec Update header with structures for AUB services.
This commit updates the structures and adds getters/setters to AUB services.

Change-Id: I14ce251b68f233428458958565c2d52551661747
2018-05-11 13:37:32 +02:00
Hoppe, Mateusz b59a5f1910 Source Level Debugger - adding notifications
- notifySourceCode, notifyKernelDebugData, notifyDeviceDestruction
- added processDebugData method in Program
- change options when SLD is active
- add space at the beginning of extension list options

Change-Id: Iac1e52f849544dbfda62407e112cde83fa94e3ad
2018-05-11 13:12:36 +02:00
Mrozek, Michal cec056f3c4 Turn ON DrmGemCloseWorker.
- For every command buffer that we submit, pass it to gem close worker.
- Gem close worker will do asynchronous cleanup if this resource is meant to
be destroyed.
- if the resource is not meant to be destroyed we will call IOCTL wait for
this batch buffer.
- This will result in bumping up GPU clocks and better performance.

Change-Id: If9f181e411d7748573f31682e875a97c5355abe5
2018-05-11 10:54:09 +02:00
hjnapiat 562ededffe Fix setting mediaSamplerRequired dispatch flag
Change-Id: Ie5d1100c34183ca970c99a5f46ce7866a7108ebc
2018-05-11 09:58:05 +02:00
ocldev f64f9c7c99 igc revision update
Change-Id: Ic903ef8228b53c52bbbd623f2a2f6ef6c12034ca
2018-05-11 09:17:51 +02:00
Mrozek, Michal 2c896b64b4 DrmGemCloseWorker now works on BufferObject instead of DrmAllocation.
Change-Id: I490edfc7532081eb31f700be70781c276dbc2916
2018-05-11 08:17:35 +02:00
Dunajski, Bartosz bab9ad6cda Wddm interface [3/n]: Improve constructing Wddm object
- Only Wddm object owns Gdi
- Dont pass Gdi object to constructor
- Move Wddm related files to new directory

Change-Id: Iadd26634c7692db760d7d3367211c32d2c2c8121
2018-05-10 17:14:25 +02:00
Mrozek, Michal 06287af541 DrmGemCloseWorker - remove not used modes of operation.
Change-Id: Ie8524a8411f1022785536a523aad3e4ebea3a349
2018-05-10 15:34:20 +02:00
Mrozek, Michal f90ced1452 Update internal.
Change-Id: I2afef5c1359c257094e9f819c5c58fc7445ca45b
2018-05-10 13:55:58 +02:00
Zdanowicz, Zbigniew f94844305f Add new arguments to aub dumping interface
Change-Id: I226ec04a919f4ca6ae5c237cf189e043f8286d5e
2018-05-10 13:33:54 +02:00
mplewka 2bc2869fe1 Refactor ult's for preemption enabling part 2
Change-Id: If8e335e87f3a78d35cab12a17880fb1922d479f5
2018-05-10 13:12:03 +02:00
Maciej Dziuban 541735d932 L3 programming refactor 3/n
- Add L3UltHelper to be able to tell if L3 config is programmable
- Run L3 config kernel tests according to its output

Change-Id: I55b76e2da325d28f62b0bde20250b68f02154ae2
2018-05-10 12:43:10 +02:00
Dunajski, Bartosz 2b9cf69d84 Manifest update
Change-Id: I05a71faccfb1a7fd4379b0b7697a20c595468b19
2018-05-10 12:28:45 +02:00
Dunajski, Bartosz 3a5227f9a0 Improve MockGmmMemory usage
Change-Id: I5edfe5a09c743d1672631a62be588e2aed55fd46
2018-05-10 11:58:27 +02:00
Mrozek, Michal d1aaf2e42d Refactor naming in drm memory manager tests.
Change-Id: I9dedc5397150869874e15f379d75e7135c11a7b5
2018-05-10 09:21:05 +02:00
Dunajski, Bartosz 46003145e9 Gmm interface update
- Use local gmmClientContext instead of pGMMGlobalContext
- ResourceInfo and PTmanager creation from gmmClientContext
- Mock Gmm context creation in Wddm to have only one instance per run

Change-Id: I67e015c57f0ab5524564760fd9a849615615697f
2018-05-10 08:51:46 +02:00
ocldev 231ad7cfd9 gmmlib revision update
Change-Id: I4d37ec9b6b89838787ba7ef464e229ea80b8a840
2018-05-10 01:23:56 +02:00
Hoppe, Mateusz 2e46129d53 Source Level Debugger: initialization & notify new device
- add source level debugger to device
- load isDebuggerActive function from library
- rename interface to sourceLevelDebuggerInterface in SLD
- add DebugData to KernelInfo with kernel debug data

Change-Id: I2643ee633f8dc5c97e8bbdc9d4e7977ddcbf440d
2018-05-09 13:42:34 +02:00
hjnapiat c8c2832068 Improve logging of some OpenCL APIs
Change-Id: I80f7019dadf4e4f39710ed767745c7a605f44d3a
2018-05-09 12:47:17 +02:00
Dunajski, Bartosz 44e54ef69b Wddm interface [2/n]: Move WddmMock to igdrcl_mocks + more cleanup
Change-Id: I993312c1e17fb474e142424b154666f8af6a4170
2018-05-08 15:57:38 +02:00
Dunajski, Bartosz d33866b027 Wddm interface [1/n]: Wddm fixture cleanup
Change-Id: I9ef300ba6f0abe7659683ee96730621a9b57ea85
2018-05-08 13:14:55 +02:00
Mateusz Jablonski 2298b5db25 Move test kernels dependencies from run_<platform>_unit_tests to unit_tests
Change-Id: I9aca79abd6c8ff8da1acf1da1e74d5e7ec310c31
2018-05-07 18:00:27 +02:00
Dunajski, Bartosz 224676bc2d Change return type of Wddm::createContext to make init more consistent
Change-Id: I113dbd636c2ed11ba76333021535160e46cb7116
2018-05-07 13:08:50 +02:00
Mrozek, Michal 1ea44b631a Add debug message to inform what to do when memory leak is detected.
Change-Id: I08c8ce33c2edc337e878acc16d6fd6acfffa33a9
2018-05-07 11:26:22 +02:00
Woloszyn, Wojciech 081d976d07 update manifest
Change-Id: I239fb62731b19b0715724b86300f000869566cb8
2018-05-04 14:02:21 +02:00
Artur Harasimiuk 21f2350923 package: fix package version deduction
We should check if variables NEO_VERSION_MAJOR, NEO_VERSION_MINOR and
NEO_VERSION_BUILD are defined instead of checking for values. this
allows to set values like '0' which was expanded to false.

Change-Id: I0ceaf0e19053cae29bee78e77f574b92771e2d3f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-27 23:06:56 +02:00
Jacek Danecki aee6d10f1f update build documentation
- add information about libdrm and libva compilation
  libva is needed to support cl_intel_va_api_media_sharing extension
  libdrm is needed to compile libva
- add information about building on Centos 7

Change-Id: I56df50c7d312b4e5be0f85576300a5d1ba311e80
2018-04-27 22:20:10 +02:00
Dunajski, Bartosz c2455b412f Move Wddm::init template method to inl file
Change-Id: Ic49242c25c8e553a74ada61533b7db31bead7d7d
2018-04-27 14:53:04 +02:00
Pawel Wilma 95e200df9f Infrastructure update
Change-Id: I7020c6949e4d18295ad980b09432400ff5fe5e8f
2018-04-27 13:34:13 +02:00
Maciej Dziuban 44d35b3534 L3 programming refactor 2/n
- Rename misnamed test function
- Adjust 2 tests, so they use CSR size getters instead of hardcoded values
- Move getSizeRequiredPreambleCS() into CommandStreamReceiverHw class
- Improve PreambleHelper size estimating

Change-Id: I3f292d50e08f3d10d190c9f8722e1f0498481154
2018-04-27 13:10:28 +02:00
Mateusz Jablonski fb97a5c747 Rename isBigCore to isCore
add tests for getPlatformType function

Change-Id: Ief835dd5df8f4753fb0f39763ccbcff366d69a93
2018-04-27 11:56:39 +02:00
Dunajski, Bartosz 7ddc571a11 Add build directory path for configured driver_version header
Change-Id: Ic092c2156b158377dc00c5c754827515ee2d290b
2018-04-27 10:17:05 +02:00
Dunajski, Bartosz d71b46bdae Use configure_file for NEO_DRIVER_VERSION instead of source file property
Change-Id: I76888a7eb2a2c6e228306b5c740c55c6abff93da
2018-04-27 10:13:28 +02:00
Mrozek, Michal f2126b0dff Optimize/Clean image redescribe tests.
- This is the longest group of tests currently having 2k tests which execute
for a second in Debug64 build on Windows
- Every test_p in this fixture corresponds to ~200 tests.
- Aggregate multiple tests into one to do verification in one shot.
- apply unique_ptr
- remove string creation and propagation
- This effectively removes ~1k tests from the suite while keeping the same
testing functionality.

Change-Id: I19003b38c193073db90dd58724e96b821fd16aea
2018-04-27 08:19:54 +02:00
Mateusz Jablonski abbc0a5471 Compile kernels per platform type (core/lp)
compiled kernels are in (binary dir)/(family name with type) folder

Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +02:00
Mrozek, Michal 34ff5852eb Add capability to csr to allow N:1 aggregation when ooq is created.
- This allows applications to force the N:1 aggregation by creating out
of order queue.
- That switches csr to N:1 submission model where commands from multiple
command streams may be aggregated.
- That forces scenarios returning an event to be aggregated as well.

Change-Id: I8fd8d7f88bb2665234ee90870133120b206710a8
2018-04-26 15:41:20 +02:00
Dunajski, Bartosz 82c9acddde Improve including common reg_configs header
Change-Id: I7fa22c2caffd0004269eb0d4f4fcdfd7621572af
2018-04-26 14:48:50 +02:00
Mrozek, Michal 8d2df3c332 Move indirect heaps from command queues to csr.
-This is required to enable N:1 submission model.
-If heaps are coming from different command queues that always
mean that STATE_BASE_ADDRESS needs to be reloaded
-In order to not emit any non pipelined state in CSR, this change
moves the ownership of IndirectHeap to one centralized place which is
CommandStreamReceiver
-This way when there are submissions from multiple command queues then
they reuse the same heaps, therefore preventing SBA reload

Change-Id: I5caf5dc5cb05d7a2d8766883d9bc51c29062e980
2018-04-26 14:05:40 +02:00
ocldev be7393fcfe dependencies update
Change-Id: Id5c4e3354737c9c0b87d67772d76f38210d1efab
2018-04-26 13:30:03 +02:00
Pawel Wilma a0c044e6d2 Extend batch buffer flattening in AubCSR to BatchedDispatch mode
- batch buffer flatening in batched mode
    - added MI_USER_INTERRUPT command
    - added GUC Work Queue Item

Change-Id: I35142da34b30d3006bb4ffc1521db7f6ebe68ebc
2018-04-26 12:45:02 +02:00
Mateusz Jablonski 31157573ca Fix ult execution: change dir after getting run path
Change-Id: If2b9d07809004bfb4edbc4b4c50762226a98d2e9
2018-04-26 11:22:59 +02:00
Artur Harasimiuk 5fbdad88c6 refactor config.h usage
- add defines to command line
- remove most occurences of include "config.h"

Change-Id: I19d65d83c895fc6143d319d057a50e5ae3e78830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-26 10:02:15 +02:00
Woloszyn, Wojciech c0a84cad85 use validateObject function for memObjs in win api
Change-Id: I1b54096b5a6fdb43a38c25a37560e88218671bd2
2018-04-25 15:58:47 +02:00
Mateusz Jablonski 180de340d8 Define variable with binary name suffix
use this variable in tests as it is set once in main.cpp
create function to get binary kernel filename

Change-Id: Ibf7b4c2d390caefda4a5d7fc4667006e7f2edde8
2018-04-25 15:34:34 +02:00
Zdunowski, Piotr 103fe670bd Add gen specific suffix to test files.
Change-Id: I7ee2fb6d1c2592e1aa0c2645f83526dbcfe521f1
2018-04-25 15:28:44 +02:00
Zdanowicz, Zbigniew d94b853c32 Separate HW commands from class declaration and interface
Change-Id: Ia49098171f4b7814c42a35686354713a322c9df7
2018-04-25 14:03:00 +02:00
Dunajski, Bartosz 1d36206bb7 Remove obsolete methods form LinearStream
Change-Id: Id87dd58d9a373cf5d3f217e9ecc8db8a79b25190
2018-04-25 11:40:47 +02:00