Katarzyna Cencelewska
f18532c8c4
Refactor of glcl sharing
...
new pattern to load gl and wgl functions from dll
Change-Id: I71d7510a210462c09d50e03ce8a444770c017b8d
2018-12-17 23:04:28 +01:00
Dunajski, Bartosz
4ddf5a1e87
Add debug flag to control RenderCompressed value in HardwareInfo
...
Change-Id: I733125fbd8596f24cdeb636b69a9198c44bd899b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-12-17 13:11:00 +01:00
Cetnerowski, Adam
6b8d8cbcbb
Revert "Revert "Expose spirv extensions""
...
This reverts commit 469fe40072 .
Change-Id: I8b634ef05a3b7e4e6abb05b42eacae24b7871632
2018-12-17 10:52:49 +01:00
Mateusz Jablonski
8ec072d39c
Simplify Memory Manager API [3/4]
...
- remove method allocateGraphicsMemory(size_t size)
- pass allocation type in allocation properties
- set allocation type in allocateGraphicsMemoryInPreferredPool
Change-Id: Ia9296d0ab2f711b7d78aff615cb56b3a246b60ec
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-12-17 10:42:16 +01:00
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
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
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
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
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
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
Piotr Fusik
0b839722f4
Don't store preemption mode in Wddm.
...
Change-Id: I6088e5fec65b6910fefb42ec9735181867c44a1b
2018-12-10 14:48:52 +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
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
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
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
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
Mrozek, Michal
2ca3e4c4e5
Ensure that allocations in 4GB heap have non 0 GPU address to patch.
...
- That address is used later to deduce that allocation is non null
- If we have address 0 it is incorrectly detected as null ptr on the GPU.
Change-Id: I45e1bb31f1788528327da35bfdcc13f3fa6beec2
2018-12-06 09:06:38 +01:00
Maciej Plewka
bb7f8d9b88
Disable compression when using hostPtr
...
Change-Id: Ifa066a3824f51b4ad5957de9fe8590853c620587
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2018-12-05 16:07:15 +01:00
Woloszyn, Wojciech
6a1a28c687
Add new CFL device IDs
...
Change-Id: I1846d4d76152467e257f684e68b5a8d12f7ac889
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com >
2018-12-05 16:05:53 +01:00
Katarzyna Cencelewska
a99939b08f
Fix dumping of cl_cache
...
- change creatOsReader and constructor of RegistryReader
- move body of constructors of RegistryReader from .h to .cpp
Change-Id: I57cbf51a57cb1cb7f9cd2473af766a79cf2035d2
2018-12-05 15:02:04 +01:00
Pawel Wilma
fe228ea5f7
Use GPU address in calculateNewGSH()
...
Change-Id: I82add7aab4b26444f288a9c4dbce6328578a03d2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-12-05 10:33:35 +01:00
Milczarek, Slawomir
1bf98c7f80
Added support for expectMemory call from aub stream
...
Change-Id: I8acf27eff8b2f38dcb8d9873e03c35bfab6f3298
2018-12-04 12:03:36 -08:00
Pawel Wilma
835aa09e9c
Decanonize general state base address
...
Change-Id: I9c0bc92f5e11467d13c04fee4add85193e2a3c3f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-12-04 17:02:04 +01:00
Dunajski, Bartosz
b728526c4e
Allow Device creating multiple CSRs [8/n]
...
Use OsContextId instead of DeviceIndex for residency
Change-Id: Ib2367b32b5b3e320252d8254f1042f1c3d497068
2018-12-04 15:36:59 +01:00
Mateusz Jablonski
7747db13e1
Deferred deleter: move to next deletion if current deletion cannot be applied
...
Change-Id: I7067bc2bc74f92518a33ccb9f9dce9b57cc28637
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-12-03 15:24:35 +01:00
Mrozek, Michal
38fb8cd9c3
Refactor mmio programming.
...
Change-Id: I2ec9294b800adcd537f03d69fd4ba4e015e8db7a
2018-12-03 14:40:00 +01:00
Mrozek, Michal
09f3f4e856
Move heap32[0] to heap32[3].
...
Change-Id: Icea6eef5646894283725e29ce7ee930284af2673
2018-12-03 09:32:36 +01:00