Commit Graph

5136 Commits

Author SHA1 Message Date
Konstanty Misiak e0f2656513 Move shared tests to the new target [n/n]
Related-To: NEO-4780

Change-Id: I6b44d45909c9973d2ff18096839550a6d2641b02
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-06-23 20:47:54 +02:00
Filip Hazubski 0992c9342d Update ILs with version query
Related-To: NEO-4368

Change-Id: Ic8d51b444dcf1c4bd46b059babbf9e2b7e8a4cec
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-23 17:08:05 +02:00
Bartosz Dunajski 61cf2b6c33 Debug flag to override BCS cache flush requirement
Change-Id: I5958835fbf2cd56bd5e46cdc4b10a87a1cc2471c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-23 12:01:22 +02:00
Bartosz Dunajski 6645cd99e6 Debug flag to override revision
Change-Id: Ie4057baa0fcc6ba9281436fcfd09a75380ca8fd0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-23 11:25:24 +02:00
Andrzej Swierczynski 2b7ce21709 Pass valid device bitfield while allocating memory
Related-To: NEO-4645

Change-Id: I96eaf3c4f5aba8b8b3de36182accdc16f28f7ee4
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-23 08:52:08 +02:00
Mateusz Hoppe dd407681ff Check if kernel was compiled for debug
Related-To: NEO-4776

Change-Id: I54fe64430bf0c4d7972018367340a2ac88a94f99
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-23 08:51:31 +02:00
Maciej Plewka 2beccf9dc0 Fix Read timestamp register once when memory copy
Change-Id: Ibd02275cefbaebd702e3d40eb23e153840741aec
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-23 07:45:15 +02:00
Artur Harasimiuk 87b3acc18a infrastructure update
Change-Id: If953d7a0fa45a8a7ff759ce76446b8e4cade9889
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-22 18:23:10 +02:00
Igor Venevtsev 5334f800ea Fix destruction of shared handle allocations
Related-To: NEO-4479

Change-Id: Iad7581c40948d2bc83c18a36b230254ee92fc0f7
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-06-22 18:10:31 +02:00
Spruit, Neil R e1d9f92b94 Fixed Global Driver to be void * with library unload driver cleanup
- Changed Global Driver to be a void * to avoid auto add of Global
Driver Destructor to run before destruction of other L0 data structures
that might be enqueued to destory in static object destructors.
- Added register of library unload driverdestructor to cleanup
driver/device as the last destructor run.

Change-Id: I8ba6c5c27424b942a86a2613edd52fc682ab1c64
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-06-22 12:59:03 +02:00
Adam Cetnerowski a9c2840770 ULT renaming: OS Interface tests
Related-To: NEO-2236

Change-Id: Ibde858174cf85e4491450b4b63b86bebc7d709c2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-22 12:40:25 +02:00
Artur Harasimiuk cf4a193184 infrastructure update
Resolves: NEO-4561
Change-Id: I01507a9735473087c420833f3d01eef842d2f62d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-22 10:23:54 +02:00
Bartosz Dunajski 5837b89232 Change flushing order for BCS submissions
Change-Id: I561e89b7663ae6fd0a1ac3d57dc88dbf6c1e7c87
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-22 08:56:58 +02:00
Mateusz Hoppe df75856f17 Move EnableCrossDeviceAccess to release_variables.inl
Change-Id: Id16776ebb406ac06e9db534b8b743c24fa1e98d1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-21 22:15:35 +02:00
ocldev c1b8ae7354 igc revision update
Change-Id: Ia9c1d9e894177ddcb98b037834b070149e66879d
2020-06-19 16:34:54 +02:00
Artur Harasimiuk 1d5156380e cmake: refactor BRANCH_TYPE evaluation
Change-Id: Idc811e231dd993e9ff82c6080a7da69149b6da77
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-19 16:24:35 +02:00
Mateusz Hoppe 68847ef942 Create L0 debugger object
Related-To: NEO-4713

Change-Id: I9d10019bbe6e8514ce10bdd729a64ea233bf91b0
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-19 15:46:52 +02:00
Milczarek, Slawomir 3029db07c3 Add DG1 support to OpenCL and Level Zero (1/n)
Related-To: NEO-4744

Change-Id: I7e574d7cf003ed01467c72e797187c0717bb76f2
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-06-19 11:59:28 +02:00
Bartosz Dunajski 2500357ad5 Debug flag to force implicit flush
Change-Id: I40f1ecb323a61242cbf230e02ba14fce510dbabf
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-19 11:34:37 +02:00
SaiKishore Konda 1a90061d54 Updating Sysman Power APIs for Set/Get thresholds
- APIs zetSysmanPowerGetEnergyThreshold & zetSysmanPowerSetEnergyThreshold

Change-Id: I052d4df989bc02549936cff5b0f9a801a34e320b
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-06-19 08:55:13 +02:00
Maciej Plewka cf9d338178 Use FAST_COLOR command instead of COLOR for tgllp
Change-Id: I9c94ecd9afb6030e96a75ecd0c882711d1c775de
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-19 08:48:30 +02:00
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>
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