Commit Graph

1726 Commits

Author SHA1 Message Date
Pawel Wilma
5094c630f7 Force resource locking on transfer calls
Add debug variables to force resource locking on memory transfer calls
and to call makeResident() on mapVirtualAddress() call.

Change-Id: Ifa78d951fcb81812b10a98252bd414124dec9c74
2018-12-14 12:25:28 +01:00
Mrozek, Michal
3581bdb804 Add capability to enable/disable local memory via debug flags.
Change-Id: Ica388751f4be3afbd2c78a0f169576d2654e1a0f
2018-12-14 12:08:21 +01:00
Zdunowski, Piotr
0ca8ee7f30 Additional programming for source level debugger.
- always program STATE_BASE_ADDRESS and STATE_SIP

Change-Id: Iea6327d062b4efdddd3b0060d3105b29745b9cba
2018-12-14 11:30:54 +01:00
ocldev
f9b48382ed dependencies update
Change-Id: Iba89fdb933cb8fda6c7399b6ef9938ce920bb594
2018-12-14 08:53:45 +01:00
Mateusz Jablonski
74510286a1 Command Queue: Destroy timestamp packet container before releasing context
Change-Id: I7ee492586ee178bc89c44d5d6663d3ff8fb2e778
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-14 08:26:46 +01:00
ocldev
1439f49845 igc revision update
Change-Id: I6307798f11d405d94a2f76257e185c9a5d87b610
2018-12-13 19:36:03 +01:00
Mrozek, Michal
928632ec19 Disable Aub Stream when in tbx mode.
Change-Id: Iffd5fa5efe3f236954a3888fdd286bd5f889393f
2018-12-13 17:46:04 +01:00
Dunajski, Bartosz
010e1a4738 VFE state programming cleanup
Change-Id: I38fb47b00211a1d28244369ac417427ada145f61
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-13 17:44:40 +01:00
Kowalczuk, Jakub
cb3e4eeb84 Add getDevicesCount() to AubCenter
Change-Id: I1bb91fe3f1b3155790c7d7b20c7db687c7fcfa82
2018-12-13 16:48:31 +01:00
Hoppe, Mateusz
7201346810 Switch aub generation to AubStream by default.
Change-Id: Id7eced78dbdb83bb8de38a6aaeb6d4ba0100849b
2018-12-13 15:35:45 +01:00
Mrozek, Michal
b4256453ed Ensure that SVM allocations are zero-copy.
Change-Id: I20a20af33f95014d74e8101789de2581259c62fa
2018-12-13 11:20:09 +01:00
Dunajski, Bartosz
6face330fd Select RCS1 for low priority CommandQueue
Change-Id: I86b5cb19bfbb358c5036fe4027ea82287a5f4e39
2018-12-13 07:41:56 +01:00
Dunajski, Bartosz
cfafe943eb Use different DRM Context for each OsContext on Linux
Change-Id: I543df4accdeba6c69b7dcf86d4238d12dafe92fe
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-12 15:08:23 +01:00
Milczarek, Slawomir
9fcc06f0c5 Add capability to create Aub Stream for multiple devices
Change-Id: I0b26e3d8c6512770fa38ce59304643948c15729d
2018-12-12 14:52:23 +01:00
Zdunowski, Piotr
088bb418c0 Infrastructure update.
Change-Id: I8074053154fbb259ab25e4a56b0cf37db411e7bc
2018-12-12 13:59:42 +01:00
Pawel Wilma
6202b2222b Use GPU instead of CPU address in programming commands for HwTimeStamps
Change-Id: If9ab4cbd052dfa46b5d901073df4c583c2ae361f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-12-12 13:27:53 +01:00
Hoppe, Mateusz
6b9803bac1 Update manifest
Change-Id: I3257302b003cbc1a603506b2dfd8842481ab3cbc
2018-12-12 11:31:36 +01:00
Hoppe, Mateusz
82078074bc Add createAubManager function
- unit tests are using mocked version of createAubManager
- dynamic library, aub and tbx tests are using functional
version using aub_stream

Change-Id: I12d69d84d00645009b026df266b8b64adebb86d4
2018-12-12 08:23:18 +01:00
Mrozek, Michal
23d72e40b0 Disable one test.
Change-Id: Ib74b19995d27b4baf043502e29dd1e7464c66a3c
2018-12-11 14:58:34 +01:00
Piotr Fusik
caca4f677d Refactor HeapAllocator.
Change-Id: Ie7da8202d0fa4606db213eb32cca5b0a254954c2
2018-12-11 13:21:54 +01:00
Mateusz Jablonski
a6be6533ea Simplify Memory Manager API [2/n]
- make AllocationData a protected structure
- use AllocationProperties instead of AllocationFlags
- refactor methods: allocateGraphicsMemory64kb, allocateGraphicsMemoryForSVM
- call AllocateGraphicsMemoryInPreferredPool in AllocateGraphicsMemory
  where there is no host ptr

Change-Id: Ie9ca47b1bccacd00f8486e7d1bf6fb3985e5cb12
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-11 13:12:00 +01:00
Mrozek, Michal
7e397b0132 Revert "Pass number of devices obtained from platform to Aub Manager."
This reverts commit f30d2102fa2a33673b95a20f630cd592f2a4d9ac.

Change-Id: I1df03a9dd819075e9fac5ffaf5ee8f4a250aab39
2018-12-11 12:19:29 +01:00
Dunajski, Bartosz
c905dad62f Improve checkGpuUsageAndDestroy method to work with multiple CSRs
Change-Id: I7b8325116c90151c6339f95a81880c467e81748f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-11 10:26:50 +01:00
Mrozek, Michal
2fec06007d Pass number of devices obtained from platform to Aub Manager.
Change-Id: Iccef0ab9c69c4b676b3f012d941dd0f55788debd
2018-12-11 09:55:10 +01:00
Artur Harasimiuk
be6d70c909 change implementation of strcpy_s and strncpy_s for Linux
use memcpy instead of strncpy.

Change-Id: Ic079f21a28ec7e258e134c6e1be4cde81df736ec
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-12-11 09:49:38 +01:00
Artur Harasimiuk
d2f1a15f03 infrastructure update
Change-Id: Ib6a2e9bd0ffd3fbdb081c75cbb157997a4a04236
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-12-10 15:15:42 +01:00
Piotr Fusik
0b839722f4 Don't store preemption mode in Wddm.
Change-Id: I6088e5fec65b6910fefb42ec9735181867c44a1b
2018-12-10 14:48:52 +01:00
Milczarek, Slawomir
09505ce853 Updated AubStream header with hardware context interface
Change-Id: Iff5890e36d4dc0a46f7bb210404d4ff010ab9083
2018-12-10 14:28:37 +01:00
Hoppe, Mateusz
60ac4d35ce Refactor GetDevicesTest
- do not compare pSkuTable in Aub modes

Change-Id: I3388f460922e35212fddd54bf519ae35db36ba67
2018-12-10 13:19:10 +01:00
Dunajski, Bartosz
f5508ed2d7 Simplify preemption control on Linux
Change-Id: Ie0896cc8950f7fbb271b710b8bb221eb41ba0445
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-10 13:12:16 +01:00
Kowalczuk, Jakub
9e53740130 Unify AUB and TBX CSRs part 2
Move:
- getEngineIndexFromInstance
- getEngineIndex
to common CSR
Unification of arguments of some AUB/TBX methods

Change-Id: I46f25e16aa9fbad10ffc3890cc31915fa5edb1d9
2018-12-10 12:23:27 +01:00
Hoppe, Mateusz
e88548a251 Do not call submit on HardwareContext with zero-sized command buffer
Change-Id: I53b9233b30f58e2fcb354142eb1186a20c834d62
2018-12-10 10:02:46 +01:00
Dunajski, Bartosz
d870359434 Revert "Select RCS1 for low priority CommandQueue"
Change-Id: I8d6a4ed76917c73aad96bbb69ef42ffb7b416eb6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-09 17:42:18 +01:00
Mrozek, Michal
c865dbbaa1 Choose BUFFER_HOST_MEMORY as type in 32 bit applications.
Change-Id: I33addbd37cb4b9192c2dfa88aeee6d6cbdafd714
2018-12-07 16:17:04 +01:00
Dunajski, Bartosz
481b83b436 Add throttle hint to unblocked enqueue path
Change-Id: Id24e00f0f797d6245e897ba4e709d42f2ef0f5e8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-07 14:13:31 +01:00
Dunajski, Bartosz
7f7808fb71 Select RCS1 for low priority CommandQueue
Change-Id: I1f86b0afedb8f6e76fee896c2751a0bf196996d7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-07 13:18:13 +01:00
Mrozek, Michal
17de3fbeb9 Add option to generate random inputs to tests.
Change-Id: I940e6405fbd964bbe8c815f9fc8466d04efe4bbf
2018-12-07 12:22:35 +01:00
Hoppe, Mateusz
c18d0d7634 Link igdrcl_tests with aub_stream_enable lib
Change-Id: I6e5e182acf93f25a50e5f3f43a90b7522505a2ef
2018-12-07 09:42:35 +01:00
Kowalczuk, Jakub
2dd71c2e25 Unify AUB and TBX CSRs part 1
Move:
- getPPGTTAdditionalBits
- getGTTData
- getMemoryBankForGtt
to common CSR

Change-Id: I7c9616bc18a4cffb0673d7964af168ea3ddad2dd
2018-12-07 09:24:54 +01:00
Hoppe, Mateusz
5837d6f506 Remove unnecessary aubCenter test
Change-Id: I66ae0de7ff2b418f8a9499751a61b60ad9e16efe
2018-12-07 08:41:57 +01:00
Mrozek, Michal
deb4bd844b Initialize rand in tests.
Change-Id: I534a89b070f9f5be2182fcd4a58f96a85c6d93de
2018-12-06 19:00:30 +01:00
Mrozek, Michal
3719c7a767 Limit AUB SSH size to 64KB.
Change-Id: I1a23aa2a253a93ed9633ab7fda0a6180050add83
2018-12-06 17:36:49 +01:00
Hoppe, Mateusz
3d35bf4291 Fix Source Level Debugger scenario
- when Program is compiled and linked, kernel debug options must be
added when linking
- when linking by CompilerInterface, store debugData in Program

Change-Id: Ie93a8fa7586681b94307a30c109c103f78ec861a
2018-12-06 17:23:39 +01:00
Mrozek, Michal
a39660de92 Infrastructure update.
Change-Id: I8d47cb0f0766d4c496d60a17ad7487fc6c51d41b
2018-12-06 15:31:14 +01:00
Mateusz Jablonski
c8748b77a0 Simplify memory manager API [1/n]
pass struct with properties to allocate graphics memory methods:
for protected methods use AllocationData
for public methods use AllocationProperties

Change-Id: Ie1c3cb6b5e330bc4adac2ca8b0bf02d30ec76065
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-06 15:09:25 +01:00
Woloszyn, Wojciech
ace20aba5b Add slm size to capabilityTable
Change-Id: Ia8839b2268069ac3815ff21cf247deefbf3b5335
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-12-06 13:43:39 +01:00
Dunajski, Bartosz
52fbf6473b Minor refactor of CommandQueue class
Change-Id: Iab64ad133fe96402d9577b64380472729f0190a8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-06 12:45:25 +01:00
Mrozek, Michal
a0f2723589 Fix MSVC warning.
Change-Id: Ib3a732670a046df324b3518e1359342dd57a2829
18.49.11968
2018-12-06 10:24:57 +01:00
Maciej Dziuban
43fd32b3ad Enable aggregating command buffers with multiple osContexts
- Store inspectionId for each osContext in GraphicsAllocation
- Pass osContextId to aggregateCommandBuffer and use it to select inspectionId

Change-Id: I2c377ad7577a8c882cc89c1205430cb581c2c0d5
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-12-06 10:11:07 +01:00
Dunajski, Bartosz
a35e3b792d Return valid TaskLevel for UserEvent and GlSyncEvent
Change-Id: Ic2bcb64e92e07b94c1af47b109af1274bf6c8c3e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-06 10:09:46 +01:00