Commit Graph

5151 Commits

Author SHA1 Message Date
c1dc8a8c3c Optimize BCS flushing scheme [1/n]
Change-Id: Ia192d24196e46fc281c401c241044f3429c16693
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-25 11:01:19 +02:00
c5f3fe5987 Add ClDevice::isOcl21Conformant function
Do not report support of OpenCl C 2.0 if device is not OpenCL 2.1 conformant.

Related-To: NEO-4368

Change-Id: I076d539506760953cc28eed39ff5e7585630df51
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-25 10:52:59 +02:00
0c9c55cd17 add counter support for RAS.
- added dual handle support for RAS Correctable and Uncorrectable Errors.
- added reset counter for RAS.
- added Os Specific ULT for RAS

Change-Id: Ia10115bf6720ab211f549571e810ec0d6c0801ec
2020-06-25 08:48:11 +02:00
fa3cb35fde Add check if device support Images.
Related-To: NEO-4675
Change-Id: I0c2b6e04536e45e70748983521e8469dd3dad697
2020-06-24 23:38:03 +02:00
d635eb6300 Move event timestamp function to cmdlist_hw.inl
Change-Id: I0fdff3a70172a81a32e416d62b00bc57420640f3
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-06-24 21:50:51 +02:00
c22a117e07 gmmlib revision update
Change-Id: I6470ac5b657749eeea3d1409e3199ffb34c881d5
2020-06-24 20:13:56 +02:00
5dc3aed5b9 Add Debug flags to force Pipe and Device Enqueue support
New flags are ForcePipeSupport and ForceDeviceEnqueueSupport.
Flag DisableDeviceEnqueue has been removed.

Change-Id: I8794222ee26dc8001af29c45cb9f63381e18e5c4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-24 17:31:48 +02:00
251994149a Expose DRM interface to sysman APIs
Change-Id: Iab4d42cf90c9804c2b036045f3990aedd31efa91
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-06-24 16:40:49 +02:00
5bd5784559 New AllocationType for debugSurface
Related-To: NEO-4797

Change-Id: I851b6cc5b33fb286bea9d175506e932339701f93
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-24 16:16:04 +02:00
81cc0afb1e Use root device index to get graphics allocation from buffer
pass root device index to isCompressed method

Related-To: NEO-4672
Change-Id: I6805254b09c86c0e0fb9333f8eb35d6dee73d327
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-24 16:08:49 +02:00
15b91c4d45 Program debug commands for DebuggerL0
Related-To: NEO-4547, NEO-4549

Change-Id: Idf9139190a85aae7ec52de7a1899a46123809e63
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-24 15:48:38 +02:00
f5e9abae3d Pass root device index to setPipeArg function
Related-To: NEO-4672
Change-Id: I2f2034dd5e35a93c50f5ef7616b46ceb596a8412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-24 14:15:13 +02:00
01ef53e49d Add allowRenderCompression helper
Change-Id: I13b5680d93f8aa8eb661534e1b0ab5284a50806a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4793
2020-06-24 07:20:59 +02:00
13dd76b0ff infrastructure update
Change-Id: Ia5150c745874fc5b9973047c201571774930bf51
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-24 00:26:56 +02:00
f2c94a00a6 Correct LKF and EHL device info
Report supportsDeviceEnqueue equal false when device does not support
OCL 2.1 features.

Change-Id: I64e157a70d4a24c3c6256ad204d988dc4b033932
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-23 22:37:37 +02:00
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
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
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
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
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
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
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
87b3acc18a infrastructure update
Change-Id: If953d7a0fa45a8a7ff759ce76446b8e4cade9889
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-22 18:23:10 +02:00
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
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
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
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
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
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
c1b8ae7354 igc revision update
Change-Id: Ia9c1d9e894177ddcb98b037834b070149e66879d
2020-06-19 16:34:54 +02:00
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
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
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
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
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
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
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
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
fea3c94772 Retrieve system default values for sysman scheduler
Change-Id: Ia547493e88656ad840b935487e52bc67fa806ebb
2020-06-19 06:53:11 +02:00
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
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
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
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
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
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
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
429751b860 dependencies update
Change-Id: Icbc2f6551cfff512d6351bb21ad49b83fc585eae
2020-06-18 12:44:23 +02:00
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
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
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