Commit Graph

497 Commits

Author SHA1 Message Date
Chodor, Jaroslaw 6bf4135def Fix for externally synchronized events
When inheriting task count from parent events,
don't take into account externally synchronized events

Change-Id: I52d861e482669a18e2aca499c813716bb4951b74
2018-04-09 12:12:58 +02:00
Mateusz Jablonski ac45ff74ec Fix creating image from image
- allow creating image 2d from non NV12 image 2d
- validate image descriptor and format when create image from image

Change-Id: Ie7887e75f1450fc723dc1d1ae9ff5639d88835fc
2018-04-09 11:29:11 +02:00
Cetnerowski, Adam a858ff5077 LIMITATIONS.md - mipmap extensions are now enabled
Change-Id: I0c6b08ca541f79b1438de4ac534b38d4ec329403
2018-04-09 11:19:58 +02:00
Mrozek, Michal ffa9b097f5 [26/n] Internal 4GB allocator.
- change the way we handle blocked commands.
- instead of allocating CPU pointer and populating it with commands, create
real IndirectHeap that may be later submitted to the GPU
- that removes a lot of copy operations that were happening on submit time
- for device enqueue, this requires dsh & shh to be passed directly to the
underlying commands, in that scenario device queue buffers are not used

Change-Id: I1124a8edbb46777ea7f7d3a5946f302e7fdf9665
2018-04-09 10:47:37 +02:00
Jacek Danecki 100f559daa sharing: add context tests with MockSharingBuilder
Change-Id: I1418bc81b06b73013699204365eaab129f86665c
2018-04-09 01:08:10 +02:00
Jacek Danecki 375933f0de add validator tests for platform
Change-Id: I144b93cc24683600fe507f9b66dbbba84a182c5c
2018-04-06 14:35:03 +02:00
Jacek Danecki d977d278b4 add tests for enqueue shared object with event
Change-Id: I5cc499fc85a1304ab6a46227f4045081a849eb1a
2018-04-06 14:30:39 +02:00
Jacek Danecki 2829d2259e sharing: add test to verify resource release
Change-Id: I16dfda3015c05269af02d69c25d5ea2531815c9e
2018-04-06 14:10:15 +02:00
Chodor, Jaroslaw 614b69a3bf Adding support for get_image_num_mip_levels
* patch token decoding
* crossthread data patching

* additionally, fixing nasty ODR violation in VA tests
  (note : ODR = One Definition Rule)

Change-Id: I9803ed599826c97359349d2b8fa0d86e46cb33ea
2018-04-06 11:04:29 +02:00
Artur Harasimiuk f6a9e3f6f3 infrastructure update
Change-Id: I7f664066b8a779fe3d4c1d7ca6e9e77abe8aade9
2018-04-06 07:19:12 +02:00
Zdunowski, Piotr 5946a2cd15 Fix printf issue with printing pointers from 32bit kernel on 64bit system.
Change-Id: I77771b4ebe6c4335d51dc1834f0b8f9df2a069a4
2018-04-05 17:12:33 +02:00
Rozenfeld, Piotr 2e4a64f1e0 README.md: remove LibDRM dependency - NEO now keeps i915 headers within repo
Change-Id: I6877cee5ae0e2dc0bdee1fad80c1da0cab36f705
2018-04-05 17:00:21 +02:00
Artur Harasimiuk 72357cd653 infrastructure update
Change-Id: I2bfad2a6b2da51ed7df9fbf6d04a822e573dc3cc
2018-04-05 14:06:49 +02:00
ocldev ef5e436c4c dependencies update
Change-Id: I2d45f93b7f6f11a71d7fababf5fec2781d559513
2018-04-05 11:03:34 +02:00
Mateusz Jablonski 835a1da175 Update kernel allocation when substitute kernel heap
Change-Id: Iee02a93d4e10c7b32fae56ffa61c90d8617d6ec9
2018-04-05 10:49:40 +02:00
Zdanowicz, Zbigniew 9bc11a7f48 Adjust PLATFORM values for a given Product Family
Change-Id: I4522df78060861b6f91ac5f125cf6b11023f1509
2018-04-05 10:07:38 +02:00
Mateusz Jablonski 79a0e3253e Enable transforming image 3d to image 2d array
Change-Id: I8fdc6899780481bdebeaf858a330e9dea822bda3
2018-04-05 09:10:54 +02:00
Chodor, Jaroslaw 0a97dfbb2f [1/n] Mipmap support
* adding support for map/unmap
* adding support for origin/region validation with mipmaps
* fixing slices returned in map/unmap
* removing ambiguity around mipLevel naming
* enabling cl_khr_mipmap_image in current shape
* enabling cl_khr_mipmap_image_writes in current shape

* fixing CompileProgramWithReraFlag test

Change-Id: I0c9d83028c5c376f638e45151755fd2c7d0fb0ab
2018-04-05 01:09:27 +02:00
Milczarek, Slawomir 6506df559b Fixed mip count programming in surface state for regular images
This commit addresses crashes during AUB playbacks in image scenarios.

Change-Id: I6d2f3917cdb3458c62382205c1a17bdc57239bb4
2018-04-04 16:50:11 +02:00
Zdanowicz, Zbigniew b6b92ae808 Create GpgpuWalkerHelper class
Change-Id: Ia9aa7b816356aff57234b46ea3509b6bd9b7f14b
2018-04-04 16:42:16 +02:00
Dunajski, Bartosz d51f2cd1ec Adjust KMD Notify delay on SKL
Change-Id: I2fb2b5bb79e786a0902747bef2720359f0a30da3
2018-04-04 08:49:24 +02:00
Jacek Danecki d8199a4ebe refactor context creation
- createContextOsProperties is not needed anymore
- replace invalid context property value
  0x200D as invalid context property value should not be used,
  as it can be use in future as valid property

Change-Id: I569433b0f37bbce083f0d64ecf1dc80ff83bfb46
2018-04-04 08:07:28 +02:00
Cetnerowski, Adam 125fce8ef4 FAQ.md - add information on toolchain for CentOS
Change-Id: Ibd60f5ed0d4b0ce0160499a34f369de6caa0fb17
2018-04-04 07:58:15 +02:00
Mrozek, Michal cbcf77ae49 Fix out of bound problem while estimating Indirect Object Heap.
- While estimating the required size of Indirect Object Heap we were not
handling properly the lack of local ids case
- In such case we should allocate one GRF per HW thread that will be unused

Change-Id: Ibcd359e431e3ffd9d55628ac7cf7eeefad72e7ba
2018-04-03 17:45:28 +02:00
Mateusz Jablonski 092f3be6f6 Internal update
Change-Id: I412e049ee33d8fcd72975074e69387add41da287
2018-04-03 16:42:54 +02:00
Hoppe, Mateusz 4703417813 Use correct virtual addresses in TBX CSR makeCoherent method
- cpu virtual address was used instead of gpu va
- this caused incorrect behaviour of TBX server when
special heap allocator assigning GPU addresses was used

Change-Id: I2328cf2441be797311fd6a3c7b331b0fff79d4fc
2018-04-03 15:54:07 +02:00
Milczarek, Slawomir b56289a507 User space AUBs capable of memory re-dumps on CPU-side memory modifications.
Any CPU related updates such as clEnqueueMapBuffer or similar
need to trigger a re-dump of memory prior to the next clEnqueue call.

Change-Id: I7b31e559278e92ff55b6ebab8ef4190caef1ebc0
2018-04-03 15:40:29 +02:00
Jacek Danecki e1697d7002 sharing: add missing tests
For image with defined sharingHandler test:
- enqueueAcquireSharedObjects
- enqueueReleaseSharedObjects

Change-Id: I8835e4a4aa06a08e57dc207b168810162e44445c
2018-04-03 13:55:29 +02:00
Artur Harasimiuk 07a63c91df cl_cache: do not call fcl when not needed
call to FCL can be costly. we don't need this when kernel source is
simple and does not contain '#include'. In this case we can compute hash
directly based on kernel source.

Change-Id: I0455be57d9ee13919a53c145e3feeb00a113d71e
2018-04-03 13:34:02 +02:00
Dunajski, Bartosz fbf00d38bb Improve KMD Notify timeout on BXT, CFL, GLK
Change-Id: I80a2ef94cc989b7d6e1ee824ce091418336d9337
2018-04-03 12:29:49 +02:00
Mrozek, Michal e4c25f11de [25/n] Internal 4GB allocator.
- Do not obtain pattern allocation from reusable pool.
- This is due to the fact that it may contain allocations from internal
heap, which cannot be used for arguments declared as kernel argument.

Change-Id: I6c73445c409edc4ce25f8d8eba966f512dfd6cc9
2018-03-30 14:59:11 +02:00
Jobczyk, Lukasz 9700c9bc42 Add missing devices IDs in master branch
Change-Id: Ie73cf42f1d7ef6bb414630016d85e27038fab03b
2018-03-30 14:41:51 +02:00
Maciej Dziuban 0bac015d30 CapabilityTable adjustments part 3
- Fixed CMake to include enable_hw_info_config on Windows

Change-Id: Id976de4b10b2c5b21076b0c9307136735b9d9a7d
2018-03-30 13:44:47 +02:00
Hoppe, Mateusz c401be4720 Update manifest
Change-Id: I71598f7feb26b13561c34c749e3df7f4a103ca27
2018-03-30 13:35:34 +02:00
Mrozek, Michal 5dc0a7c731 Remove default value for dispatchWalker parameter.
Change-Id: I0676a353a4364339664edc416e36da37a345a4f6
2018-03-30 12:57:42 +02:00
Dunajski, Bartosz 8505658cab Multiply wait timeout by task count difference
- Linux specific
- Use only for non-quickSleep requests

Change-Id: I245546f83672d128377e51d92b6c7708a7448f05
2018-03-30 12:50:38 +02:00
Maciej Dziuban f4af035ab7 CapabilityTable adjustments part 2
- Move Windows HardwareInfo configuration from DeviceFactory to HwInfoConfig
- Add ULTs for HwInfoConfig on Windows

Change-Id: I9b84bbe60ca9f2ad4ddc3119bc8cb88331a7d154
2018-03-30 11:31:14 +02:00
Jacek Danecki 820dc3da0d sharing: add tests for SharingHandler methods
- added acquire/release tests

Change-Id: I29226c39b709992e13789305fd8c3d2ea7e1a827
2018-03-30 11:20:44 +02:00
Jacek Danecki f4a1b73fd9 add test for clGetExtensionFunctionAddress
Change-Id: Ie6d0b4d7898f730b467f494a938c8fd10295ba25
2018-03-30 11:01:10 +02:00
Artur Harasimiuk bdcaf332ce ULTs: more MemoryManagementFixture cleanup
Change-Id: Iaeb60c9c9e22baf63ff01419a5a6dde1e1652a47
2018-03-30 10:52:50 +02:00
Artur Harasimiuk 6e005f716c remove unussed MMF from AUB tests
Change-Id: Ia9ac7be967e423bca47242e3c51119cd4f3e4793
2018-03-30 09:53:19 +02:00
Zdanowicz, Zbigniew 420bbd3954 ULT: Rename Drm2 class name to more descriptive DrmMock
Change-Id: Id02b1d2531610854783ac68905c97b78f4a624b9
2018-03-30 09:42:50 +02:00
Mrozek, Michal de315db953 [24/n] Internal 4GB allocator.
- Refactor tests for better maintenance
- Remove duplicated code.

Change-Id: I154cad43610497d2e1cabf99217820735d3868cd
2018-03-30 09:12:08 +02:00
Artur Harasimiuk 0432d117ca ULTs cleanup
- removing more occurences of unused MemoryManagerFixture

Change-Id: I4d2d03536b26a54024e09877cf1bf48dcbf8559a
2018-03-30 08:53:35 +02:00
Artur Harasimiuk cef24fdd4d removing MMF from DeviceTest
Change-Id: I023108c137e21ec63bcd3a17ad69489282084591
2018-03-30 08:46:03 +02:00
Jacek Danecki a8597ac162 remove dependency on librt
- clock_gettime is provided by glibc

Change-Id: Ic76c272d31581538ef4c2ad7adc22f836437c642
2018-03-29 23:51:00 +02:00
Zdanowicz, Zbigniew 50ef7c0000 Adjust default engine type in Linux
Change-Id: I2cc7e4078e830f0844d6dc6fe7b4bfcdf92b0095
2018-03-29 22:56:34 +02:00
Jacek Danecki 961d1e2090 add test for getMediaPlaneType
Change-Id: I96cd581360ebdae2dbda6c6940b056ae4899c2c0
2018-03-29 22:50:40 +02:00
Artur Harasimiuk 211fbd9d66 improve clang-tidy analysis
Change-Id: I7201429e67413a5df2a504ab772f2ae57de2de03
2018-03-29 17:56:32 +02:00
Artur Harasimiuk 7e6432a207 ULTs cleanup
- remove unused MemoryManagementFixture.
  MemoryLeaks are tracked using MemoryLeakListener no need to duplicate
  with Fixure.
  MMF should be used when you need to inject memory allocation failure

Change-Id: I95bcaa7051acf540c5b015c5489ed6a6fc38ee8e
2018-03-29 15:09:59 +02:00