Mateusz Hoppe
b71a12c252
Set cooperative flag for debuggable contexts during creation
...
Related-To: NEO-6668
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-15 16:00:25 +01:00
Mateusz Jablonski
143f67f2fe
Enable vm bind availability based on ioctl helper support
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 15:27:52 +01:00
Compute-Runtime-Validation
5ec8c004ce
Revert "Set cooperative flag for debuggable contexts during creation"
...
This reverts commit 5e0732f57e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-13 04:43:35 +01:00
Mateusz Hoppe
5e0732f57e
Set cooperative flag for debuggable contexts during creation
...
Related-To: NEO-6668
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-11 14:58:57 +01:00
Patryk Wrobel
18cafd3a52
Implement GPU hang detection on Windows
...
This change uses value of cpuAddress from monitored fence
to detect GPU hang.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-09 17:22:52 +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
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
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
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
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
Filip Hazubski
2dc54f6fd9
Update isLinuxCompletionFenceSupported value for XE HPG CORE
...
Related-To: NEO-6575
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-01-24 14:58:17 +01:00
Zbigniew Zdanowicz
a7455b5767
Add tweaks and control flags to linux completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-21 13:41:23 +01:00
Zbigniew Zdanowicz
ec40b6562e
Add unit tests for completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-20 21:15:34 +01:00
Szymon Morek
5a3fd1dc94
Check i915 version at runtime
...
Related-To: NEO-6510
Check which prelim version is being used.
Select proper IoctlHelper based on that version.
If no version found, switch to upstream instead.
Source of prelim headers:
https://github.com/intel-gpu/drm-uapi-helper
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-10 12:22:00 +01:00
Filip Hazubski
fe08216102
Refactor: Update Drm::createDrmContext
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-01 17:04:09 +01:00
Milczarek, Slawomir
31b339b873
Use VM Bind immediate when page faults supported
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-22 18:11:18 +01:00
Jaroslaw Chodor
c4e802f01b
WSL - fixing resource cleanup on process shutdown
...
Resolves issues with coexistance of NEO L0 and NEO OCL libraries
within a single process running in WSL and using WDDM GPU PV
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-11-20 21:51:51 +01:00
Mateusz Jablonski
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
Jaime Arteaga
9d49c56b75
Include domain when ordering with ZE_ENABLE_PCI_ID_DEVICE_ORDER
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-10-06 21:34:36 +02:00
Artur Harasimiuk
0b4bc865d3
move drm_mock to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-24 08:55:45 +02:00
Mateusz Hoppe
cf8e3269c7
Set context unrecoverable when debugging enabled
...
Related-To: NEO-6204
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-10 13:29:11 +02:00
Szymon Morek
d47751d3a7
Add getting gpu frequency for multitile devices
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-09-07 17:27:00 +02:00
Compute-Runtime-Validation
86f8150dc7
Revert "Stop using CONTEXT_SET_PARAM"
...
This reverts commit e9f56e7d96 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-09-03 18:12:38 +02:00
Piotr Obst
e9f56e7d96
Stop using CONTEXT_SET_PARAM
...
Related-To: NEO-5881
Signed-off-by: Piotr Obst <piotr.obst@intel.com >
2021-09-03 15:27:20 +02:00
Bartosz Dunajski
fb996a3d5b
Add EngineDescriptor helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-12 15:19:46 +02:00
Mateusz Hoppe
bbb27cdb8a
L0 Device slice id mapping
...
Related-To: NEO-5640
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-07 15:00:44 +02:00
Zbigniew Zdanowicz
d3ba02294f
Correct coding style in drm tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-25 17:22:53 +02:00
Zbigniew Zdanowicz
94154145c0
Improve drm ioctl debug prints
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-25 14:18:54 +02:00
Zbigniew Zdanowicz
2829226937
Improve query PCI info
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-01 19:26:22 +02:00
Jaroslaw Chodor
67aa1ad7ec
Refactoring HwDeviceId
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-24 21:38:20 +02:00
Jaroslaw Chodor
0e9aa45e46
Improving OS abstraction
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-23 21:40:37 +02:00
Lukasz Jobczyk
529020c72c
Disable low priority BCS direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-05-19 12:06:29 +02:00
Mateusz Hoppe
4407bf9c49
Set correct MaxSlicesSupported in gtSystemInfo
...
- calculate maxSubsliceCount in translateTopologyInfo
based on enabled bits
Related-To: LOCI-2080
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-18 01:50:57 +02:00
Mateusz Hoppe
21d93a33d2
Do not set Max values from topology in Drm::setupHardwareInfo
...
- max values set in device->setupHardwareInfo and
HwInfoConfig::configureHwInfo
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-17 21:15:45 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Mateusz Hoppe
27c28d275e
Fix storing VmIds in OsContextLinux
...
Related-To: NEO-5801
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-29 17:52:32 +02:00
Mateusz Hoppe
2d07d6a3d7
Refactor Drm::queryTopology() to take struct
...
- set max values in SystemInfo based on topology
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-04-28 12:19:34 +02:00
Mateusz Jablonski
1823054e08
Linux: pass adapter BDF to GmmLib
...
Resolves: NEO-5785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-23 18:45:50 +02:00
Maciej Dziuban
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
Lukasz Jobczyk
1921bfb3dc
Add infrastructure to enable direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-07 14:23:58 +02:00
Lukasz Jobczyk
0c8080ac26
Add debug flag for low priority ULLS BCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-01 15:27:12 +02:00
Maciej Dziuban
264f20ea00
Pass EngineTypeUsage to OsContext creation
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
Lukasz Jobczyk
07b651ccb8
Make direct submission bcs context low priority
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-12 11:52:41 +01:00
Lukasz Jobczyk
7c99739b89
Check if direct submission enable in OsContext
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-02-11 09:05:50 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
Mateusz Hoppe
3ab932b101
Add initial support for context debug
...
Related-To: NEO-5478
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-01-27 12:50:26 +01:00
Adam Cetnerowski
0783e4a32b
ULT renaming: Linux Interface tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-12-30 15:45:23 +01:00
Matias Cabral
7ac97fd929
Use independent Elf UUID generation
...
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2020-12-24 01:56:51 +01:00
Mateusz Hoppe
8aacad1854
Create DebuggerL0 only when debugging is supported
...
Related-To: NEO-5239
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-23 18:28:45 +01:00
Mateusz Hoppe
ada57435b4
Remove platform() dependency from DrmMock
...
Change-Id: I58a21dede469da95593e241528459761322c0730
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-12 18:05:14 +02:00