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
059104adef
Fix for double scheduler compilation.
...
Change-Id: Ia265686354b288dc4817909f58680e1824079ad2
2018-03-15 15:55:35 +01:00
c0d3eade30
Disable wait timeout when flushStamp is 0
...
Change-Id: I416ace1f8c1a3e5aa91d9bc2425a4faa77e2fbe7
2018-03-15 15:44:17 +01:00
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
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
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
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
dede44f0dd
cmake refactor to allow sub components to use the same settings
...
Change-Id: I7e8a1e51d27406e0a8f1eeb227374c2f938f028b
2018-03-15 09:30:58 +01:00
d6cc695c9c
cmake: properly set variable inside function
...
Change-Id: I6a7060077dd9deced16ac031b8242c3e5a78e679
2018-03-15 08:50:40 +01:00
a1487178eb
igdrcl_tests: move gtest exception options to cmake variable.
...
Change-Id: Ib1fad1f3c342781ef0f43f90ddffe39c728728c8
2018-03-14 16:21:03 +01:00
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
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
d62bd0b687
dependencies update
...
Change-Id: Ib610593a7129fecd39f5f30b531b432d8024c087
2018-03-14 12:32:38 +01:00
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
ea412d210f
utl/drm: remove unused code
...
Change-Id: Ic793d471a7f71db7aa17be2ab24226d74df80fa7
2018-03-13 16:13:08 +01:00
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
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
00ae077913
[14/n] Internal 4GB allocator
...
- call make resident on sip kernel allocation.
Change-Id: I9c9af5ed4cec3e8b05decac7228658358ef1562b
2018-03-13 10:29:50 +01:00
5eb96ade7a
Update internal.
...
Change-Id: I2ca010a2a28a1c092a43208c55f42d18cfa37ec3
2018-03-13 10:28:19 +01:00
edfdf3c66a
ult: catch&handle SIGABRT
...
Change-Id: Ifaeed398d0e8a462ab1c6560b775453bbb2328a2
2018-03-13 08:25:21 +01:00
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
0ef0d6fc52
includes cleanup
...
Change-Id: Ibd4f5bfc2816c538f846dd7baf2e90005f8790f0
2018-03-12 21:23:29 +01:00
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
bc08ecdcea
Drm: getparam helper function
...
Change-Id: I4ecb1082f5e00087e8993f0d9e93dee9a23b6140
2018-03-12 15:26:37 +01:00
78bf486bfb
Turn on EnableDebugBreak by default and infrastructure update
...
Change-Id: Ie7e12a7e1509f0a7a5962e97042dca8fa714d132
2018-03-12 14:05:16 +01:00
8254d6a081
Ensure that submissions are flushed prior to csr destruction.
...
Change-Id: Ie04de561d3d295f40f55a19f01274d873d259abd
2018-03-12 12:54:47 +01:00
3d139c204e
Remove unrecoverable.
...
Change-Id: I4f8db72668d8d36a68f46a591ee0823b35e41fb7
2018-03-09 16:20:28 +01:00
6956c59436
Remove obsolete DEBUG_BREAK_IF
...
Change-Id: Ia3622076256784587db61db24ac888dab62dfec6
2018-03-09 15:31:58 +01:00
38c352d044
[12/n] Internal 4GB allocator
...
- allocate graphics allocation for sip.
Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
2018-03-09 14:19:06 +01:00
3f5a56ac1c
Adding "-internal_options" to cloc
...
- new parameter for passing internal options string
to compiler
Change-Id: I4eb75922a079eb5dcffbd3bf83141cf42a4d2830
2018-03-09 13:21:18 +01:00
12b7c551d8
use ADAPTER_INFO in one method only
...
size of structure can vary. Create single point of conversion to extract
required data and store them in Neo specific structures.
Change-Id: I822ec633014aa7394cbd626ecbc275e32e61cf60
2018-03-09 12:30:05 +01:00
2bb64b2d11
[11/n] Allocate graphics allocations during processKernel.
...
- This ensures each kernel has ISH set up after it is created.
- refactor freeBlockPrivateSurfaces to freeBlockResources, this is to properly
clean allocations for blocks
- Add method cleanCurrentKernelInfo to avoid code duplication in KernelInfo
cleanup
Change-Id: I01f155d434579fe5ce2675bc4e89b04628ef8158
2018-03-09 11:13:08 +01:00
8d5e099aa3
Adding "output" option to cloc for output filename
...
- instead using input filename for output files,
use name passed as an option.
Change-Id: Ibfa35b1d48d1b92dcfa67c5d59d9ea6a3c2e7639
2018-03-09 09:35:02 +01:00
383ceb0010
Add an option to re throw on failure.
...
Change-Id: Ifa78c5a57f5252068b46516e04e36aa5df43239b
2018-03-09 09:03:50 +01:00
bdfd90bcf1
Move function definitions to cpp file.
...
Change-Id: I5e4d41d9ccb5ee0502fd628be16a8a810f9534a3
2018-03-09 08:45:12 +01:00
6674e93b69
further cleanup on ARTIFACTS_DIR
...
Change-Id: Iec2a5fed2e1626300425c09574a388806d4746e1
2018-03-09 08:37:11 +01:00
08c2379f6e
Validate region and origin for all image API calls
...
Change-Id: I28782d8838cf8f5d800f76c922fcb59235f637a1
2018-03-09 08:24:25 +01:00
2fd122398f
package: don't use hardcoded names of library names
...
we already receive target names as a variable. let's use this when
creating package
Change-Id: Ib49ca4360b78b3edab87fd0bbef90f651f1df865
2018-03-08 23:34:56 +01:00
a8b5a66439
Cmake refactor part 12
...
igdrcl_tests: define os_interface sources in subdirectories
Change-Id: Ibbf1754bf7a095f22ad152db709614f7e40ed2fb
2018-03-08 22:55:07 +01:00
8c8b47026d
Cmake refactor part 13
...
Cleanup offline_compiler/CMakeLists.txt
Cleanup unit_tests/offline_compiler/CMakeLists.txt
Change-Id: I1f4a2384ca64abd068b30a33ec643fa294ebaae3
2018-03-08 21:39:34 +01:00
50e17af9aa
cmake: remove support for building icd as a part of our workspace
...
ICD is external component and is expected to be installed in OS. No need
to build it
Change-Id: Ibd9fda204e296d46a25133a7a512a786c3643809
2018-03-08 17:40:38 +01:00
fcb9a591b0
Add AUB generation in parallel to execution on TBX
...
This commit adds support for AUB capturing with simultaneous execution on TBX
Change-Id: I046bac6b953708007c525050fbf9357120a310b6
2018-03-08 16:52:52 +01:00
003a277c3a
Cloc cmake cleanup.
...
Change-Id: I6985beb60dbbd1feffb1000f7b8b951ebe15b8f5
2018-03-08 16:40:33 +01:00
c6441eba9b
Cmake refactor part 10
...
Cleanup cmake files in runtime dir
Add missing files to solution
Change-Id: I5d0cf8b658039f7bdf21681ac6e3750a5699d311
2018-03-08 15:35:25 +01:00
9d60c31dc8
Cmake refactor part 11
...
igdrcl_tests: define target sources in subdirectories H-M,P-U
Change-Id: I4539999c33ab5e5c3f5ec6909090c5c89daf7841
2018-03-08 13:23:27 +01:00
2ac12afe58
Remove unused variable
...
Change-Id: I2274844129072beb03e41029ad526a9e765911b1
2018-03-08 12:24:06 +01:00
23c1c4fea6
clEnqueueMapImage origin and region usage fixes
...
- Return error on origin > 0 or region > 1 when its not allowed
- For 1Darray, array region and origin are stored on 2nd position.
For 2Darray, its on 3rd postion
- Fix map offset for 1Darray image
- Fix CPU data transfer for 1Darray image
Change-Id: Id35ba5f54f117e7af318ca7e6e03c1fc942ce729
2018-03-08 08:54:48 +01:00
6db6c67957
Cmake refactor part 9
...
igdrcl_tests: define sources in subdirectories D-G
Change-Id: Ie9adb3a1f78ce922f07a90c1e7268acb776df3a0
2018-03-07 19:42:51 +01:00
d0011634d3
Fix for run_cloc_tests warnings.
...
Change-Id: I8cd554f9ec2028544810b29154cc9a4937450553
2018-03-07 19:25:03 +01:00
8b726368d5
[10/n] Internal 4GB allocator.
...
- Sip kernel now uses Program
Change-Id: Ibba11a5686502084a8b7fa99732f8bc2ee78dcc5
2018-03-07 19:21:16 +01:00