Mateusz Jablonski
420e1391b2
fix: handle not aligned gtt size reported by i915
...
when i915 reports gtt size between 47 and 48 bits we consider
it as 48 bit VA space
Related-To: GSD-8215
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-29 07:51:06 +01:00
Mateusz Jablonski
0428c0acd1
refactor: correct naming of HeapIndex enum values
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-12 11:46:17 +01:00
Mateusz Hoppe
c2d69e5857
feature: allocate SPECIAL_SSH heap in front window from EXTERNAL heap
...
- SPECIAL_SSH is used for debug surface SurfaceState which must be
located at bindless offset zero
- limit size of external front window
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-10-09 14:54:39 +02:00
Mateusz Hoppe
8b4242eb32
refactor: move setting GpuBaseAddress to mapGpu call
...
- set base address of heap after mapping allocation to gpu va
- ensures the same heapIndex is used while choosing heap range and
setting base
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-10-09 12:21:23 +02:00
Mateusz Jablonski
fd1ad7c1f0
feature: setup heap extended host size based on system memory size
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-04-28 15:23:01 +02:00
Mateusz Jablonski
5a5c20f99c
fix: create separate heap for host and shared usm in 48-56b VA
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-04-28 10:09:38 +02:00
Mateusz Jablonski
7e5e27f0b9
feature usm: reserve heap extended in 57 bit address space
...
use mocked mmap function in unit tests
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-28 11:06:03 +02:00
Neil Spruit
2aaebddb37
Revert "Heap allocation allow base address and growable addresses"
...
This reverts commit 44ec497b1a
.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-02-15 18:34:40 +01:00
Spruit, Neil R
44ec497b1a
feature: Allow for Allocating a base address in the heap and grow an allocation
...
Related-To: LOCI-3871
- Enabled allocation of specified base address in the targeted heap.
- Enabled virtual memory reservations to grow by allocating at the start
of the heap vs the end of the heap.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-02-15 08:13:38 +01:00
Warchulski, Jaroslaw
8de3898abc
Cleanup includes 31
...
Cleaned up files:
shared/source/command_stream/experimental_command_buffer.h
shared/source/helpers/get_info.h
shared/source/helpers/local_id_gen.h
shared/source/memory_manager/gfx_partition.h
shared/source/memory_manager/host_ptr_manager.h
shared/source/memory_manager/prefetch_manager.h
shared/test/common/mocks/mock_memory_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-16 11:45:55 +01:00
Warchulski, Jaroslaw
803bbb89d2
Cleanup includes 13
...
Cleaned up files:
shared/source/helpers/blit_commands_helper.h
shared/source/helpers/heap_assigner.h
shared/source/memory_manager/alignment_selector.h
shared/source/memory_manager/gfx_partition.h
shared/source/memory_manager/memory_manager.h
shared/source/os_interface/os_memory.h
shared/source/utilities/heap_allocator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-16 12:36:27 +01:00
Dunajski, Bartosz
4809a2a9b3
Allow debug flag to apply allocation alignment for heaps
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-29 15:17:56 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Maciej Dziuban
33e8f73775
Enable custom allocation alignments on Linux
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-24 12:56:51 +02:00
Maciej Dziuban
495841812f
Free allocations in 2MB heaps
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-23 09:07:37 +02:00
Milczarek, Slawomir
75f3b416ae
Gfx partition with 64KB and 2MB heap granularities
...
Related-To: NEO-5507
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-01 14:54:55 +02:00
Mateusz Hoppe
86a234ead6
Allocate debug area together with isa
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-26 09:31:44 +01:00
Slawomir Milczarek
049166688c
Introduced standard heap with 2MB alignment on Linux
...
Related-To: NEO-5507
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-02 14:03:37 +01:00
Slawomir Milczarek
2a1069eda2
Configure 2MB alignment for allocations on standard heap 64k
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-22 11:56:33 +01:00
Igor Venevtsev
cb13a5184d
Check for supported CPU VA size in GfxPartition initialization
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-01-14 16:55:59 +01:00
Mateusz Hoppe
b9aee10679
Initialize internal heaps with at least minAddress from Wddm
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-04 13:13:13 +01:00
Bartosz Dunajski
3ed2823d45
Revert "Always reserve 48 bit window on 57 bit CPU"
...
This reverts commit 8f10db0c7ff13a72526141269ad09142a5d74e5f.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-06 14:12:46 +01:00
Igor Venevtsev
67a31d0975
Check for supported CPU VA size in GfxPartition initialization
...
Resolves: NEO-5220
Change-Id: I081b0c693e9d7a468be81e12d7f816fada5da21d
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-27 13:19:56 +01:00
Mateusz Hoppe
067ae67954
Introduce FRONT_WINDOW heaps inside INTERNAL heaps
...
Related-To: NEO-4550
Change-Id: I1979afb20881bcad7999af3ac5fd4f407b85ccc7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-15 17:18:31 +02:00
Igor Venevtsev
bd9695a19a
Get rid of UNRECOVERABLE_IF in MemoryManager constructor
...
Related-To: NEO-5053
Change-Id: Ibf955c760e61e34c4d38cbb5071ef712bae1c518
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-07 11:18:56 +02:00
Maciej Plewka
e34c319ed7
Special address pool at External heap begining
...
Change-Id: I7da6e67010ff7a819aec25abea9213b6e43e348e
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-09-29 07:51:12 +02:00
Igor Venevtsev
8a73b072b4
Share reserved CPU address space region among GfxPartitions
...
Related-To: NEO-4525
Change-Id: Id7534e317a10849c08ec29a090d782dcc4fabced
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-08-21 12:48:49 +02:00
Filip Hazubski
d0527e1049
Rename memory_constants.h to constants.h
...
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 14:19:39 +02:00
Igor Venevtsev
2ac968e6c2
Add alignment capability do OSMemory::reserveCpuAddressRange
...
Resolves: NEO-4510
Change-Id: Iffcb33d1c06ca930345df0216bc5d3d1ce12c313
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-04-01 07:46:40 +02:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00