Commit Graph

1400 Commits

Author SHA1 Message Date
Robert Krzemień
fe1fd22371 fix: stop direct submission before oa configuration activation
Related-To: NEO-12778
Signed-off-by: Robert Krzemień <robert.krzemien@intel.com>
2024-10-22 14:26:44 +02:00
Tomasz Biernacik
46f3d27339 feature: initialize regionCount
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-18 13:33:14 +02:00
Mateusz Jablonski
4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
Tomasz Biernacik
c982981dde feature: add number of rt stacks to capability table
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-17 14:46:19 +02:00
Compute-Runtime-Validation
f117b5fb68 Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-17 08:20:19 +02:00
Mateusz Jablonski
9c7b3c5e19 fix: correct loading L0 loader functions
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-16 19:53:05 +02:00
Tomasz Biernacik
bf6d9fc416 feature: read new params from blob
Related-To: NEO-12138

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-10-16 10:29:22 +02:00
Mateusz Jablonski
2ce3022030 refactor: remove not needed code
Related-To: NEO-12949
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-15 15:33:12 +02:00
Slawomir Milczarek
ec66d9e82d feature: Add getter to query drm about device node
Related-To: NEO-11817

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-10-14 17:58:24 +02:00
Bartosz Dunajski
f430279d62 fix: change doorbell type
Related-To: NEO-12870

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-14 14:58:11 +02:00
Szymon Morek
7f2b806413 fix: Override timestamp width from KMD
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-14 13:38:33 +02:00
Oskar Hubert Weber
8527779778 fix: running Blender with SYSMAN enabled on Linux
Related-To: NEO-11618

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-10-14 12:36:08 +02:00
Compute-Runtime-Validation
94d662a9a9 Revert "fix: update slm size based on gt system info in drm path"
This reverts commit 6a8a5bca3b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-11 03:20:29 +02:00
Mateusz Jablonski
6a8a5bca3b fix: update slm size based on gt system info in drm path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 11:25:24 +02:00
Wojciech Konior
6b40f9bc5a refactor: engineInstancedType removed
Related-To: NEO-12594

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2024-10-09 16:30:48 +02:00
Bartosz Dunajski
834f00d48b fix: dont query timestamp if debug flag is disabled
Related-To: NEO-12907

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-09 16:08:04 +02:00
Mateusz Jablonski
8fbe873e1b build: correct setting for i915/xe prelim setting in package scripts
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 15:55:59 +02:00
Bartosz Dunajski
9a280892f8 refactor: add timestamps to xe logs
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-07 11:42:55 +02:00
Maciej Plewka
e73e865b61 fix: If dummy exec failed call evict from outside the lock
Related-To: NEO-12849, HSD-18040201135
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-10-07 10:17:16 +02:00
Mateusz Hoppe
e5658e5327 fix: fix freeing allocations in aub mode
- free in operations handler with aub dump must be called to evict
allocations from residentAllocations list
- prior to this change - stale allocations where in the container
leading to crash in aub modes

Related-To: NEO-12869

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-03 17:14:07 +02:00
Compute-Runtime-Validation
31618d9e18 Revert "fix: add workaround for incorrect DRM system info"
This reverts commit 7ac991fa3f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-03 15:22:21 +02:00
Compute-Runtime-Validation
41df1a6f47 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit bfaeeb01d6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-03 14:53:50 +02:00
Dominik Dabek
ac8dcdb298 fix: do not unregister shared allocation
Allocations imported from shared handle are not using registerAlloc in drm
manager but on free, unregister was called.

This could lead to problems with allocation size tracking.

This change will skip the unregisterAllocation call if allocation is
imported from shared handle.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-02 16:32:24 +02:00
Naklicki, Mateusz
516e502b8c fix: remove obsolete workaround about memory locking
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-10-02 15:55:50 +02:00
Artur Harasimiuk
22505ca3ed refactor: cleanup coding style
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-10-02 12:42:39 +02:00
Mateusz Jablonski
e4be88dff0 refactor: correct location of ioctl helper files
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-01 14:48:12 +02:00
Mateusz Jablonski
9b7ac3a71e fix: correct querying number of slices in xe path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 19:16:41 +02:00
Mateusz Jablonski
d3432c6b2b fix: respect max subslice count when parsing subslice info in xe path
don't parse more data than max subslice count
setup slice count based on slice indices size
unify get topology map and get topology data methods to reduce
loop iterations

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 17:01:05 +02:00
Mateusz Jablonski
f8e77d5f43 fix: remove check for xe vmbind flags support
bind immediate and readonly flags are already available in upstream

Related-To: NEO-12774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-24 14:33:31 +02:00
Maciej Plewka
80f75ceace fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-09-23 14:43:59 +02:00
Slawomir Milczarek
354bef70ac feature: Add ioctl helper function to get fence address
Related-To: NEO-11817

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-09-20 19:30:10 +02:00
Jitendra Sharma
25f2504bf5 fix: set eudebug extension property when debugging enabled
In order to debug on XE, XE_EXEC_QUEUE_SET_PROPERTY_EUDEBUG
needs to be set up.

Related-To: NEO-12691
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-18 08:32:03 +02:00
Mateusz Jablonski
86a088e13f feature: move L3 bank query from xe-prelim to xe-nonprelim path
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 18:14:17 +02:00
Young Jin Yoon
4b132245d1 fix: use immediate for makeMemoryResident
Modified to enable immediate flag when resident boolean
is true for vm_bind

Related-To: NEO-8277

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-09-17 07:48:58 +02:00
Brandon Yates
33364baae7 fix: Use prelim prefix for xe debug sysfs file name
Related-to: NEO-7979

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-09-13 23:23:22 +02:00
Mateusz Hoppe
8698b5504b fix: correctly initialize GfxCoreHelper from HwInfo
Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-13 14:54:32 +02:00
Chandio, Bibrak Qamar
27c7fbc611 feature: set error description in os_interface/linux
Added setErrorDescription for drm_buffer_object, drm_memory_manager,
and ioctl_helper_prelim

Related-To: NEO-12456

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2024-09-12 18:48:41 +02:00
Mateusz Jablonski
bc5237ca8a feature: add support for query l3 bank count in xe-prelim
Related-To: NEO-11125
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-11 11:28:43 +02:00
Mateusz Jablonski
1c15fa5c70 fix: correct thread-safety in removing from bind info vector in xe path
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-11 02:49:27 +02:00
Young Jin Yoon
675ec13439 fix: add rootDeviceIndex for BufferObjectHandleWrapper
Modified sharedBoHandles to use the (boHandle, rootDeviceIndex) pair
as a key instead of boHandle, and added rootDeviceIndex variable in
the BufferObjectHandleWrapper class of drm_buffer_object.h.

Previously sharedBoHandles uses boHandle as a key. However, this will
not work with the system using multiple devices, because each devices
can return the same handle to refer different memory region.

Related-To: GSD-9024
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-09-10 19:27:19 +02:00
Fabian Zwoliński
ea5b586c37 fix: move pathExists out of sys calls and do not mock it
Moved pathExists from SysCalls to path.h.
In ULTs, use unchanged pathExists and mock stat, getFileAttributesA instead.
Add Windows and Linux ULTs for pathExists.

Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-09-10 19:24:45 +02:00
Mateusz Jablonski
dfbad8029b feature: add support for SIMD16 EU per DSS to xe-prelim helper
Related-To: NEO-12012
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-10 15:35:46 +02:00
Mateusz Jablonski
eca60f01d1 refactor: extract IoctlHelperXePrelim that would use xe prelim headers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-10 12:04:11 +02:00
Wenbin Lu
7ac991fa3f fix: add workaround for incorrect DRM system info
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-09-10 08:48:01 +02:00
Wenbin Lu
bfaeeb01d6 feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-09-09 23:22:04 +02:00
Slawomir Milczarek
bf5953c091 feature: Add ioctl helper function to set external context
Related-To: NEO-11817

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2024-09-05 15:21:26 +02:00
Compute-Runtime-Validation
d842f65cf1 Revert "fix: submit dummy exec to pin memory during zeContextMakeMemoryReside...
This reverts commit f9b87d53e6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-05 03:28:03 +02:00
Maciej Plewka
f9b87d53e6 fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>

Related-To: NEO-11879
2024-09-04 14:07:29 +02:00
Naklicki, Mateusz
2db6955296 performance: remove excessive ioctl call
Related-to: HSD-18039694684
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-09-04 10:07:56 +02:00
Compute-Runtime-Validation
99f62ac866 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit 93cde3ee12.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-03 20:20:25 +02:00