Commit Graph

5115 Commits

Author SHA1 Message Date
Maciej Plewka
a3bb60e17c Fix dont use srcTile type to calculate dst pitch value
Change-Id: I0d31cd5979f092bcf826898c7034b7b50a3c3c03
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-19 08:34:48 +02:00
Mateusz Hoppe
0e76e9db66 Unify Debugger::create methods and link to shared library
- OCL and L0 can share this method

Change-Id: Ice9488281a5c2a26ea09310319243880a6aa0682
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-19 08:26:18 +02:00
mraghuwa
fea3c94772 Retrieve system default values for sysman scheduler
Change-Id: Ia547493e88656ad840b935487e52bc67fa806ebb
2020-06-19 06:53:11 +02:00
Filip Hazubski
45f0bc56bc Add options when building the program
Report "-ocl-version=300" when OCL 3.0 is enabled.
Report "-cl-feature=" with list of supported features.

Related-To: NEO-4368

Change-Id: I9aee559ed53541a0f0c1a2a004926d9d29a53d94
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-18 18:54:50 +02:00
Adam Cetnerowski
f0aef442ec ULT renaming: Device Factory tests
Related-To: NEO-2236

Change-Id: Ib577eb1deafbaee6bbfd495f81199171cff98b82
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-18 18:30:45 +02:00
Filip Hazubski
fe13f0b522 Move IFP support flag to RuntimeCapabilityTable
Remove HwHelper::isIndependentForwardProgressSupported function.

Related-To: NEO-4368

Change-Id: I97061620ee6e96c4666bb8af5f009129ff0d9175
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-18 16:51:58 +02:00
Maciej Plewka
2930c8feba Fix fill allocation that is not aligned to pattern
Change-Id: Ie17c869f4ae8ac0dbedf154242bf8955f2bfd90d
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-18 16:31:00 +02:00
Filip Hazubski
4e7eb0115e Add mt tests for extensions with version queries
Change-Id: If159f1a473ba4a709388ac622692a84af220f387
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-18 16:23:05 +02:00
Andrzej Swierczynski
5d24d51ea6 Correct tests: pass valid device bitfield [4/n]
Related-To: NEO-4645

Change-Id: Ib105d811711b7a4fdfad91ac93606cfdeb6d4ccb
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-18 16:18:56 +02:00
Mateusz Jablonski
4623707eca Remove parameterless Image::getGraphicsAllocation method
Related-To: NEO-4672
Change-Id: Ib8cebf322d7d2f407627e15746896b315780c6bb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-18 16:12:54 +02:00
ocldev
429751b860 dependencies update
Change-Id: Icbc2f6551cfff512d6351bb21ad49b83fc585eae
2020-06-18 12:44:23 +02:00
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