Commit Graph

384 Commits

Author SHA1 Message Date
Zdanowicz, Zbigniew 029094437a Change identification of gen families from number to type
Change-Id: I780528aeb2572fc95d8cd9a20eba26687156726b
2018-03-21 19:22:46 +01:00
Cetnerowski, Adam c2a71f2dfb FAQ.md - clarify kernel requirements for newer platforms
Change-Id: I0b967d73b4c17d0d7ef01cbee93750515d98c9ab
2018-03-21 19:15:16 +01:00
Artur Harasimiuk ce828748ab do not bundle ICD Loader into package
ICD Loader is external package not part of Intel GPU runtime. It
shouldn't be bundled in our package

Change-Id: Iad29e650e9ad4d244ab4ed8bacbe9ab1ff96b4dd
2018-03-21 18:45:43 +01:00
Woloszyn, Wojciech ce2f1468b7 Implement cl_khr_mipmap_image [2/n]
- Add mipmap handling for clEnqueueCopyImage
- Add mipmap handling for clEnqueueCopyImageToBuffer
- Add mipmap handling for clEnqueueCopyBufferToImage
- Fix typos

Change-Id: Ie1a23b1699135afa17fe11bcba3c1e8bdf9a3dd9
2018-03-21 17:04:12 +01:00
Filipkowski, Lukasz c4c75e542e Set CMAKE_CONFIGURATION_TYPES only for MSBuild
Change-Id: I03edd2aef10d8aa6479f9209c67464658732c34a
2018-03-21 15:48:31 +01:00
Cetnerowski, Adam e746081403 Offliner compiler - refactor help
Change-Id: Ie9514ea3aedb208bc653f29fe96e4b71003807fd
2018-03-21 15:09:40 +01:00
Woloszyn, Wojciech 0ad81024b7 Implement cl_khr_mipmap_image [1/n]
- Add mipmap image handling for clEnqueueReadImage, clEnqueueWriteImage
- Fix mipmap image handling for clCreateImage

Change-Id: I42938a330b55c7e69a16c26dce3ab5d66f8a8938
2018-03-21 10:51:13 +01:00
Cetnerowski, Adam 214b407353 Offline compiler - fix typo in help
Change-Id: I66d1fd899d351b3f89c610b04737893d106ae296
2018-03-20 20:19:13 +01:00
Hoppe, Mateusz eec43f65a7 Free allocated BOs for read-only user pointer
- when pinning fails with EFAULT due to read-only memory
used for allocation (BO), mark the allocated fragments
to be freed, as cpu copy will be used.
- prevent possible leaks

Change-Id: I200ba276da5e3a8557df28fe2e411ef30d69a86a
2018-03-20 17:31:18 +01:00
Hoppe, Mateusz 1e81426599 Disable generation of kernel with kernel-debug-enable flag
- generation temporarily disabled for gen8 platforms only
- unit tests using the pregenerated kernel modified accordingly

Change-Id: I304a796836c823d222e60c44a78fc7f4b03b8a73
2018-03-20 16:18:09 +01:00
Jobczyk, Lukasz 37443c19a2 Fix enqueueWriterImage and enqueueReadImage test
- set proper regions
- fix typos
- set proper expectations

Change-Id: I3d57cb7e3f9273fe7515f6bb7fb3beaa10e969eb
2018-03-20 15:59:33 +01:00
Dunajski, Bartosz 94033a1c51 Update FlushStamp for output Event on CPU data transfer operations
- Previously only taskCount was updated
- This improves KMD notify usage for Events handled asynchronously

Change-Id: I283982890579254033557de0e1cef2239c0035e2
2018-03-20 15:29:35 +01:00
Napiatek, Henryk J a4fc00a78c Make sure that stopping Deferred Deleter is thread safe
Change-Id: Iaf4cf4f7291a5a87f7199ee86b4fc116acdc18c0
2018-03-20 14:04:23 +01:00
Hoppe, Mateusz 5df8697100 Kernel Source Level debugger support 3/n
- debug kernel tests
- removed bti and debug sip surface size from sip kernel

Change-Id: I25b8668df0e29e70a5b8d21828dc36ab3ba4fded
2018-03-20 13:50:26 +01:00
Dunajski, Bartosz 7e2fa723a5 Cleanup casts and memsets in linux code
Change-Id: Ie7ed0232a2974152fde13438aeb0830d43eddf2a
2018-03-20 11:02:14 +01:00
Dunajski, Bartosz 933312e098 I915_EXEC_DATA_PORT_COHERENT support
- new mechanism to switch coherency at exec level

Change-Id: I3e9cca2141822828be7d44e858e8fe2c258efbfa
2018-03-20 10:44:37 +01:00
Artur Harasimiuk 26b0b9a873 infrastucture update
Change-Id: I92437f11171e50e9943138ef35eb9b6d5a6c62e3
2018-03-20 09:15:11 +01:00
Mateusz Jablonski 1998cf38e5 Cmake refactor part 18
Fix setting SUPPORT/TESTS platform flags

Change-Id: I2a7d5ff65a44c1e936ce33f88b1ab3f60b5859c5
2018-03-19 10:59:38 +01:00
Jobczyk, Lukasz 2f8ff2b30e fix enqueueWriteImage tests:
- set proper regions
- fix typos
- set proper expectations

Change-Id: I5198a6e3c7acbc231a8f14ab400d8086fd9fcf1d
2018-03-19 10:48:51 +01:00
Hoppe, Mateusz 18eb0b5e64 Kernel Source Level debugger support 2/n
- adding kernel debug option to build program
- program tests refactor
- pregenerated debug kernel for ULTs

Change-Id: I00152639148fd48c4f709dc7cd9c46392df567c8
2018-03-19 10:26:45 +01:00
Artur Harasimiuk 507544a999 add i915 uapi headers
Change-Id: I8b19ebc56c5aa394758177641b2946f7fca13eff
2018-03-16 17:30:48 +01:00
Mateusz Jablonski f5fed65cb4 Cmake refactor part 17
Cleanup igdrcl_mocks and mock_gdi

Change-Id: I3cb24214c1857b9ec16680b8581f385fc5657349
2018-03-16 16:00:37 +01:00
Mateusz Jablonski e21e220540 Cmake refactor part 16
igdrcl_tests: define gen specific sources in subdirectories
libult: append gen specific sources needed to link hw tests

Change-Id: I72505729f1ff27439cd43904688de9c2cfbe080f
2018-03-16 14:07:37 +01:00
Mrozek, Michal 7644209288 Add debug flag to dump dispatch parameters.
- Also refactor debug manager tests , they now check for default value
in igdrcl.config file
- There is no need to write dedicated tests now , so I remove them.

Change-Id: Ib338ca05b6059302c29469c673239e7886dc4b9b
2018-03-16 11:13:35 +01:00
Hoppe, Mateusz 76dd4ac1f3 service read_only memory passed to CreateBuffer
- only when cl_mem_flags allows for read only memory
and USE_HOST_PTR is used

Change-Id: Id023f9cb551f7d81ec680de9cc546005980e6f75
2018-03-15 18:29:38 +01:00
Mrozek, Michal 385fcdb7ca Fix Linux Global Mem Size computation.
- we need to use getContextParam instead of get aperture size.

Change-Id: I83f39654019ef63eb5fc59566c013ffd5cb5ba25
2018-03-15 17:42:56 +01:00
Zdunowski, Piotr 059104adef Fix for double scheduler compilation.
Change-Id: Ia265686354b288dc4817909f58680e1824079ad2
2018-03-15 15:55:35 +01:00
Dunajski, Bartosz c0d3eade30 Disable wait timeout when flushStamp is 0
Change-Id: I416ace1f8c1a3e5aa91d9bc2425a4faa77e2fbe7
2018-03-15 15:44:17 +01:00
Milczarek, Slawomir f997b45145 AUB CSR to update hardware tag in standalone mode
This commit introduces a software controlled HW Tag
in the configuration of AUB CSR in standalone mode
(i.e. with no execution on real HW).

Change-Id: Ic470957d58e6568b13dda3d61cb230498d8f2691
2018-03-15 14:37:57 +01:00
Hoppe, Mateusz 756aafe3dd Fix indexing of allocated bos in populateOsHandles
- when fragment is already allocated, allcoating is
skipped and index is incremented,
separate index must be used for allocated bos array

Change-Id: I856a99ba4ebdad5375829a43d721c7e1490b18d3
2018-03-15 12:13:29 +00:00
Mateusz Jablonski 894060de50 Cmake refactor part 15
Cleanup unit_tests/CMakeLists.txt
Move shared sources to libult
define linux test projects in linux subdirectory

Change-Id: I0da18c79e6581412a04ddfb3795750db862ad95c
2018-03-15 12:12:09 +01:00
Mrozek, Michal bd0362990b [16/n] Internal 4GB allocator.
- Make sure that kernel allocation is deleted asynchronously.

Change-Id: Ia98ae9fdbd56c7de82f92d62e0395ef181ebceef
2018-03-15 10:40:39 +01:00
Artur Harasimiuk dede44f0dd cmake refactor to allow sub components to use the same settings
Change-Id: I7e8a1e51d27406e0a8f1eeb227374c2f938f028b
2018-03-15 09:30:58 +01:00
Artur Harasimiuk d6cc695c9c cmake: properly set variable inside function
Change-Id: I6a7060077dd9deced16ac031b8242c3e5a78e679
2018-03-15 08:50:40 +01:00
Mateusz Jablonski a1487178eb igdrcl_tests: move gtest exception options to cmake variable.
Change-Id: Ib1fad1f3c342781ef0f43f90ddffe39c728728c8
2018-03-14 16:21:03 +01:00
Mrozek, Michal 93fc48339b [15/n] Internal 4GB allocator.
- Make resident on kernel ISA for blocked and non blocked path.

Change-Id: I1fc4948f1abb73c6f7028ae15dccad820101b8dc
2018-03-14 15:04:30 +01:00
Hoppe, Mateusz a1a20a3b34 Service read only memory passed as host_ptr
- read only memory cannot be used for allocation,
Oses cannot create graphics alocation for such memory
- if memory allocation fails for host_ptr passed
to enqueueWrite calls, then try doing new allocation
and copy host_ptr on cpu

Change-Id: I415a4673ae1319ea8f77e53bd8fba7489fe85218
2018-03-14 13:16:36 +01:00
ocldev d62bd0b687 dependencies update
Change-Id: Ib610593a7129fecd39f5f30b531b432d8024c087
2018-03-14 12:32:38 +01:00
Hoppe, Mateusz 2fb9bc2e2e Temporarily disabling sip kernel generation for ULTs
- disabled two tests
- added new tests for SipKernel

Change-Id: I89ca37c561a04e9ab10469ae708aee5a05f0da33
2018-03-13 16:55:41 +01:00
Artur Harasimiuk ea412d210f utl/drm: remove unused code
Change-Id: Ic793d471a7f71db7aa17be2ab24226d74df80fa7
2018-03-13 16:13:08 +01:00
Mateusz Jablonski 36a8bd8878 Cmake refactor part 14
cleanup unit_tests/aub_tests/CMakeLists.txt
cleanup unit_tests/elflib/CMakeLists.txt
cleanup unit_tests/libult/CMakeLists.txt
cleanup unit_tests/tbx/CMakeLists.txt
partially cleanup unit_tests/CMakeLists.txt

solution source tree changes:
 - make test projects folder as variable
 - make platform specific targets folder as variable
 - move platform specific targets to \"test platforms\" folder

Change-Id: Iff7da009e13c3ac9e5af76325be32e5056e8cd7b
2018-03-13 13:40:42 +01:00
Artur Harasimiuk 0c5f42c854 refactor ioctl tracking in DrmMock
- track all known ioctls
- fail when not tracked ioctl is invoked

Change-Id: Ic3f4771bc408b16071e8df144cd85240cedaf057
2018-03-13 11:39:23 +01:00
Mrozek, Michal 00ae077913 [14/n] Internal 4GB allocator
- call make resident on sip kernel allocation.

Change-Id: I9c9af5ed4cec3e8b05decac7228658358ef1562b
2018-03-13 10:29:50 +01:00
Mrozek, Michal 5eb96ade7a Update internal.
Change-Id: I2ca010a2a28a1c092a43208c55f42d18cfa37ec3
2018-03-13 10:28:19 +01:00
Artur Harasimiuk edfdf3c66a ult: catch&handle SIGABRT
Change-Id: Ifaeed398d0e8a462ab1c6560b775453bbb2328a2
2018-03-13 08:25:21 +01:00
Hoppe, Mateusz cc6fa3d1e1 Kernel source debugging support 1/n
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size

Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Artur Harasimiuk 0ef0d6fc52 includes cleanup
Change-Id: Ibd4f5bfc2816c538f846dd7baf2e90005f8790f0
2018-03-12 21:23:29 +01:00
Mrozek, Michal 2119d5db08 [13/n] Internal 4GB allocator.
- Add common function for all memory managers to obtain internal heap base.

Change-Id: Iacdaaf598e8786dad046b3f4550f9c80ce3f15d9
2018-03-12 16:19:24 +01:00
Dunajski, Bartosz bc08ecdcea Drm: getparam helper function
Change-Id: I4ecb1082f5e00087e8993f0d9e93dee9a23b6140
2018-03-12 15:26:37 +01:00
Kowalczuk, Jakub 78bf486bfb Turn on EnableDebugBreak by default and infrastructure update
Change-Id: Ie7e12a7e1509f0a7a5962e97042dca8fa714d132
2018-03-12 14:05:16 +01:00