Commit Graph

1563 Commits

Author SHA1 Message Date
Mateusz Jablonski c20ec6c148 Remove gmock from mock_module
Related-To: NEO-4914
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-10 15:26:23 +01:00
Kamil Diedrich 35f709b221 Add RGBP planar formats
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-11-10 14:17:04 +01:00
Pawel Cieslak bc11f7b4f7 Use prebuilt kernels if they exists
Related-To: NEO-6370
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-11-10 13:30:00 +01:00
Mateusz Hoppe c8ba0391e5 Add TBX mode support to L0 AubTests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-10 12:22:20 +01:00
Artur Harasimiuk 5223ece08b clang diagnostic cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-10 11:17:46 +01:00
Mateusz Jablonski 0897cb11ca Improve MockKernel
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-10 08:06:45 +01:00
Artur Harasimiuk 7d00425f7e setup ULT timeout
Related-To: NEO-6413

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-09 21:04:38 +01:00
Artur Harasimiuk 39cb34047b temporarily skip sysman tests
Related-To: NEO-6412

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-09 20:28:25 +01:00
Filip Hazubski 7af07b6d8c Update cooperative dispatch logic
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-11-09 18:23:25 +01:00
Mateusz Jablonski 1bb7e50d49 Move mock method macros to separated header
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-09 17:37:54 +01:00
Zbigniew Zdanowicz df6829f361 Use event pool init code for result of event pool api creation function
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-09 16:29:49 +01:00
Krystian Chmielewski d29148a73a Populate linkerInput before allocating globals
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-11-09 12:20:13 +01:00
Mateusz Jablonski 3e5d68deab CMake cleanup: define cmd prefix for ocloc in one place
rename cloc_cmd_prefix -> ocloc_cmd_prefix
rename __cloc__options -> __ocloc__options


Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-09 10:46:01 +01:00
Pawel Cieslak 107a41a4c4 Revert "Use prebuilt kernels when NEO_DISABLE_BUILTINS_COMPILATION=TRUE"
This reverts commit 3bff852ac0.

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-11-08 18:50:12 +01:00
Artur Harasimiuk 9d3ea387aa refactor test_loader to not include sysman
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-08 17:23:32 +01:00
Krystian Chmielewski 98eb086160 Don't generate local ids if not needed
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-11-08 13:10:00 +01:00
Pawel Cieslak 3bff852ac0 Use prebuilt kernels when NEO_DISABLE_BUILTINS_COMPILATION=TRUE
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-11-08 11:43:49 +01:00
Jitendra Sharma 1186c1aae3 zesSysmanDeviceReset: Reinitialize device after device reset
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.

Related-To: LOCI-2627

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-11-07 23:43:48 +01:00
Krystian Chmielewski 06eaef0352 Zebin: Use strings section for printf
Resolves: NEO-6143

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-11-07 19:10:47 +01:00
Aravind Gopalakrishnan 5d1c3c98a4 Use csr internal allocs for host pointers for flushTask
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-11-05 21:58:13 +01:00
Mateusz Hoppe 5d4771a31b Add param to print number of tests
Related-To: NEO-6407


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-05 15:57:04 +01:00
Zbigniew Zdanowicz 49d4b8f1d8 Add implicit scaling capability to L0 barriers
Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-05 14:03:47 +01:00
Zbigniew Zdanowicz 3d3881e7ad Remove not needed virtual function from tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-05 12:04:14 +01:00
Szymon Morek dbeb263868 Fix CFE programming when usm transfer required
Resolves: NEO-6288

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-05 11:49:48 +01:00
Mateusz Jablonski fbf1f367f4 Dont create blitter engine when blitter support is disabled
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-05 11:07:07 +01:00
Mateusz Hoppe ee418efadf Per-thread scratch offset calculation
Related-To: NEO-6404

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-05 11:03:17 +01:00
Daniel Enriquez dbe0ba2a0f Sysman for Windows: Multiple fixes and optimizations
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com>
2021-11-04 20:11:39 +01:00
Aravind Gopalakrishnan 0418c12c77 Move zello_events to master
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-11-04 19:35:23 +01:00
Kamil Diedrich 1d52a72809 Return proper result for BB tests
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-11-04 17:40:36 +01:00
Igor Venevtsev a3c3fe18ce Cleanup IGC includes
- Remove IGC_COMMON_PARENT_DIR WA

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-11-04 14:44:59 +01:00
Kamil Diedrich 0e69eb47b5 Fix for BlackBox test
- fix fill test case
- spelling fix in image view test

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-11-04 12:57:39 +01:00
Artur Harasimiuk 3b47a9766a cmake: L0 black_box_tests refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-04 10:26:13 +01:00
Pichika Uday Kiran 99cbd1bb92 firmware: Read new firmware version from sysfs
- Read the newly added firmware version from sysfs node


Related-To: LOCI-2557
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
2021-11-03 14:03:12 +01:00
Zbigniew Zdanowicz 7d109c42bc Do not execute multi-tile command list on single-tile command queue
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-03 13:27:49 +01:00
Mateusz Hoppe 4d6a2d0a57 Enhance logs in EuThread
- do not overwrite memoryHandle in resumeThread() when thread is
not stopped
- add SIP Commands

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-03 11:04:14 +01:00
Pichika Uday Kiran d9f47d6d7d firmware: Add canControl property to firmware properties
Related-To: LOCI-2679
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
2021-11-03 10:04:25 +01:00
Pawel Cieslak 848d94f406 Improve prepare_test_kernels targets to build kernels required in ULTs
Related-To: NEO-6370
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-11-02 17:54:12 +01:00
Mateusz Hoppe 9ee8ee836d Disable fused EUs when debugging enabled
Related-To: NEO-6398

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-11-02 15:46:01 +01:00
Zbigniew Zdanowicz 4fbb199790 Add platform parameter to configure pipe control dispatch
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-02 12:14:10 +01:00
Pichika Uday Kiran 52cf6bf383 firmware: Enhance the firmware utility module
- There are functions exposed through Firmware Util interface to get
the firmware version and perform firmware flash based on firmware type.
Instead this functionality is being handled with generic functions. Hence
this commit removes the redundant code.

Related-To: LOCI-2568
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
2021-11-02 11:42:18 +01:00
T J Vivek Vilvaraj a9aa472b50 SysMan: close igsc context in destructor
igsc context is intialized by the device init call to igsc library.
When resources are freed, the context needs to be closed explicitly
by sysman to force igsc library to free and release the context
within the igsc library.

Related-To:LOCI-2695

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-10-29 15:35:13 +02:00
Jaime Arteaga c58e8eeddd Return correct L0 API version
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-29 11:07:31 +02:00
Mateusz Jablonski f3afde1153 Dont expose internal copy engine if blitter operations are disabled
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 20:57:52 +02:00
Kamil Kopryk 03540d5301 Refactor per platform extra settings in ocloc
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6382
2021-10-28 16:24:12 +02:00
Lukasz Jobczyk c7d5a96dfd Flush small task adjustments
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-28 11:39:55 +02:00
Jaime Arteaga 7363b3fc09 Return sucess for zeCommandListAppendMemAdvise when not supported
zeCommandListAppendMemAdvise is a performance hint, so on error,
we can just return success, while at the same time ignoring it.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-10-28 10:27:34 +02:00
Compute-Runtime-Validation 8c6fed2149 Revert "Flush small task adjustments"
This reverts commit 32ae9555f1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-28 09:19:32 +02:00
Mateusz Jablonski ae610ea602 Remove compute_runtime_mockable_extra lib
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-27 17:41:17 +02:00
Lukasz Jobczyk 32ae9555f1 Flush small task adjustments
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-27 16:43:06 +02:00
Mateusz Jablonski 1d90de087b Cleanup compute_runtime_mockable_extra
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-26 14:34:15 +02:00