Commit Graph

5093 Commits

Author SHA1 Message Date
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
Artur Harasimiuk
8529ed7e46 infrastructure update
Change-Id: Ifcda4ebc03a26087841915ca8685aadc97519b76
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-08 12:22:41 -07:00
Jitendra Sharma
8dff60b6a5 Report correct PCI width from API zetSysmanPciGetProperties
If system reports incorrect PCI width, then check width against valid
value, and report correct PCI width accordingly.

Change-Id: I56f8fe96785ccd22032860d55dd96b81d5fc53f7
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-06-08 19:34:51 +02:00
Artur Harasimiuk
87b9c5f4e6 infrastructure update
Change-Id: Ia082b2507d2f22426f465a557974cd0df0e17a75
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-08 18:22:26 +02:00
SaiKishore Konda
16ee26f20d Add support for zetPowerGetEnergyCounter
Change-Id: I497e025690401ced668d653db4e0052852b6e570
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-06-08 17:40:49 +02:00
Mateusz Jablonski
d9cc640986 Pass root device index to Buffer::getGraphicsAllocation
Related-To: NEO-4672
Change-Id: I652a818a93b350670c8bccec023e57d1dddb6c0e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-08 17:40:13 +02:00
Zbigniew Zdanowicz
e286ada6b5 Add function to check local id generation required
Related-To: NEO-4585

Change-Id: I97c6a728dd08cde5e08ffcad1220a1ef007e1bae
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-06-08 17:15:05 +02:00
Adam Cetnerowski
d29a2d81f1 ULT renaming: Surface tests
Related-To: NEO-2236

Change-Id: I2f67875d2bf9673037b279896c50b24c079e18b9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-08 15:00:20 +02:00
Maciej Dziuban
fb43726cdc Enabling forcing fine grained SVM creation
Change-Id: I0eb0af5e72f5502b788c6c8be39728bc6948c0bb
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-06-08 14:10:37 +02:00
Pawel Cieslak
572779c8c1 Update infra
Change-Id: I7280f5f0a86b009f87913e6672a0442a09816d15
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-06-08 12:53:54 +02:00
Igor Venevtsev
397eae86aa Add CPU virtual address size report
Related-To: NEO-4525

Change-Id: I12ff095c07a71acbf2d6dceab04abb99daeaf885
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-06-08 12:28:41 +02:00
Adam Cetnerowski
1a5af87729 ULT renaming: Page Table tests
Related-To: NEO-2236

Change-Id: Idff4e26b2a3415d80f51fba68ab818d07322d96c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-08 12:08:20 +02:00