Commit Graph

5236 Commits

Author SHA1 Message Date
Maciej Plewka
04ff7218e3 Use one blit command for copy region
Change-Id: I8a335b3ec58bf4b767d93435691acb036b5b2ce7
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-07-07 12:22:40 +02:00
Slawomir Milczarek
8569deca70 Add extended drm mock for DG1 platform
Related-To: NEO-4744

Change-Id: Ie3acde075a2a3de4a7f8702f59c835f76c830a2d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-07 09:58:03 +02:00
Mateusz Hoppe
fea4472553 Allocate per-context memory with specific GPU VA
Related-To: NEO-4829

Change-Id: I821f6709bfa98df3b51a1c966b7a953752d85f74
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-07 09:14:10 +02:00
Igor Venevtsev
1f63f39d77 Pass preferred GPU virtual address to mapMultiHandleAllocationWithRetry()
Related-To: NEO-4479

Change-Id: I4591b013e3c9bf459e944c34f3617aaa11a66baf
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-07-07 08:58:58 +02:00
Pawel Wilma
1543fd6103 Read _options.txt in ocloc also for non-standard kernel file extensions
Related-To: NEO-3776

Change-Id: I139cab31cddc1f02ac40e5c06cca0c24a1180cf2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-06 18:23:20 +02:00
Adam Cetnerowski
7fa7654d47 ULT renaming: Platform tests
Related-To: NEO-2236

Change-Id: I9989ab1e3bf0dd7197d7cd6ad0f8e5c728b8edb8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-06 18:07:48 +02:00
Maciej Dziuban
b1062812be Use family type from hwInfo in WDDM
Change-Id: I3120673781b4cc0eb170833ac42eab1aad718d79
2020-07-06 17:53:47 +02:00
Slawomir Milczarek
85152c5107 Fixed DG1 unit tests for memory info
Related-To: NEO-4744

Change-Id: I3e45d405befb0de0f12003a86bfc8a8cc1f2b4dc
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-06 17:22:39 +02:00
Mateusz Jablonski
980f7aeaef Skip ULT when there is no tested platforms
Change-Id: I91a08d999c05bac6d871d0b4b0c353fc76a9c40a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-06 17:10:39 +02:00
Mateusz Jablonski
3928205db1 Remove not needed assignment operator
Related-To: NEO-4672
Change-Id: I5351b799b87dc79689d865034f4a216aae1d6b8b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-06 13:56:33 +02:00
Slawomir Milczarek
db15e04f5f Add DG1 unit tests for memory info
Related-To: NEO-4744

Change-Id: Ib10719797f52e262ac7f77744f7407890cd23eca
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-07-06 12:46:58 +02:00
Krzysztof Gibala
a31db56769 Move isWorkaroundRequired to hw_helper files
Related-To: NEO-4751
Change-Id: Id2c87ee087e767c22adba1242010bb659be6684c
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-07-06 09:33:07 +02:00
Bartosz Dunajski
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
Kopryk, Kamil
383025d1bb Revert "Increase max parameter size"
This reverts commit fdf85aff7a.

Change-Id: I3f35aa3491d42c24cc6f9aef7bed22c8d6c98376
2020-07-06 08:53:29 +02:00
Konstanty Misiak
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
Bartosz Dunajski
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
Spruit, Neil R
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
macabral
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
Kamil Kopryk
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
Andrzej Swierczynski
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
Daria Hinz
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
Bartosz Dunajski
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
T.J. Vivek Vilvaraj
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
Lukasz Jobczyk
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
Mateusz Jablonski
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
Mateusz Jablonski
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
Adam Cetnerowski
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
ocldev
155324f795 dependencies update
Change-Id: Ic3a66df5e4a4b91aadc6dd980d457f116e549ba8
2020-07-01 17:53:32 +02:00
Maciej Dziuban
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
Bartosz Dunajski
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
Filip Hazubski
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
Mateusz Hoppe
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
Filip Hazubski
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
Adam Cetnerowski
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
Lukasz Towarek
d1faf086af Add threadsPerEUConfigs field
Change-Id: I90152b78512519bbe709be6beebdb28126de131e
2020-07-01 14:15:22 +02:00
Mateusz Hoppe
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
Pawel Wilma
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
Jaime Arteaga
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
Jaime Arteaga
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
Andrzej Swierczynski
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
Andrzej Swierczynski
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
Maciej Plewka
a661f4b878 Reuse hostPtr allocations
Change-Id: Ie7e24e6630b26809fac1215b66cd90b3cafda53f
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-30 20:44:16 +02:00
Pawel Cieslak
e96981b34c Update infra
Change-Id: I942ba561b15198044f54fee5a93eecbcadff0c7c
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-06-30 20:43:40 +02:00
Spruit, Neil R
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
Adam Cetnerowski
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
Adam Cetnerowski
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
Artur Harasimiuk
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
Zdunowski, Piotr
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
Mateusz Jablonski
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
Krzysztof Gibala
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