Allow to allocate shareable graphics allocation

Change-Id: I284b03b001e5b67c344d46f34048803ef9a57314
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2018-12-20 07:43:57 +00:00
committed by sys_ocldev
parent f6757c02a4
commit 1e011f9a08
11 changed files with 93 additions and 19 deletions

View File

@@ -45,7 +45,8 @@ struct AllocationProperties {
uint32_t flushL3RequiredForWrite : 1;
uint32_t forcePin : 1;
uint32_t uncacheable : 1;
uint32_t reserved : 27;
uint32_t shareable : 1;
uint32_t reserved : 26;
} flags;
uint32_t allFlags = 0;
};
@@ -201,7 +202,8 @@ class MemoryManager {
uint32_t uncacheable : 1;
uint32_t flushL3 : 1;
uint32_t preferRenderCompressed : 1;
uint32_t reserved : 23;
uint32_t shareable : 1;
uint32_t reserved : 22;
} flags;
uint32_t allFlags = 0;
};