Commit Graph

5104 Commits

Author SHA1 Message Date
Artur Harasimiuk
ce710ac81a refactor hw_info_<X> processing in cmake
Change-Id: I4b5ac514fa1f7beca23676d45167752bcb053ea3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
20.25.17111
2020-06-18 09:32:18 +02:00
Mateusz Jablonski
e5671d8e22 ULT: setup productFamily and renderCoreFamily before using them
Change-Id: I005afe541f1bf01b6e28adf48d0e10eda121b03b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-18 09:09:31 +02:00
Lukasz Jobczyk
8f30d87a1e Unify release variables
Resolves: NEO-4719

Change-Id: Ib2ab959c0a1eb45f24a4e0e2f02c437d96d47751
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-06-18 08:56:29 +02:00
Jaime Arteaga
abdb707a39 Check for hardware limit for runtime device allocations
Use hardware limit, instead of the one used for device capabilities,
so applications can fully use the available memory in the device.

Change-Id: I910c610d7a3af254724a810c3c60b9da8d5d64a7
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-17 18:56:09 -07:00
Artur Harasimiuk
be9c62cbed infrastructure update
Change-Id: I2dd26e9154e92df45df1b3fbf0be3017779fb393
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-17 14:17:40 -07:00
Bartosz Dunajski
39828fb71d Add new debug variable to pause on blit copy
Change-Id: I150eea40fa77b80387eda33fd6afd1582b517b5c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-17 17:23:27 +02:00
Maciej Dziuban
7ef2e4304c Rename levelNotReady to notReady
Change-Id: Id482c6edd36d1bdd63558aa35f13dbb57e0efbad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-06-17 15:47:00 +02:00
Maciej Dziuban
5293b26dc6 Add isEvenContextCountRequired function
Change-Id: I6b0b16aca93fac587b9552493f24f329636cf8e0
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-06-17 15:38:15 +02:00
Mateusz Jablonski
10f3157828 Use root device index to access graphics allocation from image
Related-To: NEO-4672
Change-Id: I978462d048cb74051389e290e1e34b4599755fa7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-17 15:26:54 +02:00
Bartosz Dunajski
d42f872d07 Change DebugBreak thread implementation to NEO::Thread
Change-Id: Icbb659cf7c86bbd74e6375266d9ec2ee84278597
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-17 13:10:14 +02:00
Igor Venevtsev
3859e13322 Split large allocations on Windows due to Wddm limitation
Resolves: NEO-4479

Change-Id: Iffb862a93570a60c2126620d9e5106359acba64a
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-06-17 12:47:54 +02:00
Raiyan Latif
af2fe237b4 Add supportsOnDemandPageFaults to HW capability table
Change-Id: I99a2ed9cfaadb60d049628b03bc3abdfde4877b1
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-06-17 12:32:10 +02:00
Mateusz Hoppe
de2cce1238 Allocate debugSurface per RootDevice
subdevices should use RootDevice's debugSurface Allocation

Change-Id: I83a725ab574e33dc045f0a25715de682d1dc5efc
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-17 07:14:28 +02:00
Jitendra Sharma
1618a25d71 Fix error returning to user from zetSysmanProcessesGetState API
If after reading clients directory, while actually trying to
access the individual clients file, we receive a error
ZET_RESULT_ERROR_NOT_AVAILABLE, then it means that this process/client
might be killed/removed. Hence dont return error to user.
Instead simply skip that client's traversal further and move on
to next available client.

Change-Id: If86610a89d7b2421fd85560e5a223391b76d78a0
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-06-17 07:02:35 +02:00
Artur Harasimiuk
985bfa158a infrastructure update
Change-Id: I41a08cadb547ae28f8217c50890d06ba095f00e1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-16 21:55:50 +02:00
Bartosz Dunajski
240b97706f Fallback into legacy IOCTLs in case of incorrect topology data
Change-Id: Ibf0a3885729ab6cf5888534677ff73b875d142c1
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-16 14:13:41 +02:00
Artur Harasimiuk
2762ad7121 fix typo in setup_platform_flags
Change-Id: I98835ee1cee311e2d3c5b9bb1da0914c6e111fd7
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-16 13:09:09 +02:00
Pawel Cieslak
3d1c5d28e3 Infra update
Change-Id: I247e8d4bdfb33a2b2481e6d55bda41a7b8eb1821
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-06-16 10:39:55 +02:00
Kamil Kopryk
74c4536a8c Refactor blitter functions for images, make blitProperties const
Change-Id: I5a9aa96771a6b29113bb81d39ec32adc6e3c778c
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-06-16 10:30:52 +02:00
Jitendra Sharma
b558c9ca30 Retrieve Temperature for multiple sensors
Create two handles for Global and Compute temperature
sensors.

Change-Id: I5da90135a803df71372c9c4be9dc891ca64fc214
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-06-16 05:52:14 +02:00
Artur Harasimiuk
b354dfe32c infrastructure update
Change-Id: I36f1568c4dd81fb045f83eb1f3e183a7997bfee2
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-15 23:30:45 +02:00
Artur Harasimiuk
b817c9abfa add missing override
Change-Id: I2db6b415fd4c79f7040452380d9e340780a6ad78
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-15 20:47:08 +02:00
Filip Hazubski
e6fb967945 Update CL_DEVICE_OPENCL_C_FEATURES query
Update query to return proper values.

Related-To: NEO-4368

Change-Id: Ie307429b3bf3a55fadd412a76a1eeb44e010aec8
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-15 18:05:44 +02:00
Filip Hazubski
dc02c41fae Correct gen12lp device caps test
Related-To: NEO-4368

Change-Id: Id9608871d0e19b2787e7f90027f60ebccc59b436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-15 17:50:05 +02:00
Maciej Dziuban
3d919ed96c Do not check tag value for temporary allocations
Related-To: NEO-4624
Change-Id: I74ac6b0d4b9a7de689e68b12c23f7baa40f25304
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-06-15 16:38:47 +02:00
Mateusz Hoppe
0d7d2c0be0 Fix casts between Device, DeviceImp and device handle
Change-Id: Ib267239cd041aa812e7d4d7e5cda6daf5b4b6d2c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-15 15:51:18 +02:00
kamdiedrich
0443b97927 initial support for rgbp format
Change-Id: Ib266d6c64482a9b4a4384714a369ad159affd8d9
2020-06-15 14:39:24 +02:00
ocldev
e854042302 igc revision update
Change-Id: I3b0b70fc61baa1df262d7febf45124440ab70e5d
2020-06-15 12:15:25 +02:00
Artur Harasimiuk
07c278fca1 infrastructure update
Related-To: NEO-4561
Change-Id: I70d8cc92054fa50cb69dab92ed92997f93c023ff
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-15 11:16:04 +02:00
Bartosz Dunajski
38328369b3 Rename unit test
Change-Id: Ie3ebe300d088a93d36abcceb8913812c678de902
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-15 10:55:13 +02:00
Bartosz Dunajski
5af401b7bb Discover GPU topology from i915
Resolves: NEO-4718

Change-Id: I0547c109b961c3732e64b6f22ec761a5943c65ef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-15 10:32:29 +02:00
Jaime Arteaga
59da9598aa Return INVALID_ARGUMENT for system-allocated pointers in kernelSetArg
Change-Id: I5ad50f8d60c5a54aedf24484a65400352ec855df
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-14 19:21:49 +02:00
Filip Hazubski
851e894ab6 Update device caps initialization
Change-Id: I2488b2a07463efefaba03ff1d979cd7034f54136
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-14 19:18:39 +02:00
Jim Snow
5dc7c2368e Improve error handling for unsupported image creation
Change-Id: I4aeec25f32164b8cf71a78d742b7de254e97aed2
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-06-11 15:05:23 -07:00
davidoli
95aaac204d Add missing mutex for retired tracers iterator
Change-Id: I795d353f66628a89fc3054f9622640deef1e18c7
Signed-off-by: davidoli <david.olien@intel.com>
2020-06-11 11:24:17 -07:00
Jaime Arteaga
1a89335386 Add reg key for enabling cross device access
Change-Id: Iede7bc8c6fc2ea7fd8594b6b3e2ffb40820d303b
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-10 22:11:44 -07:00
Jaime Arteaga
775ce2cbee Expose devices according to ZE_AFFINITY_MASK (2)
Read the env var in hexadecimal format, as spec defines it,
and allow for empty string to be the same as default value.

Change-Id: I201c81733ac3d55a5c9ba50b42e28a8cf3414a6d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-10 10:28:48 -07:00
Mateusz Hoppe
c4cb212c28 Cleanup includes in preemption tests
Change-Id: I1470215a2bdd6ac155b12cf2c5062c6ce51d6502
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-10 13:22:26 +02:00
Mateusz Hoppe
22076663e4 Pass options to compiler during program linking
"-cl-intel-gtpin-rera" and
"-cl-intel-greater-than-4GB-buffer-required"
passed to compiler as internal options

Resolves: NEO-4723

Change-Id: I059027880e9a98aa063f4cd64e84e28311663f46
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
20.24.17065
2020-06-10 12:52:02 +02:00
Adam Cetnerowski
4324b0178a ULT renaming: Unified Memory Manager tests
Related-To: NEO-2236

Change-Id: Iebc70e8b66875f38bc2ffb5e65b540e1b51325cc
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-10 12:20:24 +02:00
Adam Cetnerowski
e1cfa1e5b7 ULT renaming: File Logger tests
Related-To: NEO-2236

Change-Id: Id0d26d65cb024f7e192915fbd6e3bc62a446caa4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-10 12:00:08 +02:00
Sebastian Luzynski
2fb1dd439e Add debug variable for logging drm_buffer object
Change-Id: Ida9635705172c1059b6adf4b6f55fdf4bc50c5b1
2020-06-10 11:47:32 +02:00
Mateusz Jablonski
55ba0ab459 Remove parameterless Buffer::getGraphicsAllocation method
Related-To: NEO-4672
Change-Id: Ie995047b010c45030bec37387358acae0d7f139b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-09 17:36:15 +02:00
Mateusz Hoppe
d55a0ae5c6 Detect enable program debugging env variable
Resolves: NEO-4713

Change-Id: Id9ce30b84943c4b364f7756a430d58df2614a28b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-09 15:23:20 +02:00
Kamil Kopryk
dadbd5a09f Add debug flag to override bank index in local memory bank selector
Change-Id: Ie85129fc7cbdeb9cfa88b401430f983c096a868f
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-06-09 15:04:37 +02:00
Mateusz Jablonski
87596d2387 Use root device index when accessing graphics allocation from buffer
Related-To: NEO-4672
Change-Id: I31ed0aa567276b606f4b09733ca2a8d678f9786f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-09 13:40:29 +02:00
Konstanty Misiak
9e8945ca83 Move shared tests to the new target [3/n]
Change-Id: I2479d283cffc9c7f8b49ac616026d9afa491da29
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-06-09 13:01:36 +02:00
Zbigniew Zdanowicz
77de2dd770 Move SLM functions to HwHelper class
Related-To: NEO-4585

Change-Id: I073e4138ef34584780a10a63ba8a2eb57eaa11bd
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-06-09 12:51:49 +02:00
ocldev
f40216441d dependencies update
Change-Id: I04cb08fcdfc1d20135b707614dcc637c636a96dd
2020-06-09 09:14:25 +02:00
Bartosz Dunajski
5a8e2accb2 Add blitter support to PauseOnEnqueue
Change-Id: If2fd0560c07b2baaf286be152770e9bad8fef770
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-09 09:11:46 +02:00