Commit Graph

9486 Commits

Author SHA1 Message Date
1671e0a1a7 Add new debug flags for filtering devices to open
FilterBdfPath is used only on Linux as a filter for BDF
when opening from /dev/dri/by-path

FilterDeviceId is used on both OSes as a filter for device id

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 14:34:01 +01:00
36f8f67f20 setup CCACHE_BASEDIR
This is to help in better ccache utilization while building the same
code but located in different folders.

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-03 13:31:41 +01:00
4d953fd125 Correct timestamps offset calculation
Related-To: NEO-6653
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 12:18:20 +01:00
8f85d4b8f8 Add debug variable to override message simd.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-02-03 11:07:42 +01:00
cbdf324a70 set islockable only for non shareable memory
-Fix gen12 helper to only set islockable on the storage if
the allocation is not shareable.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-02-02 21:21:03 +01:00
593756bee0 Fail given WDDM Driver and Fd Handle in WSL
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-02-02 19:01:35 +01:00
bea54b9fb8 Move DG2 hw info config tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-02 16:46:16 +01:00
c98e253377 Correct unit tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-02 15:19:49 +01:00
678ce2ec57 Move signals to separate file
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-6647
2022-02-02 14:41:46 +01:00
31a61a16c0 Set ERROR in retValForCrash in SafetyGuard.call()
- allows to print ocloc command line after crash in compilation

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-02 14:28:51 +01:00
8540aaff1c Add timestamp WA for DG2+WSL2
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-02 14:00:24 +01:00
65255ea38f Allow pointer copy when copying from host to svm
Related-To: NEO-5737

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-02-02 13:08:35 +01:00
020a852752 Remove not used macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-02 13:01:20 +01:00
5e62df4f8e Check IndirectStatelessCount from igc
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.

Related-To: NEO-6597

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-02-02 12:28:30 +01:00
ddf50cfe15 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-02 12:07:10 +01:00
fb1a008414 Change fences to use tag allocation
Instead of creating new allocation per fence, use the task count.
Fence synchronize will wait for task count update.

Related-To: NEO-6634

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-02-02 11:56:29 +01:00
8a4d28ef8b Fix profiling calculation logic
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-02 10:37:07 +01:00
493a96b308 [3/n] L0 Immediate commandlist improvements
Enable flushTask by default
Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-02 07:46:00 +01:00
900e63102c Revert "Add ze_eu_count_t to get total number of EUs"
This reverts commit efdfdeba7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-02-02 02:59:25 +01:00
14bdb30e0b lint revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-02-01 22:30:15 +01:00
78fa21f31a Metrics Refactor Rename Metric Source Specific Classes
Renaming Oa Specific classes.

Related-To: LOCI-2753

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-01 21:42:57 +01:00
4aef9925b0 Add support for zeDeviceGetP2PProperties
Related-to: LOCI-2784

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-02-01 17:06:43 +01:00
cfc9f385bc Add missing include
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-02-01 16:52:11 +01:00
4d8d2412f9 Add subslice ID remapping for single slice configs
Related-To: NEO-6565

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-02-01 16:38:57 +01:00
176c5284b0 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-02-01 16:17:35 +01:00
db94f4b8e1 Clear Drm profiling variables and macros
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-01 15:51:47 +01:00
2be98a1e62 Create kmd migrated allocation with initial placement
Implements ZE_HOST_MEM_ALLOC_FLAG_BIAS_INITIAL_PLACEMENT
for zeMemAllocShared with KMD migrated allocation.

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-02-01 15:42:10 +01:00
fc71a59504 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-01 15:34:22 +01:00
08fa401646 Modify test.
Extract value prior to comparison.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-02-01 11:46:53 +01:00
b2079c4565 Add missing include.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-02-01 11:42:19 +01:00
1abfb23a21 [2/n] L0 Immediate commandlist improvements
Allow flushTask usage only for Compute
Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-01 09:37:45 +01:00
d9886f67ee Make IoctlHelper member of Drm
Related-To: NEO-6575

This is needed to fix accessing IoctlHelper
after driver detach.
This way we are also reducing accessing
sysfs file in Drm::getPrelimVersion

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-02-01 08:26:59 +01:00
63a8908744 [1/n] L0 Immediate Commandlist improvements
Add indirect allocs to residency in flushTask

Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-01 01:39:23 +01:00
efdfdeba7f Add ze_eu_count_t to get total number of EUs
Related-To: LOCI-2667

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-02-01 00:19:08 +01:00
0bd60e524a Initialize telemetry device entry variable
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-01-31 20:33:53 +01:00
73f8d9e3ed Remove device enqueue part 14
- rename not proper structs

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-31 17:46:57 +01:00
f45fadf89b Add cmake flag to disable i915 prelim headers detection
Related-To: NEO-6625
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-31 16:48:30 +01:00
9d8ce7aace Command container appends BB_END on cmd buffer allocation end
When linear stream created for command container has not enough space
for command and BB_END it will program BB_END and allocate new command
buffer allocation. Pointer returned from getSpace in this case will
return storage from new command buffer allocation.

Related-To: NEO-5707

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-31 16:15:37 +01:00
92316c48f2 Remove device enqueue part 13
-remove isOcl21Conformant

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-31 16:02:37 +01:00
c317cff408 Make BDF method as default for UUID calculation
This patch makes PCIE BDF as the default method for UUID
calculation.

Related-To: LOCI-2909

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-01-31 15:47:21 +01:00
7daee00df4 Add alarmTime to ULTs
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-6413
2022-01-31 13:51:57 +01:00
498cf5e871 Implement GPU hang detection
This change uses DRM_IOCTL_I915_GET_RESET_STATS to detect
GPU hangs. When such situation is encountered, then
zeCommandQueueSynchronize returns ZE_RESULT_ERROR_DEVICE_LOST.

Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-01-31 13:48:17 +01:00
543c854a3b update package dependencies
fix Depends for Ubuntu packages we create

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-01-31 09:33:17 +01:00
26d10eb985 Revert "Remove device enqueue part 13"
This reverts commit 0ec6deddf1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-30 15:52:24 +01:00
68ce1ee989 Revert "Enable engines round robin assign"
This reverts commit c374073a4f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-30 04:42:13 +01:00
2b177cabb7 Correct programming width of media block surface
Programmed value should be a number of all dwords, rounded up

Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-28 16:28:25 +01:00
4ddcda6666 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-01-28 15:59:44 +01:00
fef36e058d Remove VEBOX related ftr flags
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-28 15:50:59 +01:00
0ec6deddf1 Remove device enqueue part 13
- update isOcl21Conformant, supportsOcl21, REQUIRE_OCL_21_OR_SKIP
(remove deviceEnqueueSupport check)

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-28 15:33:51 +01:00
c374073a4f Enable engines round robin assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-28 15:29:02 +01:00