mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Allow to allocate shareable graphics allocation
Change-Id: I284b03b001e5b67c344d46f34048803ef9a57314 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
f6757c02a4
commit
1e011f9a08
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user