Commit Graph

1293 Commits

Author SHA1 Message Date
Hoppe, Mateusz
dfd4e767e0 Introducing AubFixture with minimum required initialization
- fixture is creating AUBCsr or TBXWithAubCsr only and sets
executionEnvironment used by Device
- this sequence ensures correct initialization without redundant
objects creation
- adding new AUB test: AubWriteCopyReadBufferTest

Change-Id: I678410585c91c008fc53a44b13e885e970fd315b
2018-09-25 23:03:21 +02:00
Dunajski, Bartosz
9f4f152e3a Manifest update
Change-Id: Ia87b976003b96f68787f8a085d1b9c5bffec70ad
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-25 12:43:58 -07:00
Artur Harasimiuk
ad099be8f5 Revert "cpack configuration refactor"
This reverts commit 18f6d6a25b.

Change-Id: If0f3144212a8ac693abc63e35c15a7428d7c494a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-25 21:26:42 +02:00
Maciej Dziuban
f48b90ffee Change CommandStreamReceiver::flush() argument to a reference
Change-Id: Ic933a297d4c4e243138d0d62323ba82a8b91240f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-25 17:28:44 +02:00
Mateusz Jablonski
cd252b84a0 Fix expected IR extension when compiling builtins and test kernels
Change-Id: I1421c93414df89a34d3b260fc7b0fe5063e4471b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-25 17:06:31 +02:00
Woloszyn, Wojciech
f624ec757b Unify mipmap layout accross platforms
- revert "Fix reported row/slicePitch for mip-maps"
- calculate mipmap offset without gmm

Change-Id: Id4802ef9624ad330e0d0f871dfa4d4fc35a7ba33
2018-09-25 16:27:43 +02:00
Cetnerowski, Adam
1b7738e0cf ULT renaming: CreateKernelsInProgram tests
Change-Id: Ib3dd3aed30e581defd740e1af62088a045e33f2e
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-09-25 15:18:52 +02:00
Maciej Dziuban
9804bddd46 Change makeResidentResidencyAllocations argument to a reference
Change-Id: I7e8a73fdbe5371e29a53ec34201eddb42cb7f20a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-25 11:34:16 +02:00
Mateusz Jablonski
c04d14f3bc Internal update
Change-Id: I9b236de354475453f7f5a96bce4eb60c848137ae
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-25 10:14:46 +02:00
Woloszyn, Wojciech
2248c8e048 Fix typo
Change-Id: I393ad63769ac1fd9f95374344dae60dda803346a
2018-09-25 01:53:59 +02:00
Mrozek, Michal
e2ee839250 Limit unrecoverable scope.
Change-Id: I3967d64eb0fbae7d34268458568090c2305226f5
2018-09-24 12:41:59 -07:00
Artur Harasimiuk
18f6d6a25b cpack configuration refactor
- change package name to "intel"
- change component name to "opencl"

Change-Id: I24eb1f9b54e8c3ddb12a7c93623e727b5f4dcbd0
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-24 16:21:54 +02:00
Maciej Godek
b8e9251eeb Rename D3DFMTCLImageFormat to D3DtoClFormatConversions
Change-Id: Ie2be88e628963dd071272b03049a4d7586a4d5a1
2018-09-24 15:11:54 +02:00
Hoppe, Mateusz
5aae5a3d62 Rename DeviceIndex to DevicesBitfield to reflect type usage
Change-Id: Ic5ac1d2d49082dc3c6e98c1fa5178b93ec9ddf56
2018-09-24 14:46:19 +02:00
ocldev
b67143b8cb igc revision update
Change-Id: Iedbf38ad29a6fac675fd9f35f2de879e23cf3019
2018-09-23 23:09:16 +02:00
Milczarek, Slawomir
ee797c2f14 Multiple AUB CSRs to operate on a single file stream
This commit introduces AUB stream provider class to produce
a single file stream in multi device scenarios with multiple AUB CSRs.

Change-Id: Id70e0d680459d34f4291b9e56aa39d960f025ac6
2018-09-23 05:41:00 +02:00
Artur Harasimiuk
30709f1910 Infrastructure update
Change-Id: I5d0d238882df10a84c3b980aa02e9ece894f69c4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-22 21:56:55 +02:00
Hoppe, Mateusz
91aaa92fb6 Refactor PhysicalAddressAllocator
- create allocator dynamically in AUB & TBX CSRs

Change-Id: I3b01a3fc2f4824b552ef27cbda5bdcc140e92e53
2018-09-21 21:48:57 +02:00
Mrozek, Michal
328ecae57d Change the error checking in checkExtraMemFlagsForBuffer
Change-Id: I598b5789c567a398c75355813a44ea647ff6cd0d
2018-09-21 21:36:04 +02:00
Mateusz Jablonski
83f733fb70 Use dynamic gmmlib on Linux
Change-Id: Ia7d30fecf0406a14babe83d29743562de8bf7a29
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-21 17:34:31 +02:00
Koska, Andrzej
18046527da Fixed cast to clMemObj in transformImages
Change-Id: I01c5952f25e055e297afb00f914815c500c1a6b7
2018-09-21 17:18:01 +02:00
Mateusz Jablonski
811eab8e75 Infrastructure update
Change-Id: Ie1001b028b461aef8fabd99dd71903cdee628fa6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-21 17:01:35 +02:00
Hoppe, Mateusz
a470aa2072 Get AddressSpace to expectMemory from page table entry bits
Change-Id: I1aacdf98f436261b523765e0ca591e8d8333274e
2018-09-21 16:44:55 +02:00
Hoppe, Mateusz
e8b6f11cad Propagate AllocationFlags and deviceIndex to GraphicsAllocation
- adjust AllocationData interface

Change-Id: I3754585011d34b747fe23836f754fba8e711c9ff
2018-09-21 16:38:22 +02:00
Mateusz Jablonski
94c53f0777 Add function to get extra device info
Change-Id: I6cbec8d6ff5006b418179f9d6c54842b89ed57e1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-21 13:57:33 +02:00
Artur Harasimiuk
23b6896f5f fix copyright checker
properly handle files starting with #include or #pragma

Change-Id: I89b438ef36d796c2e005bb2241a97bf5e4d9e48c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-21 11:52:26 +02:00
Piotr Fusik
7de297763f Fix duplicate include.
Change-Id: Iaecbf3664bd09006070b31e1e7490d297dcd3de1
2018-09-21 05:20:15 +02:00
Dunajski, Bartosz
a52bcd830f Make TimestampPacket from previous enqueue resident
Change-Id: I4534b80cc6019b3c5ff210ca686b17b299390028
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-20 22:34:28 +02:00
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
18.38.11535
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