Commit Graph

1550 Commits

Author SHA1 Message Date
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
Lukasz Jobczyk 5a240e1d66 Enable direct submission controller
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-26 12:07:11 +02:00
Mateusz Jablonski 7fad2fd1c4 Cleanup multiple static lib linking
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-26 08:19:56 +02:00
Lukasz Jobczyk 99972e2a98 Add ZE_HOST_MEM_ALLOC_FLAG_BIAS_UNCACHED implementation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-10-25 14:39:20 +02:00
Mateusz Jablonski 260997ccd1 Cleanup cross component dependencies
dont link opencl lib to non-opencl targets
link compute_runtime_mockable_extra only to l0 targets
reuse include paths and definitions from neo_shared lib

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-25 11:05:18 +02:00
Pichika Uday Kiran 3357b8b916 firmware: Add support for new firmware type
- This commit adds the support of new firmware flashing
- And also added the support in ULTs for the new firmware
flash APIs.

Related-To: LOCI-2381
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
2021-10-22 23:13:23 +02:00
Mateusz Jablonski 19b8a03d30 Move some files from opencl/source/dll to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 19:59:55 +02:00
Bartosz Dunajski 1f2aa82c5b Remove UNUSED_VARIABLE macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 18:56:33 +02:00
Zbigniew Zdanowicz 8fe2b269f0 Correct cross library dependencies
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-22 18:30:35 +02:00
Bartosz Dunajski d34ef3170a Remove CPP_ATTRIBUTE_FALLTHROUGH macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 17:27:57 +02:00
Mateusz Jablonski ef3f93a178 Create neo_libult target
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 16:55:07 +02:00
Mateusz Jablonski 391e691cc1 Rename igdrcl_libult_common to neo_libult_common
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 14:46:16 +02:00
Mateusz Jablonski 802a272c5f Move mock_gmm_memory to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 13:46:46 +02:00
Artur Harasimiuk d2a29ce458 DrmBO: canonize GPU addresses
Related-To: NEO-6364
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-21 18:25:48 +02:00