Dont force system memory for pipe and global surface

Related-To: NEO-3127

Change-Id: Iffb1b04401a19043bdb898b7896068bc760f4797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2019-06-19 10:47:03 +02:00
committed by sys_ocldev
parent 4eb870af85
commit d06fcc8599
4 changed files with 36 additions and 12 deletions

View File

@@ -172,8 +172,10 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
static bool isCpuAccessRequired(AllocationType allocationType) {
return allocationType == AllocationType::COMMAND_BUFFER ||
allocationType == AllocationType::CONSTANT_SURFACE ||
allocationType == AllocationType::GLOBAL_SURFACE ||
allocationType == AllocationType::INTERNAL_HEAP ||
allocationType == AllocationType::LINEAR_STREAM ||
allocationType == AllocationType::PIPE ||
allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER;
}
void *getReservedAddressPtr() const {