Commit Graph

10115 Commits

Author SHA1 Message Date
Krzysztof Gibala f6dae5ecf2 Test: Refactor ioctl mock call to be more deterministic
Add flag forceExtraIoctlDuration for controlling duration in
ioctl ULT call.

Related-To: NEO-6537
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 09:32:16 +02:00
Aravind Gopalakrishnan 31b2433b2f Avoid implicit sync for async mode immediate copy queue
Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-27 08:50:18 +02:00
Mateusz Hoppe ced22d45e9 test: enable aub test with nested bbs
Related-To: NEO-6858

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-26 17:59:14 +02:00
Mateusz Hoppe ed43964f05 Use Bindless debug sip when L0 debug enabled part 2
- fix module debug area when bindless sip is used

Related-To: NEO-5613

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-26 17:50:12 +02:00
Artur Harasimiuk e8b49bee47 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-26 17:32:15 +02:00
Mateusz Jablonski 188bf3c6fa Remove not needed relocation name for implicit args
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-26 17:29:54 +02:00
Jitendra Sharma 34028355af Update zesFrequencySetRange implementation
While setting max frequency also clamp boost frequency
to max frequency.
Clamping boost frequency to max, will ensure that with workload
execution, max frequency that we are setting would not be violated.

Related-To: LOCI-3075

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-04-26 17:12:52 +02:00
Maciej Plewka 54eee2a88b Fix multi thread usage of external host alloc
With this commit OpenCL will track if external host memory is used from
few threads and will secure to update task count in all threads before
destroing allocation.

Resolves: NEO-6807

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-04-26 15:31:24 +02:00
Patryk Wrobel 1d7b99140c Test buildFatBinary()
This change introduces ULTs for buildFatBinary() function.
It is intended to improve code coverage.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-26 14:55:24 +02:00
Compute-Runtime-Validation e8e3355a93 Revert "Assign BCS at first blit enqueue"
This reverts commit 5f5a1a6f81.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-26 09:40:46 +02:00
Slawomir Milczarek 652ca907b0 Improve zello world usm blackbox test
Fix kernel args set in reverse order, add new cmd line parameter
to specify allocation size and improve input/output validation

Related-To: NEO-6839

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2022-04-26 08:07:22 +02:00
Bellekallu Rajkiran cee2051db8 Update power control/query interface
Add support for getCardPowerDomain API.
Modify check to verify whether hwmon dir exists.
Modify ULTs to verify updated power interface.

Update power control/query interface.

Related-To: LOCI-2735, LOCI-3046
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-25 22:10:13 +02:00
John Falkowski d797d79f97 fix rootDeviceIndex issue for PCI reorder
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-04-25 19:59:58 +02:00
Bartosz Dunajski 192ffa4c26 Add support for allocating RT globals
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-25 17:56:09 +02:00
Mateusz Jablonski 4a5f1b9358 refactor: extract common logic for waiting on user fences in Drm
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-25 17:34:23 +02:00
Patryk Wrobel 0a5f78fbfe Test remaining parts of ocloc_arg_helper
This change introduces remaining ULTs for ocloc_arg_helper
to ensure, that its files are fully covered.

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-25 17:23:31 +02:00
Mateusz Hoppe 37c792da96 Add L0 debugger unit test
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-25 16:42:35 +02:00
Mateusz Hoppe bcbe3278a9 Metrics: Fix potential divide by zero
- return error when frequency is zero

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-25 14:49:08 +02:00
Lukasz Jobczyk 5f5a1a6f81 Assign BCS at first blit enqueue
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-04-25 13:48:21 +02:00
Mateusz Jablonski 03185f7111 feature direct submission: use tag allocation as a completion fence
use tag allocation address as a completion address in exec call
wait for completion value before destroying drm direct submission

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-25 13:30:55 +02:00
Kamil Kopryk 38190c5d17 Infra update
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-04-25 10:39:54 +02:00
Dominik Dabek d0a32b1437 Fix: svm pointer caching
Given a following sequence of setting kernel arg svm pointers: A, nullptr, A
the kernel arg was not being set to A

Related-To: NEO-6895

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-25 07:59:47 +02:00
Compute-Runtime-Validation 87a016a47c Revert "Use postsync for copy and fill"
This reverts commit cffe7f158a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-23 04:27:34 +02:00
Aravind Gopalakrishnan cffe7f158a Use postsync for copy and fill
Related-To: NEO-5968

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-04-22 17:20:27 +02:00
Naklicki, Mateusz f1574bebb4 Use flag to opt-in for VM_BIND mode
Related-To: NEO-6640
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-04-22 17:11:37 +02:00
Filip Hazubski 944319b3d9 Correct media compression format for blitter operations on planar images
Set most significant bit for chroma planes.
Move common logic to helper function.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-04-22 17:02:16 +02:00
Bartosz Dunajski 9959896957 Add RT calls support to Kernel descriptor
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-22 16:33:59 +02:00
ocldev 604329479f igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-04-22 15:24:36 +02:00
Mateusz Hoppe 96c668d595 L0 Debugger - Support for debugging immediate cmd lists
- add debugger support to imm cmd lists
- add debugger support to flushTask

Related-To: NEO-6845

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-22 14:43:41 +02:00
Krzysztof Gibala 1b1c06746f Test: Ensure that ioctl statistics test is deterministic
Related-To: NEO-6537
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-22 13:36:21 +02:00
Katarzyna Cencelewska 91840e6e07 Fix gap for forcing engine by debug flag NodeOrdinal
add scenario when command queue created with properties
and there is also applied NodeOrdinal flag
then value from flag will use to force engine

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-04-22 10:48:04 +02:00
Compute-Runtime-Validation b91e630bb5 Revert "Update zesMemoryGetBandWidth for PVC steppings"
This reverts commit 81544445aa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-22 10:31:59 +02:00
Patryk Wrobel 35a04e5915 Refactor and test initialization of FCL in ocloc
This change:
- extracts FCL to a separate class called OclocFclFacade
- tests the new class
- tests its usage in offline compiler

Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-04-22 10:25:16 +02:00
Mayank Raghuwanshi c637903132 Modify getSupportedRasErrorTypes function for gt Ras errors
Related-To: LOCI-2934

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-04-22 08:26:07 +02:00
Mayank Raghuwanshi 81544445aa Update zesMemoryGetBandWidth for PVC steppings
Related-To: LOCI-2999
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-04-22 07:59:11 +02:00
davidoli 5dfd68a729 Add Ip sampling metrics calculate values Support
Related-To: LOCI-2757

Signed-off-by: davidoli <david.olien@intel.com>
2022-04-21 20:02:40 +02:00
Bartosz Dunajski 0791898c9e Improve L0 sampler_state programming
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-21 16:46:40 +02:00
Bartosz Dunajski bad53dc58c Remove fillExecObjectImpl method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-21 14:23:58 +02:00
Krystian Chmielewski 5c120f5f2d fix: Ignore unsupported relocs in debug zebin
Do not apply relocations with types different than {1, 2, 3}, when creating
debug zebin.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-21 13:47:13 +02:00
Bartosz Dunajski 06fa316a75 Assign pat_index to BO during creation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-04-21 13:25:13 +02:00
Mateusz Hoppe 5911515ed0 Refactor debugger code
- helper sets all SbaAddresses for debugger in
EncodeStateBaseAddress<GfxFamily>::setSbaAddressesForDebugger()
- change DebuggerL0::captureStateBaseAddress() to take
LinearStream
- move getSbaTrackingCommandsSize() to Debugger class

Related-To: NEO-6845

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-04-21 13:04:34 +02:00
Compute-Runtime-Validation f3bcbfb305 Revert "Enable engines round robin assign"
This reverts commit b81380a879.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-04-21 12:43:28 +02:00
Zbigniew Zdanowicz dc4a1e7cd5 Add debug flag to select event field for event completion
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-21 12:15:43 +02:00
Grzegorz Choinski 0e2bfe92c4 use precompiled builtins for aarch64
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-21 11:49:47 +02:00
Artur Harasimiuk cdd6d84f12 build: on x86 build and run ocloc test by defaul
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-04-21 01:25:15 +02:00
Grzegorz Choinski 24c57a3d68 infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-04-20 23:14:01 +02:00
Kamil Kopryk e4437fcf54 Add exclude support for hwtest_p tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-04-20 17:46:32 +02:00
Mateusz Jablonski 8f38f4ee3c fix command stream receiver: stop calling virtual methods in dtor
make getCompletionAddress and getCompletionValue non-virtual methods

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-20 17:41:54 +02:00
Mateusz Jablonski 4cb46ee15c Refactor direct submission: remove csr from members
create translation layer to obtain needed params

Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-04-20 17:20:17 +02:00
Kamil Kopryk 10be59cb15 Improve isIpSamplingSupported helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6738
2022-04-20 17:02:20 +02:00