Commit Graph

419 Commits

Author SHA1 Message Date
Artur Harasimiuk cbf2118275 update converter version in manifest
Change-Id: I2f930f77e73df9aea36d4852dd08cc025fd7f88f
2018-03-26 17:35:51 +02:00
Koska, Andrzej dd21164b3e Adding the last character in a null terminated string
Change-Id: I4a9cad0974c8b9f1474e79e5c3d78b88dd4b004c
2018-03-26 16:45:22 +02:00
Dunajski, Bartosz dcce788ace Enable KMD Notify mechanism on Linux for BXT,CFL,GLK,KBL
Change-Id: I361237055a11037aac5c0b0c07b83be4884de8f4
2018-03-26 15:43:28 +02:00
Chodor, Jaroslaw d65128d4e8 Refactor around sharings
- exposing additional handles in common code
- adding proxy for CreateEvent (windows)

Change-Id: I90872682c6c518c98d9d43e79f5112ee869e94aa
2018-03-26 15:32:25 +02:00
Hoppe, Mateusz 7f32eb06d1 Kernel Source Level debugger support 4/n
- adding DebugSurface allocation and setup
- unit tests refactors:
  - mock kernel with kernel debug option
  - separating fixtures to headers
  - added helper for getting internal-options kernels
    filenames

Change-Id: I7b6f4d46e2ab7cff0da8d5212483f44ae0d4be31
2018-03-26 15:02:42 +02:00
Cetnerowski, Adam 7b1fd38fe6 Enable OpenCL 2.1 in Broadwell
Change-Id: I99931f8430712d33e3155a5d1589befd9be7693a
2018-03-26 13:27:51 +02:00
Artur Harasimiuk 87a7f23cc8 infrastructure update
Change-Id: I28bfc5a38b828ae48aaef4876f097082d5c26672
2018-03-26 12:22:47 +02:00
Dunajski, Bartosz b2cca4c6ca Improve gmock usage: Remove default ON_CALL from MockGmmResourceInfo
Change-Id: I2d85e7b0cf61f3ebb735d2d1cd5b46ec560436b6
2018-03-26 11:34:57 +02:00
Mrozek, Michal a138652252 Update internal
Change-Id: Ic9c135c306968a9b05d84ce10e1b3b8182df1558
2018-03-26 08:49:58 +02:00
Mrozek, Michal 6c1a869546 Optimize memory management in ULT.
- limit the amount of atomic reads
- change debug callback code to not test atomic
- change logic of seeing if we are within limits.

Change-Id: I67e6cf0558f2db60a50bf3ecdf7287d345bf50ae
2018-03-23 19:58:40 +01:00
Dunajski, Bartosz 5389d4d859 Revert "I915_EXEC_DATA_PORT_COHERENT support"
This reverts commit 933312e098.

Change-Id: I70a48a80c5d06455570dc2a97b99e1fb5edd7c08
2018-03-23 17:22:50 +01:00
Dunajski, Bartosz 656fc9beff Fix sporadic fail in ULT
Change-Id: I8b8c67d4ea1189f1895c8d606e4afd745933f0e9
2018-03-23 17:14:34 +01:00
Zdanowicz, Zbigniew cf692afcfe manifest update
Change-Id: I2e7ae2c82151fe854eca571e125f58ef9667719d
2018-03-23 16:09:01 +01:00
Mateusz Jablonski 575d1bf381 Cmake refactor part 20
set global properties with runtime sources, libult sources and
os interface tests

Change-Id: I9a84edf2f021b4581a16c19c7dbb0b2f94c33f4d
2018-03-23 15:51:12 +01:00
Hoppe, Mateusz ed30f6e55f Read-only memory allocations handling in Wddm
- return InvalidHostPointer when createallocation
fails with NO_VIDEO_MEMORY

Change-Id: I6946eeb04d3a191550478e1d26a6ce0c32b75c34
2018-03-23 14:30:00 +01:00
Mateusz Jablonski e1a0452c6b Infrastructure update
Change-Id: I352ffa189e38ccb5700075776ad195d5a68a51cd
2018-03-23 14:14:53 +01:00
Chodor, Jaroslaw e035996fcc Adding configurable windows dll exports file
Allows having a single .def file template while supporting
dynamic concatenation of exported functions to the list

Change-Id: I5186f2f028092bad7e2968b96062edd96454d81d
2018-03-23 13:24:48 +01:00
Pawel Wilma ff1d2361f3 Add patch info comments to AUB dump
Collect patching information and add as comments to AUB dump.

Change-Id: Ib7c903a2589d68b6e3e614c1774c7cd5a000c29f
2018-03-23 13:08:54 +01:00
Mrozek, Michal d7fe01454b Make sure that gtpin callbacks are not executed in enqueue path.
-This is to make sure those functions are not called when gtpin is not used
-This preserves CPU instruction cache pollution.
-Our enqueue path needs to be as thin as possible, even with this small change
there is visible gain in ULT execution time.

Change-Id: I44cc2144754cda95ca1fe058184cd8a151b8d35c
2018-03-23 12:54:17 +01:00
Dunajski, Bartosz 93cb7be091 Kmd notify improvements [3/n]: Fix sporadic in ULT
Change-Id: I1e326e7514d4d7d14cb1051b50105cbc418e325c
2018-03-23 10:50:42 +01:00
Dunajski, Bartosz ef1f5a03a2 D3D sharing: set isRenderCompressed for all 2d and 3d textures
- Dont check if resource is shared
- Check only gmm allocation capability
- Add missing support for 3d textures

Change-Id: I989533549087db74d5c238d639055462d5fea604
2018-03-23 10:21:42 +01:00
Artur Harasimiuk 049b202c6c package: remove obsolete scripts
these scripts are obsolete because we use libintelopencl.conf in
/etc/ld.so.conf.d.

Change-Id: I5f1c2fa856e8497ab1561e7ed65cde1f28570d99
2018-03-23 10:06:11 +01:00
Maciej Dziuban aa727b3bcc CapabilityTable adjustments part 1
- Extract hw_info_config.h from Linux directory
- Extract enabling HwInfoConfig from Linux directory
- Create dummy implementations for HwInfoConfig on Windows

Change-Id: Ic9c7525ba9d9b654f238fb661cdbb3eecc421e29
2018-03-23 09:37:39 +01:00
Dunajski, Bartosz 0e41bc7f71 Enable KMD notify on Linux for BDW and SKL
Change-Id: I465c7610cb03860a28a7246e376ea8183d2aee9b
2018-03-22 22:11:29 +01:00
Artur Harasimiuk dc902ab0f1 fix buildsystem regression
Change-Id: I89ec071199cc52856a43cae2c061380a0ac6abfc
2018-03-22 20:29:02 +01:00
Artur Harasimiuk b93a208886 build system improvements
Change-Id: I7f43535f01638f9aef1b7b80a01d10b74cc8e0fd
2018-03-22 17:35:32 +01:00
Dunajski, Bartosz 9486dba6dd Kmd notify improvements [2/n]: Use QuickKmdSleep for sporadic waits
- Measure time between wait calls. If delay is exeeded  use QuickKmdSleep
- Kmd Notify helper functions
- Refactor overriding from debug variables
- Refactor Kmd Notify tests


Change-Id: I123c31f492d98fd304184f99ee0bf7d733d06f04
2018-03-22 17:09:16 +01:00
Mateusz Jablonski c0a8522eb1 Cmake refactor part 19
- create new object library igdrcl_libult_env
- move sources shared between igdrcl_tests, igdrcl_aub_tests and
  igdrcl_mt_tests to igdrcl_libult_env
- partially cleanup unit_tests/mt_tests/CMakeLists.txt

Change-Id: I4f4bbfa5649d84d79133b9d5c9bd137c68b7d82e
2018-03-22 16:30:15 +01:00
Zdanowicz, Zbigniew 5052c07f5e Use gen type to disable debug kernel generation on gen8
Change-Id: I7cf4e9e4bdb6853f490616194abf090639f7371e
2018-03-22 14:36:52 +01:00
Filipkowski, Lukasz 9ce3a10248 Set custom build types for multi-configuration generators
Change-Id: Iae3fd3422a3b128a29ca11dab30c87dd546e05ab
2018-03-22 11:53:04 +01:00
Mrozek, Michal 5d3d3ff0e7 [16/n] Internal 4GB allocator.
- simplify os agnostic memory manager
- remove pointer map
- move cpuPtr allocate logic to graphics allocation
- do not release tag allocation while injecting memory manager
- remove not needed ref count from Memory Allocation

Change-Id: I6ad81ee919c9cde939bc754a9dfc2db7568397d2
2018-03-22 09:26:19 +01:00
Artur Harasimiuk ca86fe2461 package: add URL to Neo landing page
Change-Id: I7ccdcd6fc454c07321e0d39153daca00b78eae46
2018-03-22 09:08:03 +01:00
Dale Stimson cc30c2948e Clearlinux: default cfg files go to /usr/share/defaults/etc instead of /etc
Change-Id: I0c9fcb82f278b1ffab09b352f6b43103d6645484
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
2018-03-21 13:26:49 -07:00
Mrozek, Michal 6eef394ec7 Update internal.
Change-Id: I55413f25fe9ad228567dffaf3a0147e35809d874
2018-03-21 21:13:07 +01:00
Dunajski, Bartosz 516082e7c5 Kmd notify improvements [1/n]: Quick KMD sleep optimization
- KmdNotifyProperties struct for CapabilityTable that can be extended by
  incoming KmdNotify related optimizations
- Quick KMD sleep optimization that is called from async events handler
- Optimization makes a taskCount check in busy loop with much smaller
  delay than basic version of KMD Notify optimization

Change-Id: I60c851c59895f0cf9de1e1f21e755a8b4c2fe900
2018-03-21 20:41:33 +01:00
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