Mateusz Jablonski
72e1ec3b42
fix: pass additional adapter info caps to gmmlib for wddm windows
...
Related-To: HSD-18041684792
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-27 12:43:31 +02:00
Lukasz Jobczyk
a0f683e42b
fix: Move evict after unlock to wddm layer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-27 10:52:23 +02:00
Chandio, Bibrak Qamar
f344eb9bca
test: ULT for makeResidentResources
...
Related-To: NEO-14056
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-04-04 05:55:08 +02:00
Mateusz Jablonski
d25237c104
fix: pass ReadOnly flag only for page-misaligned input ptr
...
Related-To: NEO-12986
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-11 10:42:42 +01:00
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
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
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
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
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
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
Mateusz Jablonski
8ae4a3bc7a
fix: pass Sku/Wa tables for gmm without additional translations on Windows
...
Related-To: NEO-10623
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-06 14:58:58 +01:00
Katarzyna Cencelewska
fbe61cf547
fix: add kmd wait on cpu when wait on paging fence when needed
...
add storing of throttle hint value for direct submission
Related-To: NEO-9123
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-11-09 19:22:15 +01:00
Zbigniew Zdanowicz
19586277ca
refactor: add debug flag to control delay after waiting for paging fence on cpu
...
Related-To: NEO-8395
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-11-03 12:49:39 +01:00
Lukasz Jobczyk
e9f199bcad
performance: Wait in busy loop with timeout before Gdi sync object
...
Resolves: NEO-8343
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-09-08 14:40:20 +02:00
Mateusz Hoppe
8435160db4
feature: bindless addressing for images
...
- program surface states for redescribed images correctly. Image copy
to/from memory are using redescribed surface states,
- refactor state base address programming - program address and size
together, set max size at the beginning due to lack of Enable flag
- set GpuBase in WddmAllocation when external heap is used
- return max ssh required size from kernelInfo or based on stateful args
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-08-18 15:59:20 +02:00
Lukasz Jobczyk
c294ef48ce
fix: Make tlb flush os agnostic
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-06-30 14:12:59 +02:00
Cencelewska, Katarzyna
115d6de350
fix: add debug key to verify device state before submit
...
- new debug key EnableDeviceStateVerification to check device state not
ony in debug mode
Related-To: NEO-7669
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-05-31 14:31:23 +02:00
Kamil Kopryk
3e6c83d28a
fix: initialize ipVersion in wddm paths
...
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-05-22 10:13:13 +02:00
Spruit, Neil R
5633418891
fix: Don't fail on VM reserve with base address on windows
...
Related-To: LOCI-4333
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-05-04 20:05:16 +02:00
Warchulski, Jaroslaw
0556d543a3
Cleanup includes 56
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-16 14:42:44 +01:00
Warchulski, Jaroslaw
bc13db734d
Cleanup includes 41
...
Cleaned up files:
shared/source/command_stream/aub_command_stream_receiver_hw.h
shared/source/helpers/common_types.h
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/hw_device_id.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-24 14:37:36 +01:00
Spruit, Neil R
f928d695e7
Support for Mapping Physical with Virtual Memory
...
Related-To: LOCI-3422, LOCI-3421
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2023-01-20 05:17:10 +01:00
Mateusz Jablonski
28319a8e81
Refactor: don't pass redundant hw info to applyAdditionalContextFlags
...
Wddm already contains reference to root device environment
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-02 10:20:13 +01:00
Kamil Kopryk
6993ed5c52
Reduce binaries sizes 2/n
...
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-08 16:14:38 +01:00
Spruit, Neil R
d81b0b14a1
L0 Virtual Memory Reservation support
...
- Enable support for L0 Virtual Memory reservation on Linux and Windows.
- Excludes support for Linux to allow pStart option
Related-To: LOCI-3397, LOCI-1543
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-12-01 00:55:19 +01:00
Kamil Diedrich
6f14e8414e
Add wddm ult for Linux build [1/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-11-25 12:01:42 +01:00
Mateusz Jablonski
8ddc889c1d
Store hardware IP version in hardware info
...
Query HW IP version using ioctl helper prelim
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-03 09:57:08 +01:00
Zbigniew Zdanowicz
315f6230bf
correct name of evict flag to match wddm
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-22 18:14:51 +02:00
Zbigniew Zdanowicz
0ecc08337e
Add debug flag that overrides control of wddm evict flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-11 12:06:11 +02:00
Kamil Diedrich
b39be32e20
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-09 14:11:05 +02:00
Compute-Runtime-Validation
3a31caf44a
Revert "Add member for handling additional adapterInfo fields"
...
This reverts commit aafbbf54db
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 09:36:36 +02:00
Kamil Diedrich
aafbbf54db
Add member for handling additional adapterInfo fields
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-03 16:14:46 +02:00
Zbigniew Zdanowicz
4db5d7a6e7
Add flag for hardware support of eviction flag
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-26 13:21:43 +02:00
Igor Venevtsev
547dd59272
Debugger L0 Win: Implement CREATE_DEBUG_DATA/MODULE_CREATE events handling
...
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-20 13:20:50 +02:00
Zbigniew Zdanowicz
d19cab1fb3
Add new wddm eviction parameter
...
Related-To: NEO-7179
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-18 18:09:57 +02:00
Baj, Tomasz
b450d3c20b
Add cl_khr_device_uuid to extension list
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-07-18 12:28:04 +02:00
Fabian Zwolinski
44ebe800df
Move MockWddm body to WddmMock
...
This commit cleans the code after previously removed GMock from the
MockWddm(GmockWddm) class by merging MockWddm class into WddmMock.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-12 16:08:46 +01:00
Fabian Zwolinski
1d48e97649
Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests...
...
GMock Removed from:
- MockAubCsr
- GmockAubFileStream
- AsyncEventsHandlerTests
- AsyncEventsHandlerTests::MyEvent
- MockGmmPageTableMngr
- GmockWddm
Additionally:
- GmockAubFileStream body moved to MockAubFileStream class
- Deleted unused GmockAubFileStream class
- Deleted NiceMocks from AsyncEventsHandlerTests
- Renamed GmockWddm to MockWddm
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-05 14:45:13 +01:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Kamil Diedrich
465bec3d76
Add NTHandle sharing
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-10-19 14:17:25 +02:00
Jaroslaw Chodor
996dd18b76
WSL - partition layout for 48-bit limited addressing
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-09-28 18:09:46 +02:00
Jaroslaw Chodor
78499ca48d
Mitigation for WDDM_LINUX allocation size limits
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-07-16 03:36:19 +02:00
Piotr Obst
acf3e58a64
Move wddm_fixture.h and releted files from opencl to shared
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00