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
Szymon Morek
5be9d2d584
Add assignRegionsFromDistances logic
...
If prelim kernel is being used, use distances
logic to assign memory regions.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-30 17:48:16 +01:00
Szymon Morek
d9f6757378
Change return type from unique_ptr to vector
...
In some of the drm functions there is a pattern
to store array in unique_ptr and pass it's length
as an argument. This commit simplifies this.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-28 10:33:53 +01:00
Szymon Morek
2647d563c7
Remove i915 structs from MemoryInfo
...
Use structs defined in ioctl_helper.h instead of
i915 dependent ones to avoid conflicts between
different kernels
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-12-22 12:46:59 +01:00
Szymon Morek
12777bd758
Move MemoryInfoImpl logic to MemoryInfo
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-11-29 13:13:11 +01:00
Szymon Morek
5c1c96fa94
Refactor gem creation with extensions
...
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-09-22 15:36:27 +02:00
Szymon Morek
efd66a32c2
Add multitile arch. code in drm getLocalMemorySize
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-09-13 13:51:47 +02:00
Bartosz Dunajski
45b005161a
Dont create VM IDs if not supported
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-14 10:51:56 +02:00
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00