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
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
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
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
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
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
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
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
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
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
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
Michal Mrozek
b2079c4565
Add missing include.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-02-01 11:42:19 +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
Mateusz Jablonski
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
Maciej Plewka
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
Joshua Santosh Ranjan
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
Baj, Tomasz
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
Patryk Wrobel
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
Mateusz Jablonski
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
Bartosz Dunajski
fef36e058d
Remove VEBOX related ftr flags
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-28 15:50:59 +01:00
Rafal Maziejuk
fc25495ecb
Add missing BlitCommandsHelper ULTs
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-01-28 14:49:04 +01:00
Katarzyna Cencelewska
58055aecdf
Remove device enqueue part 12
...
remove:
- debug flag ForceDeviceEnqueueSupport
- functions isDeviceEnqueueSupported, supportsDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-28 13:38:34 +01:00
John Falkowski
28345061f0
Update maxMemAlloc for PVC with Implicit Scaling
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2022-01-28 08:50:16 +01:00
Spruit, Neil R
ae77bd1bd2
Enable Device Memory to be shared in WSL-2 with L0
...
- Add getMemoryManagerType to check which memory manager has been init
to determine if Linux + WDDM memory manager is in use.
- Add isNTHandle to test and verify if a handle is an NT handle during
L0 Open IPC Handle.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-01-27 23:14:29 +01:00
Bartosz Dunajski
90d85bee55
Remove ftrGT flags support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-27 17:39:48 +01:00
Dominik Dabek
07c75c2de3
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 01f368ac147d99fd0dcb4d71a9a2543cd215adfd.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-27 16:06:13 +01:00
Kamil Diedrich
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-27 14:26:24 +01:00
Dominik Dabek
a83b173bbe
Do not abort ocloc when building throws exception
...
Previously when compiler crashed, no cmdline was printed.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-27 12:41:40 +01:00
Bartosz Dunajski
09346690e8
Add XE_HP_SDV device ids
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:46:45 +01:00
Bartosz Dunajski
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
Dominik Dabek
a5067d6b0b
Remove duplicate check in residency container
...
Remove find in SVMAllocsManager
addInternalAllocationsToResidencyContainer,
not needed, CSR resolves duplicates at makeResident calls
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-26 17:09:31 +01:00
Michal Mrozek
3d9548cee9
[5/n] Optimize Indirect Allocations.
...
Enable mechanism where feasible.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-26 16:01:10 +01:00
Michal Mrozek
592eb4607e
[4/n] Improve indirect allocations handling.
...
Add memory manager interfaces to obtain the status.
Only support when VmBind is supported.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-26 15:24:32 +01:00
Igor Venevtsev
af7a475cb0
Fix debug zebin creation
...
- ELF type is EXEC
- Absolute GPU addresses in program headers as load addresses
- All relocations are applied (not only for debug info as before)
- Default section alignment for debug zebin is set to 4,
this fix the problem with .notes section parsing
Related-To: NEO-5571
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-01-26 13:55:32 +01:00
Maciej Plewka
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-26 13:30:26 +01:00
Dominik Dabek
63f406a58c
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-01-26 11:10:04 +01:00