Commit Graph

9262 Commits

Author SHA1 Message Date
Jaime Arteaga 40ea30be0b Update list of supported extensions
Add compression hint and free policies extensions to the list.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-05 19:11:08 +01:00
Aravind Gopalakrishnan 7968823b3c Fix magic value used to skip odd packets for timestamps
Related-To: LOCI-2718

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-01-05 17:12:56 +01:00
Pawel Cieslak e9dbd86f3d Update lint revision
Related-To: NEO-5855
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 14:48:29 +01:00
Fabian Zwolinski 1d48e97649 Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests...
GMock Removed from:
- MockAubCsr
- GmockAubFileStream
- AsyncEventsHandlerTests
- AsyncEventsHandlerTests::MyEvent
- MockGmmPageTableMngr
- GmockWddm

Additionally:
- GmockAubFileStream body moved to MockAubFileStream class
- Deleted unused GmockAubFileStream class
- Deleted NiceMocks from AsyncEventsHandlerTests
- Renamed GmockWddm to MockWddm

Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-05 14:45:13 +01:00
Pawel Cieslak f8c1fe53db Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 13:53:12 +01:00
Pawel Cieslak 7aa9c827d2 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 11:21:40 +01:00
Young Jin Yoon 32ccf30c61 Add support for pci_ext_properties_t
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.

Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2022-01-05 10:43:54 +01:00
Szymon Morek ade43e29a5 Optimize vector usage
Don't reallocate memory.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-04 15:51:32 +01:00
Vilvaraj, T J Vivek 4d5d31d80d sysman: simplify ULT for device reset
device reset is heavily dependant on gmock for ULT
reduce depencency on GMock.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-01-04 13:26:56 +01:00
Katarzyna Cencelewska 388adcca77 Force setting SUPPORT_DEVICE_ENQUEUE
fix problem with cached value

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-04 13:21:16 +01:00
Jaime Arteaga 343e68d926 Add STATUS to "Prebuilt kernels are linked to Level Zero" message
This so it is printed with "--" as other messages during cmake config.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-04 12:28:44 +01:00
Szymon Morek 6258575e5e Use queryEngineInfo with prelim ioctls
If prelim kernel is being used, query engines
with prelim ioctls.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-04 12:15:04 +01:00
Dominik Dabek a18c706408 Move neo device caps tests to shared
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-03 18:05:11 +01:00
Artur Harasimiuk 7708557b05 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-01-03 17:59:56 +01:00
Katarzyna Cencelewska 534280fad6 Disable device enqueue
on icllp, cfl, kbl, skl

Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-03 17:34:30 +01:00
Zbigniew Zdanowicz 0cbc320e57 Move memory fixtures to shared
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-03 16:47:02 +01:00
Grzegorz Choinski 997d28f6b2 infra update
Removing legacy linter.

Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-01-03 14:33:47 +01:00
Kopryk, Kamil 7d18b845fa Remove not needed argument from appendExtraInternalOptions function
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com>
2022-01-03 10:35:47 +01:00
Compute-Runtime-Validation 06b436f120 Revert "Enable engines round robin assign"
This reverts commit d52b7e599d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-03 10:29:44 +01:00
Mateusz Jablonski 0db4821996 Correct linter tests
Update to 2022 year

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-03 09:30:29 +01:00
Dominik Dabek 6c40c712d8 Check workDim when enqueueing kernel
Return CL_INVALID_WORK_DIMENSION when workDim is more than
maxWorkItemDimensions.

Related-To: NEO-6159

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-31 15:42:09 +01:00
Kopryk, Kamil 5774f68d8b Correct rkl unit test
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com>
2021-12-31 14:57:56 +01:00
Lukasz Jobczyk d52b7e599d Enable engines round robin assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-31 11:59:52 +01:00
Lukasz Jobczyk 7ab6d2801a Check if direct submission available once
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-31 11:53:29 +01:00
Zbigniew Zdanowicz 2047fc88f9 Move execution environment helper to shared
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-12-31 11:36:44 +01:00
Jaime Arteaga 38ad58bce3 Dont print error on IOCTL entry after success
This to reduce verbosity and avoid confusions when reading logs.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-12-31 09:49:08 +01:00
Dominik Dabek 24621e8d16 Add test for getMaxParameterSizeFromIGC
Test is using MockCompilerInterface

Related-To: NEO-4851

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-30 18:17:40 +01:00
Szymon Morek 5be9d2d584 Add assignRegionsFromDistances logic
If prelim kernel is being used, use distances
logic to assign memory regions.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-30 17:48:16 +01:00
Filip Hazubski 0c2f83579c Do not force programming SCM when hasSharedHandles is true
This is a part of refactor of logic around programming SCM.
SCM should not be programmed just because of hasSharedHandles being true.

Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-30 17:12:28 +01:00
Filip Hazubski 5be4d89b73 Rename function
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-30 17:03:22 +01:00
Mateusz Jablonski 187120f44e Program Media Sampler DOP Clock Gate Enable on Xe Hp Sdv
remove skipped tests

Related-To: NEO-6466

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-30 16:45:40 +01:00
Artur Harasimiuk 58380d45a3 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-12-30 15:52:57 +01:00
Lukasz Jobczyk a43834609d Enable timestamp wait mechanism
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 13:15:14 +01:00
Lukasz Jobczyk b5ffad2fec Revert "Check if direct submission available once"
This reverts commit 70a7840da3.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 10:31:00 +01:00
Lukasz Jobczyk 418a8854b2 Skip timestamp wait when enqueue non kernel operation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 10:02:07 +01:00
Lukasz Jobczyk 95585a81f7 Optimize timestamp packet dependencies
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-30 09:48:36 +01:00
Aravind Gopalakrishnan 882ae8088f Skip L3Flush event packets during timestamp calculation
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-12-29 20:03:48 +01:00
Mateusz Jablonski 7e03d9220e Add DG2 device ids
Related-To: NEO-5555

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-29 18:01:17 +01:00
Kopryk, Kamil 446a78a134 Force stateless addressing mode for PVC
PVC will support buffers greater than 4GB, hence we have to
use stateless accessing mode as default.

Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com>
2021-12-29 14:53:18 +01:00
Dominik Dabek 67fff7fc51 Rename igcFeWa to igcFtrWa
It references features and workarounds

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-29 11:52:43 +01:00
Szymon Morek e07b27c0e2 Allow to query memory info with prelim ioctl
If prelims are supported, query memory info with
specific ioctl.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-29 10:21:23 +01:00
Dominik Dabek df2e31dbb0 Print ocloc options from file on fail if quiet
Currently if ocloc fails and options are read from file, no information
about them will be printed or logged if -q is passed.

With this change, ocloc will print options read from file on compilation
or initialization error.

Related-To: NEO-6002


Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-28 16:50:05 +01:00
Compute-Runtime-Validation f1a1280549 Revert "Enable timestamp wait mechanism"
This reverts commit 4d422387ec.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-12-28 16:38:03 +01:00
Maciej Plewka 615688336f Program all fields in SCM
Related-To: NEO-6432

This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-12-28 16:30:47 +01:00
Dominik Dabek 300a971af3 Use igc interface to get max param size
IGC will be queried for max parameter size at the end of initializing
device caps.

Related-To: NEO-4851

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-28 16:10:05 +01:00
Szymon Morek 3c6f5cd757 Fix createGemExt function
Use vector instead of array

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-28 14:48:31 +01:00
Fabian Zwolinski 76565529f6 Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger
New name for mock class:
GMockProgram -> MockProgramAppendKernelDebugOptions

Also GMockSourceLevelDebugger class body has been merged with
MockSourceLevelDebugger.

Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2021-12-28 12:58:31 +01:00
ocldev b24930a2f9 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2021-12-28 12:51:58 +01:00
Lukasz Jobczyk 4d422387ec Enable timestamp wait mechanism
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-28 11:55:55 +01:00
Szymon Morek 694046d30e Remove C-style casts when casting to osHandle
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-28 11:11:49 +01:00