Jaime Arteaga
9f9bf38d64
Copy user buffers when not accepted by Kernel
...
When performing copy operations to or from buffers allocated by the
user, it could happen that the buffer address is not accepted by
kernel, even though the buffer is valid. In those ocassions, then
allocate a new graphics allocation and copy the user buffer.
Change-Id: I6b1b6f2ef5fea0acf32c868bc87eafe8746f9a79
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-02 10:03:18 +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
Bartosz Dunajski
8db8b09339
Use dedicated helper to detect ISA placement requirement
...
Change-Id: I701c64b52fddfef1e493f4adaef4edc28f5ffdf0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-22 13:30:12 +02:00
Mateusz Hoppe
eb287d87d7
Register Allocations
...
Related-To: NEO-4964
Change-Id: I792dd7f7d6d594f51701ec7a40b2c0d36531b02b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-18 10:34:02 +02:00
Lukasz Jobczyk
a528908cbd
Unbind unused resources when running out of memory
...
Resolves: NEO-5052
Change-Id: I3a07221b800317c79e65396443933d13d334a274
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-17 12:59:45 +02:00
Zbigniew Zdanowicz
7d506e3608
Add debug flag to enable compression in L0 USM allocations
...
Related-To: NEO-5069
Change-Id: Icbfeb8d72cd764bb3c90d5c699998455f81dd3ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-14 12:47:33 +02:00
Jaime Arteaga
5c1e60208e
Share USM host pointers among devices (2)
...
Dont pin and instantiate buffer objects associated with a USM
allocation for device >0 at allocation time, but instead, just
do a USERPTR ioctl, as with the allocation associated with
device 0.
Change-Id: Ib37f379df177d14e9d2781a3ed6335cd9550cc87
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-04 12:10:06 +02:00
Maciej Plewka
a779e44b52
Support for dsh and ssh on external heap in L0
...
Related-To: NEO-4724
Change-Id: I85c2effea8a99bebaf9e3db33129641f37dcabe5
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-08-30 06:56:52 +02:00
Krzysztof Gibala
1c0e2430c5
Add createMultiGraphicsAllocation function in memory_manager
...
Related-To: NEO-4589
Change-Id: I0019437e565c06ac2494630182c4df685487853d
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-08-28 14:24:34 +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
Andrzej Swierczynski
77f50e5444
Always pass device bitfield to AllocationProperties in constructor
...
Related-To: NEO-4722
Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-07-13 09:00:10 +02:00
Mateusz Jablonski
1a1b4b1c26
Extend key to host ptr fragments container
...
use separated entries per root device
Related-To: NEO-3691
Change-Id: I26b85b8852b23e6a4d290da689174c59343536b3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-09 17:10:54 +02:00
Bartosz Dunajski
5c5d4b85e2
Pass HwInfo to setExtraAllocationData
...
Change-Id: Iba5433ca3de5f66ebb5ab4867607ec5fbb1cd464
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-09 12:09:02 +02:00
Mateusz Hoppe
fea4472553
Allocate per-context memory with specific GPU VA
...
Related-To: NEO-4829
Change-Id: I821f6709bfa98df3b51a1c966b7a953752d85f74
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-07 09:14:10 +02:00
Bartosz Dunajski
6dd07bd3bc
Use correct Heap32 index for local memory allocations
...
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-01 17:31:43 +02:00
Mateusz Hoppe
5bd5784559
New AllocationType for debugSurface
...
Related-To: NEO-4797
Change-Id: I851b6cc5b33fb286bea9d175506e932339701f93
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-06-24 16:16:04 +02:00
Bartosz Dunajski
41235346f2
Add debug flag to control MultiStorageResources support
...
Change-Id: I8347989df2249559ca0e4cb69f7f3af3f9a5fe72
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-06-08 11:57:14 +02:00
Bartosz Dunajski
07e5aaa44c
Use HwHelper to set extra AllocationData
...
Change-Id: I29d38b845287c169e538f78da2a7f0e58e589754
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-06-03 09:37:50 +02:00
Maciej Dziuban
639a5a64cd
Add getAllocationDataExtra method
...
Change-Id: I99d9d55bf1b4116d7766f86471f6cd716374be5c
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-05-28 10:18:04 +02:00
Mrozek, Michal
4662183ccc
Revert "Move timestamp packet buffer to system memory."
...
This reverts commit 660dae513e .
Change-Id: Ic14ac0edba62d2401fd1258c263ce55568cfb6da
2020-05-27 08:28:51 +02:00
Michal Mrozek
660dae513e
Move timestamp packet buffer to system memory.
...
Change-Id: I0eb99c5a418d90e5d563d162581c9a382e036b14
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-05-26 17:41:18 +02:00
Dunajski, Bartosz
bd9fe606f2
Revert "Add entry points for memory placement overrides."
...
This reverts commit 997dcd607f .
Change-Id: Id5abadbff302cc1a7ff3d9da9ee62883498e7c22
2020-05-13 09:24:22 +02:00
Bartosz Dunajski
997dcd607f
Add entry points for memory placement overrides.
...
Change-Id: Ie43781dc880b4937cf86441c9c46638e17282111
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-05-12 15:23:07 +02:00
Michal Mrozek
97c5a68e8e
Remove not needed code.
...
Change-Id: I618a8d87668831942720ee714099fe31d9184b7b
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-05-06 15:17:04 +02:00
Zbigniew Zdanowicz
bc9e2e1c6a
Add debug flag to disallow allocation into system memory
...
Related-To: NEO-4338
Change-Id: I2a7aaf12119dc808b416a3ad17b1984fae45e855
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-05-04 10:42:32 +02:00
Michal Mrozek
87dccc2c07
Remove redundant debug flag.
...
- We now have ForceSystemMemoryPlacement to achieve the same.
Change-Id: I84512b0f8b070edbdbd54fdce46a2958afb8ef41
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-04-10 11:37:01 +02:00
Michal Mrozek
23dd6b95ec
Require system memory for command buffers.
...
- Except when they ask for multiOsContext capabilities.
Change-Id: I4589bd48cd6dc7a582c7f3bb7d481874ce576d22
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-04-07 13:53:19 +02:00
Michal Mrozek
7b5778c048
Add debug flag to force system memory placement.
...
-remove not needed Report64BitIdentifier
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
Change-Id: Ic6ae96e2a575a088742f3b08eb40c5b400f93088
2020-04-07 09:53:00 +02:00
Michal Mrozek
f599773c27
Add debug flag to force buffers into system memory.
...
Change-Id: I2040bb9bb9ec719a78f8e93025f3c4f96f952a86
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-03-31 10:30:49 +02:00
Zbigniew Zdanowicz
2dde71fa74
Add flags to control addresing mode of direct submission allocations
...
Related-To: NEO-4338
Change-Id: I40ff0110d0f414a0e2d0167e86d9a148b17a0921
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-03-26 13:05:50 +01:00
Michal Mrozek
7bd910c94b
Require 48 bit for command buffers.
...
Change-Id: I07cc254d7fc5be3d0f0e715d6e397d629d7ff17c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-03-24 10:47:37 +01:00
Igor Venevtsev
2b6fa20e12
Set resource48Bit flag according to GraphicsAllocation::AllocationType
...
Related-To: NEO-2941
Change-Id: Iefb1870280ef60cf6c70c195e1e7d23739f7b427
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2020-03-16 16:47:01 +01:00
Lukasz Jobczyk
e9c576393e
Move hwInfo to root device environment
...
Related-To: NEO-3857
Change-Id: Ic23077cad080a249457cec39462ca7407e75b227
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-03-10 17:13:08 +01:00
Zbigniew Zdanowicz
ad4925aef9
Do not use direct submission in internal and low priority contexts
...
Change-Id: Ifac52dd36737151ea4d84bec95750e1716cafa9a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-03-04 13:12:37 +01:00
Lukasz Jobczyk
c824b2e451
Create local memory bank selector per root device
...
Related-To: NEO-3857
Change-Id: I52a2908715e8f2f9b5d84891bd039b88b3d163ca
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-02-26 11:48:26 +01:00
Mateusz Jablonski
74072d4916
Access GmmHelper and GmmClientContext via RootDeviceEnvironment
...
Related-To: NEO-3857
Change-Id: Ie9d719c9884fd89580ce3592a0d4d4cd42862f47
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-25 12:32:16 +01: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