Commit Graph

1565 Commits

Author SHA1 Message Date
Dunajski, Bartosz ee3a74749a Add support for FtrTileY flag
Change-Id: I9fc57e5131076c2ce32d02cbdf2142a9fbd1406e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-20 11:54:39 -07:00
ocldev f8953a0659 gmmlib revision update
Change-Id: Id59b5f9955b363dfe3cd2acf997c2c497ab91e7c
2018-09-20 20:51:20 +02:00
Mrozek, Michal f3bcb5c539 Make sure that residency is properly initialized.
- all members needs proper init.

Change-Id: I578eee8178ae375cc4861872c84ced1729fb689b
2018-09-20 20:47:27 +02:00
Dunajski, Bartosz e06b370697 Pass eventWaitList to blocked command for semaphore programming
Change-Id: I8b56be03a7b89283f5368cf42d6788d70ebecdc7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-20 19:35:58 +02:00
ocldev 26006a8482 dependencies update
Change-Id: I9235207b3e9c174294016f39025e0e3bfc5ae12c
2018-09-20 19:25:38 +02:00
Cetnerowski, Adam dd4bce2c5d ULT renaming: CreateKernel tests
Change-Id: Id1e61e786971af2477ccafe56c9fa99653a1a4d7
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-20 18:23:13 +02:00
Artur Harasimiuk 40146291ad Update copyright headers
Updating files modified in 2018 only. Older files remain with old style
copyright header

Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Mrozek, Michal 78f828fcd1 Make residency in graphics allocation OsContext dependent.
- Graphics Allocation now holds residency control per OsContext.

Change-Id: Ie0a0d3aa9fdaf542fdd42dee3aba236a5af635c7
2018-09-20 16:44:04 +02:00
Hoppe, Mateusz c39f9c0c66 Add addressSpace to AubFileStream::expectMemory
- addressSpace can be passed as argument from layers above
where address space is known

Change-Id: If9075dde4e207296df91b46eccecd0b5fa183aa9
2018-09-20 15:23:15 +02:00
Mrozek, Michal 070bbf4033 Optimize enqueue kernel tests.
- Switch to non param fixture for tests not requiring different params
- Add limited param set for tests requiring param fixture
- this decreases total test count by 100 while keeping the same scope.

Change-Id: Ic10a378d3eb7a2d06114435a9bd9652756945574
2018-09-20 14:56:34 +02:00
Venevtsev, Igor 7c94409ce8 Change MemoryManager::allocateGraphicsMemoryInPreferredPool() signature.
Remove allocateMemory param.
Add AllocationFlags and DeviceIndex params.

Change-Id: I3ba048f8ea9840a047a3222dc1e97be2105c2222
2018-09-20 13:04:21 +02:00
Mateusz Jablonski f1e6fb6e5f Infrastructure update
Change-Id: I8e70672c3e01a1becaea15eba35c2de3579eacc6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-20 12:30:54 +02:00
Cetnerowski, Adam 716ae808ff ULT renaming: CreateImage tests
Change-Id: Id286f1b731873ce1b5f53383792189124e78dcba
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-20 11:20:33 +02:00
Artur Harasimiuk de2d5d7532 move CL-GL Sharing header to different folder
- rename file
- move to folder public

Change-Id: Ie3c14c5a2be0aec5809b322b9a0e2cebe0e3fc22
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 10:42:41 +02:00
Hoppe, Mateusz 4af432ae10 Store page entry bits in PageTable entries
- set Present bit when entry is allocated regardless entry bits passed.

Change-Id: Ib1393927f66c4ed0b577a4df58d2760fbff86df7
2018-09-20 09:25:34 +02:00
Artur Harasimiuk 803a946e3f cmake: add lint target
This wraps around commands used to format code and exposes them as
single build system target: 'lint'.

Change-Id: Ide88b8f080582221b1832be06fd2fd0f2cd44ab4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-19 16:14:31 +02:00
Hoppe, Mateusz fe912704b8 Enhance AubTests with TBX server capability
- aub_tests started with "--tbx" option connects to TBX server
- CSR is created in dual mode: TBX + AUB to dump aub file
- with this enhancement it is possible to debug aub tests live

Change-Id: I0302f5f4bac4c293661a149f64888770dd49343c
2018-09-19 15:34:36 +02:00
Cetnerowski, Adam b5b319872c ULT renaming: CreateCommandQueueWithProperties
Change-Id: I9f5ec7cc2b5f38640e7a254b2dcc9a37edd84913
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-19 15:11:52 +02:00
Cetnerowski aa61fa150e Explicitly abort, if pitch == 0
Change-Id: Ie46f134cff50fd590120af584060f9623bc05b9c
Signed-off-by: Cetnerowski <adam.cetnerowski@intel.com>
2018-09-19 14:13:46 +02:00
Kowalczuk, Jakub 30f3899aa2 Infrastructure update
Change-Id: I9808484742300755548860b799932f41cbae293e
2018-09-19 11:08:06 +02:00
Dunajski, Bartosz 7da499d7cd Dont keep dependency on previous TimestampPacket in OOQ mode
Change-Id: Ia60d9ceafcf2789fbc951ca2a09ee3e515a9249a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-18 18:50:48 -07:00
Dunajski, Bartosz 097d09c593 Make resident all TimestampPacket allocations from Events
Change-Id: Ic4d2d1a328dca204675c4d0aee6a7efb5a71f940
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-19 01:53:12 +02:00
Hoppe, Mateusz d8d5645502 Derive AubHelper from NonCopyableOrMovableClass
- Deletes copy ctor and copy assignement operator in AubHelper

Change-Id: I0d24e29ca8a94188ef4bf2cca1d5495189b18d82
2018-09-19 00:39:01 +02:00
Artur Harasimiuk 04fd2e04b4 fix permissions of run-build.sh
Change-Id: I1942647593eed1ca98ade014001aa198af147ada
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-19 00:12:10 +02:00
Mrozek, Michal 7c7b405219 Remove makeCoherent from getTagAddress.
- if Tag allocation was not yet made resident then makeCoherent will fetch
uninitialized data, causing finish to return earlier then it should
causing later synchronization issues.
- simplify rest of method, remove redundant code.

Change-Id: I7bfcbd9f2d7170f41473a97f51856d82671b6638
2018-09-18 13:53:18 -07:00
Artur Harasimiuk 8334d424ba add script to set copyright header for source files
this works for:
- C/C++ files
- files where comment is #

Change include set of simple tests.

Change-Id: I1c08c6c359e2a48957d5d81397c439508ae06c42
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-18 19:12:13 +02:00
Milczarek, Slawomir 65dc5fb7de Generate multiple devices in AUB and TBX CSR modes
This commit adds a capability for a driver to generate multiple devices
and hwinfo in AUB and TBX CSR modes.

Change-Id: Icc0eac7c16760d3d4ae6ef08cd0be950b45d35e7
2018-09-18 18:03:41 +02:00
Katarzyna Cencelewska 962b6ce883 Add support for cl-gl sharing
Change-Id: I08d7608722746baa3be61846e05eecb5419cc136
2018-09-18 11:18:46 +02:00
Mrozek, Michal f5a2b38fa4 Add new debug flag allowing to not register trim callback.
Change-Id: I615be3edc9d843fb7b37cf32f2abd5e2839d6ada
2018-09-18 04:48:22 +02:00
Hoppe, Mateusz a2ed6861d8 Refactor AubCSR test - expect correct data returned by getGTTData
Change-Id: I98a7a5f6f87fea70ae0f9334236f144f592fbf5f
2018-09-18 01:23:41 +02:00
Hoppe, Mateusz 54dab11447 Add const to getHardwareCapabilities() Device method.
Change-Id: Icd04e7e58aeac501887415b318ae2ca2442d988e
2018-09-17 20:40:30 +02:00
Dunajski, Bartosz f4c094a568 Set default Semaphore wait mode for polling
Change-Id: I2537d3d53bc645558cbcf0893ef6f8dae30db57e
2018-09-17 20:05:00 +02:00
Hoppe, Mateusz 619d2217cb Pass AubHelper to reserveAddressPPGTT().
- get PageTable entry data hints and address space from AubHelper
based on local memory flag
- add enableLocalMemory flag in CSR HW

Change-Id: I061bda62be8da55d52cff48ecddcf26c4212dc67
2018-09-17 18:48:06 +02:00
Mateusz Jablonski 873a58382b Extend kernel commands helper
add method to check if we should program binding table prefetch

Change-Id: I2a78f406b6f2a3fde33dec653ec887b7f2c03442
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-17 09:34:31 +00:00
Cetnerowski, Adam 06a9e46777 ULT renaming: CreateContextFromType tests
Change-Id: Id5866f83c4ed30270eb7ee17201db208f29c1c12
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-15 09:53:11 +02:00
Maciej Dziuban ac1d2b9901 Change processResidency argument to a reference
Change-Id: Ie313a8cc4e479a314bcf170917397c13fbb70d14
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-14 13:36:20 +02:00
Hoppe, Mateusz 610eda5ad1 Add PhysicalAddressAllocator to PageTables
- Allocator is responsible for physical pages allocation

Change-Id: I3a9034c87292484da8f4f0eb1d1e0cc5122a4d8a
2018-09-14 13:23:07 +02:00
Maciej Dziuban 8df30ceac1 Move residency and eviction allocations from MemoryManager to CSR
Change-Id: I44185b35375f4cc9d58cac14cac1edefaacde652
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-14 13:19:55 +02:00
Cetnerowski, Adam fa30e0dc1f ULT renaming: Create Command Queue tests
Change-Id: I8262bb1de09d1172d01b3da1b5751c30edbca401
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-14 13:01:51 +02:00
Pawel Wilma 01fa11ba4d Additional Wddm context flags
Change-Id: I6f0bfd721e4840f44414da49ebbb7df3539e5588
2018-09-14 10:11:04 +02:00
Maciej Dziuban da5a292e54 Delegate MemoryManager residency and eviction calls through CSR
MemoryManager::getEvictonAllocations()
MemoryManager::pushAllocationForEviction()
MemoryManager::clearEvictionAllocations()
MemoryManager::clearResidencyAllocations()

Change-Id: Iaa3051965bc9dfc09384e2bd5e9e0c372b5e722a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-14 08:18:04 +02:00
Maciej Dziuban 7aa70248e8 Get rid of processResidency() calls with null ResidencyContainer 4/n
Change-Id: I318e0b2846a72d9cba4921ba62e0ea491cc46da9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-13 15:12:20 +02:00
Maciej Dziuban fafde2ec15 Delegate all MemoryManager::getResidencyAllocations() calls through CSR
Change-Id: I9cfbfd86d39b5341598ff2bd8883e13605c58b72
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-13 14:56:06 +02:00
Zdanowicz, Zbigniew 888b067adc Encapsulate creation of Scratch Space surface
Change-Id: Ifd1d794e0d8b7053cf5c37bdd867ab64f84241cc
2018-09-13 14:49:28 +02:00
Maciej Dziuban 81a1e435f9 Delegate all MemoryManager::pushAllocationForResidency() calls through CSR
This prepares for moving this method from MemoryManager to CSR.

Change-Id: I82393289c48990f26ed3ac922bcd64e2b6c11f28
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-13 14:33:16 +02:00
Cetnerowski a416b0a382 ULT renaming: clCreateBuffer tests
Change-Id: I084d9c0b80779b22d88fbe25aacb1affed38e0e2
Signed-off-by: Cetnerowski <adam.cetnerowski@intel.com>
2018-09-13 14:18:28 +02:00
Kowalczuk, Jakub bfb1c5c19e Infrastructure update
Change-Id: I8bfc508bb3d54c5412468285cf76be82587e7314
2018-09-13 13:34:06 +02:00
Milczarek, Slawomir a7d41d95b4 AUB subcapture in filter mode to define start/end indexes to a given kernel
This commit introduces new controls to define start/end indexes
that apply only to the kernel specified by name for a sub-capture

Change-Id: I7ad7674d115f9addd35c44d824aee0731060881e
2018-09-13 11:13:33 +02:00
Filip Hazubski ce8284bade Move dispatchWalker() to seperate class
Change-Id: Idc95df3d67775022f2197c1f973182acb3558a2d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-09-13 10:29:13 +02:00
Dunajski, Bartosz 53c4d2946e Update Wddm23 interface
Change-Id: I8c1484875f28dd7f2591db810c64b117f49f70e3
2018-09-13 09:55:15 +02:00