Commit Graph

5224 Commits

Author SHA1 Message Date
3f64cc0e4d Improve debug flag to force aux translation
Change-Id: Ie17d3dc850de657144c7ba8b9bb7af85d77d4655
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-06 09:11:30 +02:00
383025d1bb Revert "Increase max parameter size"
This reverts commit fdf85aff7a.

Change-Id: I3f35aa3491d42c24cc6f9aef7bed22c8d6c98376
2020-07-06 08:53:29 +02:00
0ca7e5b5ae Fix ocloc -device option
Related-To: NEO-4782

Change-Id: I2e7752a4f9f1bdf4cc1c45549e39139d8e77b89f
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-07-03 11:51:58 +02:00
d712a015b4 Use correct heap for GSBA programming
Change-Id: I85d3b478e8c3749501ca6eb76224d95b4dbbb86c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-03 09:12:34 +02:00
5734d0df70 Fix to kernel name size copy given > 256 on windows
- Enables truncation on windows for kernel name > 256 to
 account for the null terminator.

Change-Id: I97ba4d5a65d9675d6c0da70b8eab5bdff28b7dc0
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-07-03 12:42:15 +00:00
e08022e9c7 Support for Platform Monitoring Technology
Add support for Platform Monitoring Technology,
and read temperature and energy counters.

Change-Id: Ic2c79e902400148cc538267c498fc1d0185c81f8
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2020-07-02 19:41:06 +02:00
fdf85aff7a Increase max parameter size
Change-Id: Ia1fc949dfcc1ef2eb7dbea7e55cc2fa1483405a1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-07-02 17:24:31 +02:00
60fa332764 Correct tests: pass device bitfield to allocation properties [4/n]
Related-To: NEO-4722

Change-Id: I1074aa4379c2e7aaa51b079f0fd2ddfbc8cc5e08
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-07-02 16:34:25 +02:00
d00a663e63 Extract SpirV generation to separate build method
Related-to: NEO-4678
Change-Id: I8371172f786c6d4042755532b77603224264d61b
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2020-07-02 12:38:32 +02:00
2e87c872b5 Select correct heap for programGeneralStateBaseAddress
Change-Id: I21744fbc67551d358e03b3ee44f649ba8d62eb45
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-02 11:03:03 +02:00
96a7b1e066 add rules to install RAS udev rules
- create rules to install Udev rules in configurable location
- create files relating to RAS counters

Change-Id: Iebd57ba2dd09494ea4586b305cd56c86a71fb8b0
2020-07-02 10:25:21 +02:00
e027a2653d Move makeResidentBufferObjects to DrmAllocation
Related-To: NEO-4732

Change-Id: Ib7b7a46b0a9fd1d5cc1b89f64f66bc78cab5c563
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-02 09:50:26 +02:00
93c1e1b976 Add MultiGraphicsAllocation to USM
Related-To: NEO-4672
Change-Id: I53ea4bea73ae6d52840146f63bc561bb90f9fe62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-02 09:39:21 +02:00
5bc511b77d Remove MemObj::rootDeviceEnvironment
Pass Device to Buffer::setArgStateful

Related-To: NEO-4672
Change-Id: I0b7ed3ee578139f250c8470532dc0ae2eb2991e1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-01 18:47:32 +02:00
6ba5fe2e86 ULT renaming: WDDM Residency tests
Related-To: NEO-2236

Change-Id: I9fc49dae3e8a7f18ed1cde455c66ec0774165de1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-01 18:32:30 +02:00
155324f795 dependencies update
Change-Id: Ic3a66df5e4a4b91aadc6dd980d457f116e549ba8
2020-07-01 17:53:32 +02:00
79821f5d76 Do not create shareable 64k paged allocations
Change-Id: I25620848533dbe96172e8582b64a53655c3e7d0e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Resolves: NEO-4720
2020-07-01 17:52:18 +02:00
6dd07bd3bc Use correct Heap32 index for local memory allocations
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-01 17:31:43 +02:00
4076d3e294 Update BlitCommandsHelper
Add getMaxBlitWidthOverride and getMaxBlitHeightOverride functions.

Change-Id: Idf23725f5d3336118979c2b5731b023d934374d6
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-01 16:27:57 +02:00
da3c9dba0e Check SourceLevelDebugger is non-nullptr before use
Change-Id: I0c270158e743ee8d301903d4ad3b6b9815a758b8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-01 15:25:22 +02:00
29821b5a25 Update SettingsFileReader
Improve parsing to be less strict.

Change-Id: I123a98bb8341b007c8fe6e7556ebaa113d1f076e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-01 15:07:35 +02:00
949e4cba76 ULT renaming: WDDM tests
Related-To: NEO-2236

Change-Id: I839e6a5a9f03d4011240cc423266095e1d9263a4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-01 14:44:16 +02:00
d1faf086af Add threadsPerEUConfigs field
Change-Id: I90152b78512519bbe709be6beebdb28126de131e
2020-07-01 14:15:22 +02:00
5eafc349c9 Introduce SBA tracking buffer allocation
Related-To: NEO-4637

- allocate sbaAllocation in L0 debugger

Change-Id: Ia1be1ad637bbdd6e7f12ca6fdfb0c486ba23a040
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
20.27.17231
2020-07-01 09:46:05 +02:00
2e6fc92372 Initialize hwInfo in ocloc before passing it to IGC
Related-To: NEO-3735

Change-Id: Ice69f6b21b960bda8fe4aa9667bc03cc3dbbc086
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-01 09:34:01 +02:00
be5364ac2f Use Level Zero core tests's main file for tools
No need seen for having two.

Change-Id: I138390c4ed6f467aee0326746a8fc5479dbba9f8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-01 01:39:43 +02:00
8113fafe53 Disable cross-device indirect access
Change-Id: I57655abfc02785dfd68384a1546ee4cfdbea938a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-30 21:42:47 +02:00
351af1d3de Correct tests: pass device bitfield to allocation properties [3/n]
Related-To: NEO-4722

Change-Id: Id1459e6a2ebd71e410193cfbdfa2cfa44edf3b1d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-30 21:13:25 +02:00
dd8c712563 Correct tests: pass device bitfield to allocation properties [2/n]
Related-To: NEO-4722

Change-Id: I435eed19491babdd95ff9d0e860bf3008a544e9e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-30 21:07:02 +02:00
a661f4b878 Reuse hostPtr allocations
Change-Id: Ie7e24e6630b26809fac1215b66cd90b3cafda53f
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-30 20:44:16 +02:00
e96981b34c Update infra
Change-Id: I942ba561b15198044f54fee5a93eecbcadff0c7c
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-06-30 20:43:40 +02:00
00494116f4 Fix capabilities table for DG1 causing L0 init failure
Change-Id: Ia3742bf8cef6693607e4a457c5528da5bce618c1
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-06-30 08:56:53 -07:00
3109581c41 ULT renaming: OS Library Win tests
Related-To: NEO-2236

Change-Id: Ide7199ca91b1831debf30d25f63b009ba1740565
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 16:52:47 +02:00
8df5287aaa ULT renaming: GDI Interface tests
Related-To: NEO-2236

Change-Id: I43e968ba147849c745d76d7ec74861e5a1c5b122
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 16:14:00 +02:00
67665d70a2 refactor hw_info_config_<X> processing in cmake
Change-Id: I3508822fc7d0fde29f1a70f7ed1991b7c1c47726
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-30 15:49:46 +02:00
c01e4b7246 Remove return from void method.
Change-Id: Ib9a2fe7942984aa72a241eeaf10cbbe0b83ca903
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2020-06-30 15:37:59 +02:00
c96fd30e4c Pass root device index to Buffer::setArgStateful
Related-To: NEO-4672
Change-Id: Ic846eac488809bd7d9534bb7378d9398acd36451
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-30 15:26:55 +02:00
28aa29bcbd Add definition of workaroundRequired function for DG1
Change-Id: If934bfddd678fb482cb2ff08635fe1ae214dee0a
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-06-30 15:19:01 +02:00
911e33af5e ULT renaming: Device Command Stream tests
Related-To: NEO-2236

Change-Id: I393861d5ac0d8f8affa3121d076f0a4527f474e2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 14:46:22 +02:00
ac452a267b Remove unsupported DRM I915_EXEC_COMPUTE flag
Related-To: NEO-4744

Change-Id: I1e9da6ec58f8b0144a7371e702a0c3a8425864d7
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-06-30 11:58:35 +02:00
f97993ec31 Pass root device index to Image::appendSurfaceStateParams
Related-To: NEO-4672
Change-Id: I65b9fcf6c668b903dc4fe134e51202e7c7f093e3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-30 10:53:45 +02:00
80b983d6d2 ULT renaming: Device OS tests
Related-To: NEO-2236

Change-Id: I4cf9ca855b8c06f2cece5f91b8cff5b10d39afaf
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 10:18:32 +02:00
489521da97 Fixed Image size used in Copy From/to memory for null regions
- When peforming Image Copy from/to memory, the size of the image and thus the
memory should be expected to be at maximum the size of the
image width, height, & depth in the user's descriptor.
- When a user passes in a nullptr for the destination or source region the
width, height, & depth of the image region should match the image descriptor
that was passed in by the user at image create.
- The Physical image allocated may be larger than the user requested.
This new size cannot be used in the Copy to/From memory otherwise device data
corruption will occur.

Change-Id: I950f6fd1d5ddc9911dd235f84e1cf00618e4e2a3
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-06-29 22:48:29 +02:00
c4cb8c1c81 Add thread programming to Encode class
Related-To: NEO-4585

Change-Id: I45e57038af23a60f52b57eb1888f8220b77f5e56
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-06-29 20:24:26 +02:00
33faf4a1e7 Fix readOnlyMap property for enqueue SVM calls
Change-Id: Iafada034541628babbddd6cda4873ff6b4cf93f2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-29 09:38:56 +02:00
5b61ad0966 Add stub for dynamic link function and for extended kernel properties
Change-Id: Ifaaf1226114233618e7959def086989cf93bd0bd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-29 02:11:29 +02:00
4cb6c17d21 Add missing header
Change-Id: I8c48c3262591273d208efb235be53840684f600a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-26 17:15:04 +02:00
107f07eb08 Optimize BCS flushing scheme [3/n]
Change-Id: I806d642c869bccfe40a1eb0c58b6a2f53e071cd8
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-26 16:45:39 +02:00
0d5d793a01 cmake: rename variable to better reflect its purpose
Change-Id: Ic65ac52d94ca48d4d3c113ab25fbb35b9fc5558e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
20.26.17199
2020-06-26 13:28:39 +02:00
86dc5bacc7 Optimize BCS flushing scheme [2/n]
Change-Id: I6f1e0115b9c45f89afb86f8fd2304604243541df
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-26 11:37:24 +02:00