Mateusz Jablonski
a924761ed1
fix: correct flags for creating allocation with existing system memory
...
on Windows setup ReadOnly flag, it makes there is no ProbeForWrite call within
CreateAllocation2 function call
it doesn't force read-only access from GPU perspective, that access it
defined in MapGpuVa function
Related-To: NEO-12986, HSD-15016952776
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-02-03 11:24:55 +01:00
Compute-Runtime-Validation
3556d9ded6
Revert "fix: set ReadOnly flag when creating allocation with existing system ...
...
This reverts commit bddb24124d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-31 12:15:12 +01:00
Mateusz Jablonski
bddb24124d
fix: set ReadOnly flag when creating allocation with existing system memory
...
setting ReadOnly flag makes there is no ProbeForWrite call within
CreateAllocation2 function call
it doesn't make read-only access from GPU perspective, that access it
defined in MapGpuVa function
Related-To: NEO-12986, HSD-15016952776
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-01-30 19:43:44 +01:00
Compute-Runtime-Validation
242a31a024
Revert "refactor: remove excess cast to C-string and add const reference"
...
This reverts commit 34ee40393f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-15 02:43:40 +01:00
Semenov Herman (Семенов Герман)
34ee40393f
refactor: remove excess cast to C-string and add const reference
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru >
2025-01-14 13:25:31 +01:00
Mateusz Hoppe
3e9f1d0730
refactor: add debug message about invalid driver path
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-01-09 18:30:00 +01:00
Compute-Runtime-Validation
58707e0cf7
Revert "refactor: migration to std::make_unique C++17"
...
This reverts commit 4cf685cb7d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-09 01:41:36 +01:00
Semenov Herman (Семенов Герман)
4cf685cb7d
refactor: migration to std::make_unique C++17
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru >
2025-01-08 17:20:00 +01:00
Lukasz Jobczyk
c2093990d4
fix: Flush monitor fence only to context where needed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-12-11 10:06:43 +01:00
Mateusz Jablonski
c96f2e2df7
fix: add debug break in case of eviction failure
...
Eviction failure may lead to device error state
Related-To: GSD-10319
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-27 11:39:15 +01:00
Mateusz Jablonski
974e8ae63f
performance: don't call evict with empty handle list
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-27 09:25:36 +01:00
Lukasz Jobczyk
e687e11ab1
performance: Add CCS Optimization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-23 11:35:57 +02:00
Compute-Runtime-Validation
e10998db45
Revert "performance: Add CCS Optimization"
...
This reverts commit e7b3a40aa7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-22 05:52:14 +02:00
Lukasz Jobczyk
e7b3a40aa7
performance: Add CCS Optimization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-21 09:59: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
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
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
Compute-Runtime-Validation
a55a846284
Revert "fix: update slm size based on gt system info in wddm path"
...
This reverts commit d433fd585a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-11 03:43:37 +02:00
Mateusz Jablonski
d433fd585a
fix: update slm size based on gt system info in wddm path
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-10-10 11:29:19 +02:00
Mateusz Jablonski
658a0667d4
fix: add missing command buffer header translation for WSL in WDDM2.3 case
...
Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-24 13:40:17 +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
Mateusz Jablonski
579af57161
refactor: don't call OsLibrary::load directly, use function pointer
...
this allows mocking this call in ULT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-20 08:59:26 +02:00
Szymon Morek
556a116987
fix: make paging fence address volatile
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-07 15:09:34 +02:00
Szymon Morek
d4c1631ac7
performance: don't wait for paging fence on user thread
...
Related-To: NEO-12197
Currently for new resources user thread must wait before submitting
actual workload. With this commit, instead of waiting on user thread,
request is sent to background ULLS controller thread and additional
semaphore is programmed. ULLS controller will perform actual wait
and signal semaphore when paging fence reaches required value.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-08-07 08:30:51 +02:00
shubham kumar
0002eb3fcc
feature: adding eu stall support on windows
...
Related-To: NEO-12174
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-08-06 06:47:11 +02:00
Mateusz Jablonski
afc1664fce
fix: fail wddm initialization when cannot create topology map
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-30 09:35:42 +02:00
Mateusz Hoppe
0800ab54f5
refactor: remove redundant getPid()
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-22 22:51:47 +02:00
Michal Mrozek
61e08ef4ff
performance: add debug flag to allow non zero for compressed
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-07-16 12:46:10 +02:00
Mateusz Jablonski
a2fb4da91d
fix: correct fallback path when creating topology map in Wddm
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-15 16:52:47 +02:00
shubham kumar
e78c8edcf3
refactor: prework for adding eu stall support on windows
...
Related-To: NEO-9492
Signed-off-by: shubham kumar <shubham.kumar@intel.com >
2024-07-12 16:27:24 +02:00
Mateusz Jablonski
e39994f525
fix: setup slm size based on gt system info when not set in capability table
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-09 15:21:35 +02:00
Compute-Runtime-Validation
991640f558
Revert "fix: update slm size in capability table based on gt system info"
...
This reverts commit 47e064a686 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-09 03:31:42 +02:00
Mateusz Jablonski
47e064a686
fix: update slm size in capability table based on gt system info
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-08 09:35:25 +02:00
Compute-Runtime-Validation
c679e7df30
Revert "fix: update slm size in capability table based on gt system info"
...
This reverts commit e624a4b0ab .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-06 03:40:49 +02:00
Mateusz Jablonski
e624a4b0ab
fix: update slm size in capability table based on gt system info
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-05 14:25:33 +02:00
Michal Mrozek
c817d15b59
fix: residency leak
...
- properly add needsMakeResidentBeforeLock in Wddm Allocation so while
destroying the allocation it is properly removed from wddm residency controller
- add cannot trim further flag after eviction
- fix debug variable
Related-To: NEO-11731
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-06-25 15:17:11 +02:00
Jaroslaw Warchulski
0b513fba0d
fix: do not open NT handle when number of allocations is zero
...
Resolves: NEO-11803
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-25 08:59:12 +02:00
Jaroslaw Warchulski
daec249430
refactor: remove not needed createGraphicsAllocationFromNTHandle method
...
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-18 14:25:00 +02:00
Bartosz Dunajski
f910f94ef9
fix: change default wddm low priority context value
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-18 11:20:23 +02:00
Jaroslaw Warchulski
bca6568e5b
fix: add support for arrays of NV12 surfaces
...
Resolves: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-12 23:19:29 +02:00
Jaroslaw Warchulski
76a05c1cab
refactor: pass arrayIndex to Wddm::openNTHandle function
...
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-12 12:11:35 +02:00
Jaroslaw Warchulski
0ac1be7669
refactor: pass arrayIndex to Wddm::openSharedHandle function
...
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-07 09:51:26 +02:00
Maciej Plewka
18ea80865b
refactor: Use GPU VA as id for ResidencyDebug logs
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-05-23 09:55:03 +02:00
Compute-Runtime-Validation
0cd45fcb2e
Revert "refactor: Use GPU VA as id for ResidencyDebug logs"
...
This reverts commit 3a0b8825d6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-22 17:28:57 +02:00
Maciej Plewka
3a0b8825d6
refactor: Use GPU VA as id for ResidencyDebug logs
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-05-22 15:01:36 +02:00
Lukasz Jobczyk
4be3230051
fix: Use current fence values when create fence for ULLS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-04-24 18:19:58 +02:00
Maciej Plewka
71286be6ad
fix: Pass umd type info to kmd
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-04-19 12:40:28 +02:00
Igor Venevtsev
6425afc548
fix: properly set ReadOnly flag for D3DKMTCreateAllocation2
...
This is an OS behavior to have failed an allocation with a
const buffer backing storage (PAGE_READONLY attribute set)
ReadOnly flag allows to create allocation with read-only
backing storage
Related-To: NEO-9664, HSD-16021966023
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2024-04-19 11:32:46 +02:00
Lukasz Jobczyk
8a0c425495
feature: Mark selected resources as UC when mitigating dc flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-04-12 12:52:13 +02:00