Krystian Chmielewski
ca5a8162eb
Printf zebin: accept string type pointer
...
In zebin type POINTER and address of strings
are written into print buffer.
This change allows the type to be POINTER=7,
before only STRING=5 type was accepted.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-02-04 12:28:31 +01:00
Compute-Runtime-Validation
6f62a784e1
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 5e62df4f8e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-02-04 12:15:37 +01:00
Daniel Chabrowski
f2c4231a27
Extend DRM mock and queryTopology tests - part 1
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-04 12:02:49 +01:00
Kamil Diedrich
452de80d70
Add 2MB alignment for reserving address space for WSL
...
Fixes sporadic issues in configure address space for
some devices running in WSL mode
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-02-04 11:18:58 +01:00
Aravind Gopalakrishnan
f4b4110dfa
[5/n] L0 immediate commandlist improvements
...
- Allow flushTask usage for XeHp+ only
- Fix black box test to only use Copy queue if found
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-04 03:20:28 +01:00
Aravind Gopalakrishnan
492721a6d1
[4/n] L0 immediate commandlist improvements
...
Add black box test for immediate command list usage
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-02-03 23:07:30 +01:00
Joshua Santosh Ranjan
f1c50a8c89
Metric Refactor Metric Context
...
Rename Metric Context and move OA specific functions
and members from Metric Context to OA specific class(MetricSource).
This refactoring is done so that additional Metric Source
like Stall Sampling could be Seamlessly implemented.
Related-To: LOCI-2753
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-03 21:34:14 +01:00
Kamil Kopryk
27c90ac2d6
Simplify ult - prefer debug manager state restorer
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 19:45:46 +01:00
Katarzyna Cencelewska
3d0c065183
Remove device enqueue part 16
...
-delete old unused flags
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-03 19:38:41 +01:00
Artur Harasimiuk
5847881569
set CCACHE_BASEDIR for linker only when cmake generator is Ninja
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-03 19:32:29 +01:00
Lukasz Jobczyk
9ff1307b4b
Fix optimize timestamp packet dependiencies
...
-program barrier after global fence allocation is programmed
-do not double barrier timestamp in blit enqueue
-flush GPGPU while submitting to BCS when barrier requested
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-02-03 16:27:09 +01:00
Katarzyna Cencelewska
45d23868de
Remove device enqueue part 15
...
- remove DEVICE_QUEUE_BUFFER
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-03 16:19:07 +01:00
Kamil Kopryk
7f5ab26b9f
Update lint revision
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-03 15:09:34 +01:00
Mateusz Jablonski
c6e52a7ddd
Move Xe Hpg hw helper tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-02-03 15:08:27 +01:00
Bartosz Dunajski
52c6973e89
Rename blitBuffer method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-03 15:02:55 +01:00
Katarzyna Cencelewska
dd63f1d2f9
Add new function append3dStateBtd
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-03 14:42:10 +01:00
Mateusz Jablonski
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
Artur Harasimiuk
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
Kamil Kopryk
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
Michal Mrozek
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
Spruit, Neil R
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
Spruit, Neil R
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
Mateusz Jablonski
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
Kamil Kopryk
c98e253377
Correct unit tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-02-02 15:19:49 +01:00
Baj, Tomasz
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
Mateusz Hoppe
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
Kamil Diedrich
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
Konstanty Misiak
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
Bartosz Dunajski
020a852752
Remove not used macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-02 13:01:20 +01:00
Dominik Dabek
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
Artur Harasimiuk
ddf50cfe15
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-02 12:07:10 +01:00
Dominik Dabek
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
Bartosz Dunajski
8a4d28ef8b
Fix profiling calculation logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-02 10:37:07 +01:00
Aravind Gopalakrishnan
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
Compute-Runtime-Validation
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
Grzegorz Choinski
14bdb30e0b
lint revision update
...
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-02-01 22:30:15 +01:00
Joshua Santosh Ranjan
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
Jaime Arteaga
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
Szymon Morek
cfc9f385bc
Add missing include
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-02-01 16:52:11 +01:00
Mateusz Hoppe
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
ocldev
176c5284b0
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com>
2022-02-01 16:17:35 +01:00
Bartosz Dunajski
db94f4b8e1
Clear Drm profiling variables and macros
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-01 15:51:47 +01:00
Milczarek, Slawomir
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
Artur Harasimiuk
fc71a59504
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-02-01 15:34:22 +01:00
Michal Mrozek
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
Michal Mrozek
b2079c4565
Add missing include.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-02-01 11:42:19 +01:00
Aravind Gopalakrishnan
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
Szymon Morek
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
Aravind Gopalakrishnan
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
Jaime Arteaga
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