Jaime Arteaga
a010fb3634
Dont close shared handle on imported allocations
...
Related-To: LOCI-2272
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-03-06 04:35:47 +01:00
Lukasz Jobczyk
0634aa3f1b
Create resource with given address
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-02-24 17:06:19 +01:00
Bartosz Dunajski
61ca84e94b
Pass memory placement info to StorageInfo
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-09 16:55:32 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Katarzyna Cencelewska
45d23868de
Remove device enqueue part 15
...
- remove DEVICE_QUEUE_BUFFER
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-02-03 16:19:07 +01:00
Milczarek, Slawomir
2be98a1e62
Create kmd migrated allocation with initial placement
...
Implements ZE_HOST_MEM_ALLOC_FLAG_BIAS_INITIAL_PLACEMENT
for zeMemAllocShared with KMD migrated allocation.
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-02-01 15:42:10 +01:00
Spruit, Neil R
ae77bd1bd2
Enable Device Memory to be shared in WSL-2 with L0
...
- Add getMemoryManagerType to check which memory manager has been init
to determine if Linux + WDDM memory manager is in use.
- Add isNTHandle to test and verify if a handle is an NT handle during
L0 Open IPC Handle.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-27 23:14:29 +01:00
Bartosz Dunajski
dfdd3c597a
Remove redundant BUFFER_COMPRESSED allocation type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:35:49 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 18:09:02 +01:00
Bartosz Dunajski
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 15:24:35 +01:00
Mateusz Jablonski
95610188af
Fallback to cpu copy when filling work partition allocation
...
move some command stream receiver tests to shared
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-03 12:17:02 +01:00
Compute-Runtime-Validation
782a287b27
Revert "Fallback to cpu copy when filling work partition allocation"
...
This reverts commit 93e3d948f5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-29 04:39:22 +02:00
Mateusz Jablonski
515130dbe8
Fail on blitMemoryToAllocation when blitter is not supported
...
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 16:13:40 +02:00
Mateusz Jablonski
93e3d948f5
Fallback to cpu copy when filling work partition allocation
...
move some command stream receiver tests to shared
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-28 14:30:00 +02:00
Compute-Runtime-Validation
ba767dfbaf
Revert "Fail on blitMemoryToAllocation when blitter is not supported"
...
This reverts commit 7bfeeaab86
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-27 09:13:57 +02:00
Mateusz Jablonski
7bfeeaab86
Fail on blitMemoryToAllocation when blitter is not supported
...
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-26 11:05:51 +02:00
Bartosz Dunajski
d34ef3170a
Remove CPP_ATTRIBUTE_FALLTHROUGH macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 17:27:57 +02:00
Jitendra Sharma
f8c89fe984
Refactor memory manager so as to support device reset
...
Move out neoDevice dependent pieces of memory manager code into
separate methods. Those methods could be used for recreating a neoDevice
after a device reset is performed.
Related-To: LOCI-2615
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-10-19 07:16:29 +02:00
Katarzyna Cencelewska
30b3f5cdb0
Move PageTableManager from rootDeviceEnvironment to CommandStreamReceiver
...
Also add init of pageTable registers to blitter path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-09-30 12:59:11 +02:00
Mateusz Hoppe
d4a4c35759
Zero-initialize debug surface
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-09-22 14:36:36 +02:00
Rafal Maziejuk
dc8b92d8a6
Move heapInLocalMem function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-4541
2021-09-22 11:44:44 +02:00
Kamil Diedrich
4390590831
Add shareable allocation for Windows
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-26 13:43:55 +02:00
Jaime Arteaga
5c236a62fd
Changes to SW tags
...
Add SW tags to synchronization points
Add ID sequence numbers
Add new allocation type
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-18 01:51:37 +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
Andrzej Koska
94c97fc14c
Allowing the creation of overlapping buffers
...
Related-To: NEO-5871
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2021-08-10 10:59:29 +02:00
Milczarek, Slawomir
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Lukasz Jobczyk
d99f20d400
Move semaphore buffer to system memory
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-08-02 14:24:12 +02:00
Lukasz Jobczyk
f22251f68a
Add remaining external allocation types for local bank selector
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 16:57:37 +02:00
Lukasz Jobczyk
890eec6105
Separate local memory usage tracking for internal and external
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 07:52:43 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-19 19:49:22 +02:00
Lukasz Jobczyk
449c0dc856
Do not register allocation on fail
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-05 19:23:58 +02:00
Lukasz Jobczyk
850b38781d
Move RING_BUFFER to system memory
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-06-29 16:24:43 +02:00
Mateusz Hoppe
48feca4f44
Check Isa placement for every root device
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-06-21 11:53:19 +02:00
Mateusz Hoppe
0f32231fc8
Use correct INTERNAL heap base address for ISA in system memory
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-25 10:22:28 +02:00
Igor Venevtsev
21690dcea5
Fix debugSurface initialization
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-05-24 12:28:23 +02:00
Andrzej Koska
c59f44ecdf
Collision avoidance on 36 bit address space
...
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
Related-To: NEO-5356
2021-05-21 11:20:35 +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 Jablonski
a304e609fe
Respect forceSystemMemory flag at the end of getAllocationData method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-14 10:58:23 +02:00
Mateusz Jablonski
b7c7bc0a24
Correct createMultiGraphicsAllocationInSystemMemoryPool method
...
force system memory placement
skip duplicated root device indices
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-13 12:11:49 +02:00
Mateusz Jablonski
296634f5b8
Fallback to CPU copy when blit copy fails
...
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-12 15:38:24 +02:00
Zbigniew Zdanowicz
544890c066
Change default placement of preemption allocation
...
Related-To: NEO-5800
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-11 15:26:24 +02:00
Lukasz Jobczyk
8e1e213bcf
Disable GEM_WAIT when new residency model available
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-05-10 14:59:21 +02:00
Dominik Dabek
bb9d902899
Add padding for ISA allocations
...
Related-To: NEO-5771
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-04-27 11:03:58 +02:00
Mateusz Jablonski
9a22d06efe
Store default engine index per root device
...
Resolves: NEO-5768
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 14:55:13 +02:00
Maciej Dziuban
fd9fb3e46b
Remove isInitialized() method from OsContext
...
We can fail early, instead of constructing an invalid object
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-13 14:12:20 +02:00
Krzysztof Gibala
0b7d2da162
Create image allocations in system memory pool
...
Create image allocations in multi device setup in system memory pool
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-26 15:35:05 +01:00
Krzysztof Gibala
bdf8cf5e23
Add crossRootDeviceAccess flag
...
Add flag to AllocationProperties for setup system memory allocation path
for buffers
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-23 14:56:19 +01:00
Krzysztof Gibala
274d2ff4b4
Correct createMultiGraphicsAllocationInSystemMemoryPool logic
...
isUSMHostAllocation flag will be set according to limited range product setup
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-16 16:22:33 +01: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
Mateusz Hoppe
516a905712
Mark Scratch and Private allocations for capture
...
Related-To: NEO-5237
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-10 14:04:57 +01:00