Fabian Zwolinski
9f935276a0
L0 Debugger - check debug_eu entry
...
Related-To: NEO-7790
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-13 14:46:28 +01:00
Kamil Kopryk
fa8579602f
refactor: rename product helper files n/n
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-10 13:24:38 +01:00
Mateusz Jablonski
553dd7f21f
refactor: return thread per eu from compiler product helper
...
Related-To: NEO-7442
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-08 16:25:20 +01:00
Joshua Santosh Ranjan
b180a83a24
[Sysman] Add support to control lifetime of file descriptor
...
This patch adds support to open and close the drm fd,
so that more granular control of drm fd could be
achieved.
Related-To: LOCI-3986
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-03-06 17:55:13 +01:00
Aravind Gopalakrishnan
d75c4d3ec7
fix: Skip adding device to list if context creation fails
...
Propogate error codes from ioctl failure properly up the layers
so that we skip exposing bad root devices.
Related-To: NEO-7709
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-02-16 11:40:54 +01:00
Milczarek, Slawomir
9b7b193b38
Enable recoverable page faults on PVC platform only
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-02-06 14:47:36 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
Milczarek, Slawomir
7f5fae4c2f
Enable recoverable page faults by default on faultable hardware
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-01-30 13:46:15 +01:00
Compute-Runtime-Validation
06928a345a
Revert "Enable recoverable page faults by default on faultable hardware"
...
This reverts commit 4591b27900 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-27 07:02:48 +01:00
Milczarek, Slawomir
4591b27900
Enable recoverable page faults by default on faultable hardware
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-01-25 19:22:16 +01:00
Kamil Kopryk
a72cae15fe
refactor: don't use global ProductHelper getter 9/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-25 11:04:40 +01:00
Warchulski, Jaroslaw
11764dd9bf
Cleanup includes 40
...
Cleaned up files:
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/wddm/um_km_data_translator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-23 16:19:35 +01:00
Lukasz Jobczyk
3bf4291558
Align mmap cpu va to 2MB for sizes greater than 2MB
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-17 18:26:49 +01:00
Lukasz Jobczyk
3f0e8f52bc
[PVC] Remove tlb flush
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-12 07:46:29 +01:00
Compute-Runtime-Validation
e53eae6e5f
Revert "[PVC] Remove tlb flush"
...
This reverts commit 181d2021ed .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-11 19:27:55 +01:00
Lukasz Jobczyk
181d2021ed
[PVC] Remove tlb flush
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-11 15:11:35 +01:00
Mateusz Hoppe
5e4604f66d
fix: Do not wait infinitely for fence when context is hung
...
- when driver is unloaded cleanup paths wait for not completed
fences. In case a context has hung - set finite wait timeout
Resolves: NEO-7613
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-01-11 11:29:44 +01:00
Mateusz Jablonski
1fd8b26499
refactor: rename IoctlHelper::get to IoctlHelper::getI915Helper
...
remove drm version parameter as i915 is always expected
Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-09 12:32:45 +01:00
Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-05 12:58:38 +01:00
Cencelewska, Katarzyna
19763db9a2
fix: Move setupHardwareInfo to avoid overwrriten values from blob
...
device setupHardwareInfo should be called before setupSystemInfo to not
override queried systemInfo values
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-01-05 11:37:13 +01:00
Lukasz Jobczyk
6255361fcf
Revert "[PVC] Remove tlb flush from CCS"
...
This reverts commit e711aa9bc7 .
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-02 16:44:48 +01:00
Kamil Kopryk
2eaae763bc
Refactor: don't use global ProductHelper getter in shared files 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 14:06:50 +01:00
Cencelewska, Katarzyna
2bc62deb0d
wa: program proper patIndex on mtl
...
override patIndex to uncached when timestamp_packet_tag_buffer
to avoid hang on linux
Related-To: NEO-7565
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-12-28 05:14:39 +01:00
Lukasz Jobczyk
e711aa9bc7
[PVC] Remove tlb flush from CCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-12-23 13:22:59 +01:00
Compute-Runtime-Validation
5652edb92f
Revert "Remove tlb flush from CCS"
...
This reverts commit 797f56bed4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-12-23 11:42:08 +01:00
Lukasz Jobczyk
797f56bed4
Remove tlb flush from CCS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-12-23 08:52:38 +01:00
Mateusz Jablonski
c8b55e38a0
Refactor: dont use global getters for Product/GfxCore helper in engine helpers
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-20 17:16:21 +01:00
Warchulski, Jaroslaw
803bbb89d2
Cleanup includes 13
...
Cleaned up files:
shared/source/helpers/blit_commands_helper.h
shared/source/helpers/heap_assigner.h
shared/source/memory_manager/alignment_selector.h
shared/source/memory_manager/gfx_partition.h
shared/source/memory_manager/memory_manager.h
shared/source/os_interface/os_memory.h
shared/source/utilities/heap_allocator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-16 12:36:27 +01:00
Kamil Kopryk
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-14 14:39:52 +01:00
Mateusz Jablonski
8f308f24e5
Reduce usage of global gfx core helper getter [1/n]
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-09 17:27:37 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-09 10:29:06 +01:00
Jaime Arteaga
3bf416212b
Disable SET_PAIR by default.
...
To use, applications need to set EnableSetPair=1 explicitly.
When disabled, implicit scaling allocations require two IPC handles
to be exchanged with other processes using the zexMemGetIpcHandles
APIs.
When enabled, implicit scaling allocations only require one IPC
handle to be exchanged with other process using the zeMemGetIpcHandle
APIs. This is only available when allocation is imported in a different
device than the one in the exporter.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-12-08 01:52:39 +01:00
Warchulski, Jaroslaw
be647d42d9
Cleanup includes 12
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-07 13:14:15 +01:00
Warchulski, Jaroslaw
1fa5710dff
Cleanup includes 10
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-05 12:39:33 +01:00
Maciej Plewka
4b42b066f8
Use dedicated using type for TaskCount
...
Related-To: NEO-7155
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-28 16:44:44 +01:00
Mateusz Jablonski
27cb39ef25
Refactor: pass root device environment to gmm client context
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-28 13:26:29 +01:00
Warchulski, Jaroslaw
f35f59b573
Cleanup includes 5
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-18 22:46:38 +01:00
Jaime Arteaga
2c698fb5a1
Add debug key to disable SET_PAIR functionality
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-11-10 22:45:37 +01:00
Mateusz Hoppe
623f471321
Do not call waitUserFence under lock
...
Related-To: NEO-7454
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-09 15:48:19 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Bellekallu Rajkiran
2c71df0957
Fix urecoverable abort upon detach event
...
Unrecoverable abort will be invoked when drm ioctls fail during
device destruction.
Remove abort for case where i915 is unbinded.
Related-To: LOCI-3139
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-11-07 08:39:00 +01:00
Mateusz Jablonski
930ca001a1
Add a layer to translate exec buffer error to SubmissionStatus value
...
handle errors: EWOULDBLOCK, ENOSPC, ENOMEM, ENXIO
Related-To: NEO-7144, NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 10:32:54 +01:00
Dunajski, Bartosz
fad7f10b7b
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 16:24:43 +02:00
Dunajski, Bartosz
34eabf2960
Pass compression and cachable params to CachePolicyGetPATIndex query
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 10:41:17 +02:00
Mateusz Hoppe
5bd4b9eb48
Do not call DebuggerOpen ioctl again on EBUSY
...
Resolves: NEO-7429
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-19 10:26:35 +02:00
Joshua Santosh Ranjan
b2c80be6f9
Fix typo and error check when retrieving pci information
...
Fix
1. typo PhysialDevicePciSpeedInfo to PhysicalDevicePciSpeedInfo
2. error check to verify open() call
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-14 14:57:07 +02:00
Yates, Brandon
44894c1fdf
L0 Debug- Create generic topologyMap interface
...
Move Linux DebugSession thread conversion functions up to
DebugSessionImp to allow reuse in windows implementation
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-13 15:12:05 +02:00
Compute-Runtime-Validation
71149b29c5
Revert "Propagate exec buffer error to L0 API level"
...
This reverts commit 9a95f3c62d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-13 06:21:31 +02:00
Mateusz Jablonski
9a95f3c62d
Propagate exec buffer error to L0 API level
...
This change makes that drm file is opened in nonblocking mode for prelim
kernels. In such case when calling exec buffer ioctl and get
EAGAIN (aka EWOULDBLOCK) we may return error to API level
Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-10-12 17:34:35 +02:00
Dunajski, Bartosz
eb79500c60
Debug flag to print completion fence usage.
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-11 14:58:57 +02:00