Commit Graph

2133 Commits

Author SHA1 Message Date
Mateusz Jablonski
6fb28dd828 Refactor GraphicsAllocation class
move most of members to protected section
merge related members into structs

Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-02-28 14:09:11 +01:00
Hazubski
e75e5808cc Manifest update
Change-Id: I8124a5b82a663953137dd4e71f8504b9becec92a
Signed-off-by: Hazubski <filip.hazubski@intel.com>
2019-02-28 14:02:33 +01:00
Piotr Fusik
33a9d3160b Simplify code.
Change-Id: If730d02312da01515ae53b5faaeb5d33419ec4ba
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-28 13:09:52 +01:00
Artur Harasimiuk
295d45f5ef infrastructure update
Change-Id: Ia63d4d7c57b1037a198f8a2991bd1e75ccbe4afe
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-02-28 13:07:31 +01:00
Piotr Fusik
e11b7675d5 WddmAllocation constructor accepts allocationType.
Change-Id: I1e561b11e78dd942e04f3b029739921d0929ceed
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-28 11:59:16 +01:00
Mrozek, Michal
6cb4732abe Move isl3Capable outside of Graphics Allocation.
Change-Id: If9949f0d6d3405dcdeb221cbee1ce30307166c21
2019-02-28 10:48:27 +01:00
Mateusz Hoppe
030ba34de5 Better description of DoCpuCopy debug variables
Change-Id: Ie97335d4e5705771ad9a1c62af2920b2965aead9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-02-27 19:51:02 +01:00
Piotr Fusik
8febabfbd6 DrmAllocation constructor accepts allocationType.
Change-Id: I6a6457948ada7eb59537d17b966278d114f802c6
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-27 16:58:22 +01:00
Filip Hazubski
612121d5fe Fix typo in fixture name
Change-Id: Id0ac28416a1ff32a8dca9503c30d918a2b2f80d7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
19.09.12487
2019-02-27 15:46:29 +01:00
Mrozek, Michal
fca7b4e044 Remove Drm32Bit allocator.
- not used anymore.

Change-Id: Ibb7da1758feb67224ac0b172c72f45c2f1c229d9
2019-02-27 14:28:16 +01:00
Dunajski, Bartosz
fbcc782a91 Manifest update
Change-Id: Id3c61168bb5554607ffa4a54535e446526b45c3b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-27 13:57:39 +01:00
Filip Hazubski
8b57d28116 clang-format: enable sorting includes
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library

Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Mrozek, Michal
3eb10d0cc2 Add logging of EXTERNAL_HOST_PTR AllocationType.
Change-Id: I247a9e969b6cb0ba337018d324549e39217e54e6
2019-02-27 11:46:37 +01:00
ocldev
5c94e407bb dependencies update
Change-Id: I08f2d4c0e06716ca84f45ecef62f8aca434627b5
2019-02-27 11:06:14 +01:00
Mrozek, Michal
73456d66b3 Add proper type for host ptr allocations.
Change-Id: I324b54b415626043cc801ceb7f73547b96018fe0
2019-02-27 10:25:32 +01:00
Piotr Fusik
4e187e240c MemoryAllocation constructor accepts allocationType.
Change-Id: I99099d211692f9e043be76fadafd34dc09f36ffa
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-02-27 10:23:34 +01:00
Mateusz Hoppe
d5d177dd58 Override AllocateGraphicsMemoryInDevicePool in DrmMemoryManager
Change-Id: I54da682ecb055e71af0968872ddb0ec7726c3adc
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-02-27 10:05:46 +01:00
Dunajski, Bartosz
4597759a65 Dont inherit TimestampPacket from Waitlist when doesnt exist
Change-Id: I12b184353243f99ec7bacdf2dcd9da1ba09e3516
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-27 09:15:48 +01:00
Cetnerowski, Adam
1f65bdc2fb ULT renaming: clFlush tests
Change-Id: Ie1645edd168fd128ccfd61959ab5cb03d9c90195
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-02-26 22:15:24 +01:00
Hoppe, Mateusz
63ebe252eb Aubstream header update
Change-Id: I68573223715e5cbb6a308b88d9bae35741ef9984
2019-02-26 19:27:36 +01:00
Piotr Fusik
d79f1afdc2 GraphicsAllocation constructor accepts allocationType and memoryPool.
Change-Id: I5044ed26ba0cb0fc9ca7077595f5ab56353ab58c
2019-02-26 13:29:25 +01:00
Jablonski, Mateusz
798137e4bb Add function to create devices bitfield based on allocation properties
Change-Id: Ic70443b1fb6106186efcff318690e434dc1db625
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-26 12:07:09 +01:00
Mrozek, Michal
ce77425428 Add support for reserveGpuVirtualAddress.
Change-Id: I068df0dd3b2064cdb93be1c4408eeb86ff264d2f
2019-02-26 12:01:17 +01:00
Cetnerowski, Adam
0a49afc7e8 ULT renaming: clFinish tests
Change-Id: I947dbc4eebc9fc92a41dc54c450951360a8bca64
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-02-26 10:31:52 +01:00
Zdunowski, Piotr
842fb5dadc [4/n] Log allocation placement.
Change-Id: I300be5f09b6ee77aa89584a6bddf4c7e57aa54f1
2019-02-26 10:21:42 +01:00
Piotr Fusik
378bd28bab Change the signature of MemoryManager::createGraphicsAllocation.
Change-Id: Ia82235ff2831fd5b3436d488a5946bb49d63ce91
2019-02-25 16:08:35 +01:00
Maciej Dziuban
0cf71414e2 Pass command stream to dispatch scheduler
instead of taking it from CommandQueue

Change-Id: I8e43c3b7ed5cb46f79edf3290a84fc6ad41f3b57
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-25 14:35:19 +01:00
Dunajski, Bartosz
10083d5a21 Improve SimpleKernelFixture
Change-Id: I94251eb9d4ae827b83ada0a371f6ee8411a5455e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-25 09:41:58 +01:00
dongwonk
e030c9907e Abort if can't load from test-file
Change-Id: Id9deef8f088ad7a20770fbb6e49c1fbd4ac96cfb
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-23 10:14:05 +01:00
Cetnerowski, Adam
974bba0943 ULT renaming: Write image tests
Change-Id: I25d892dccb9af003ceed6e7d09be04457b174f53
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2019-02-22 20:52:20 +01:00
Hoppe, Mateusz
432b8f20a7 Allow cpu copy with debug keys only when ready waitlist events
Change-Id: If9293787c76b8248a84e25d03cbf9a9b5aaf7cca
2019-02-22 17:39:57 +01:00
Mrozek, Michal
1ae92e995a Extract some code blocks to dedicated methods.
Change-Id: I9e47631367b95ce4ff5479c463a3cb5085b66315
2019-02-22 15:12:45 +01:00
Cetnerowski, Adam
d5e16d81b0 ULT renaming: write buffer tests
Change-Id: I1890891fb2dfa79c0d6640130830b7016f3bda0f
2019-02-22 14:52:08 +01:00
Mrozek, Michal
e4bffaa194 Route all enqueue without kernel calls directly to enqueueHandler.
Change-Id: I4c4ab013ff9adbe0e32e2661b3091f319d36c9c3
2019-02-22 14:19:22 +01:00
Cetnerowski, Adam
345f31406c ULT renaming: Write Buffer Rect tests
Change-Id: I4bab71e3d8d3f4410f6ed1e77a5d67e3c9fb5868
2019-02-22 13:51:28 +01:00
Katarzyna Cencelewska
edb3e14147 Fix for enum's name
change lowercase 'b' for uppercase 'B'

Change-Id: I35f973bc7966e9d5b9f38d4e4a370215e80012ac
2019-02-22 11:59:17 +01:00
Dunajski, Bartosz
764aa45137 Add simple kernel to unit tests
Change-Id: Ifc02970a1d9384e00242cc3b8a97b1d2cc1d24c0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-22 11:41:39 +01:00
Adam Cetnerowski
9523942573 Documentation update & cleanup
Change-Id: Ia059e15269638319ec97e49deb622b9ceb1a0997
2019-02-22 11:09:06 +01:00
dongwonk
b44d434a89 limited GPU range is used for external 32bit allocation
Change-Id: I494ad97fb1ddfa7b3c6b2e7cef2ae04fba571ba0
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-21 16:26:49 -08:00
Milczarek, Slawomir
278bb83c56 Enable AUB sub-capture in AubStream captures (1/n)
Change-Id: I6bd0605d06cf4dc3937e2dbeba7ed7037ae91476
2019-02-21 22:40:40 +01:00
dongwonk
56972935ad graphic memory allocation with alignment in limited Range heap
Change-Id: Iccfb0fdc2f161e30bfdd26154110185277f176f5
Signed-off-by: dongwonk <dongwon.kim@intel.com>
2019-02-21 10:10:47 -08:00
Piotr Fusik
4ec5be0c99 Simplify code by removing AllocationOrigin.
Change-Id: Ie73cefc1ae1ee846fb9a5ef1054af01cd1867a4d
2019-02-21 16:29:05 +01:00
Maciej Dziuban
90e970cee6 Create GraphicsAllocation during dispatch when queue is blocked
Change-Id: I8a6f9e14ff57e7ed2920260af291317805f4df13
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-21 15:28:17 +01:00
Piotr Fusik
3e2a2ec191 Do not truncate to size_t while aligning.
Change-Id: If92e3b20c0ba08a6024116a44463c72ff4cfddce
2019-02-21 14:18:34 +01:00
Hoppe, Mateusz
98db6147d8 Pass full aubfile name to initAubCenter when using TBX with AubDump
Change-Id: I9184ce38cd9a066259bbf3a5b8a56694d4e309b4
2019-02-21 12:39:10 +01:00
Mateusz Jablonski
d683bc70c6 Disable tests verbose by default
Change-Id: I00bc92ed686a77215666923f1471ba760dea765d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-02-21 12:32:40 +01:00
Jablonski, Mateusz
9e7c30cb06 Choose Standard or Standard64 heap depending on 64KB suitablity of resource
Change-Id: I633b1bef1cdef2c5149909c997adc85434bcaf73
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-21 12:18:26 +01:00
Mrozek, Michal
65d706bdc3 Add mm_pause in waiting loop.
Change-Id: I9b7efd9869d91ff0f2bc289379ea49a7fd1013fa
2019-02-21 12:09:36 +01:00
Mrozek, Michal
a1d4c07f45 Simplify DRM allocation constructors.
Change-Id: I2c477ce85f4748f0637451a405f7949aa829ba81
2019-02-21 12:06:01 +01:00
ocldev
cac558b0a9 igc revision update
Change-Id: I6d65ba8bb6fc6bb794cbeb6a6ffa5f4f40559453
2019-02-21 11:29:53 +01:00