rocr: Remove deprecated queue doubleMap code
This commit is contained in:
committed by
Yat Sin, David
parent
b8434529a5
commit
4bae509296
@@ -209,8 +209,6 @@ KfdDriver::AllocateMemory(const core::MemoryRegion &mem_region,
|
||||
|
||||
kmt_alloc_flags.ui32.ExecuteAccess =
|
||||
(alloc_flags & core::MemoryRegion::AllocateExecutable ? 1 : 0);
|
||||
kmt_alloc_flags.ui32.AQLQueueMemory =
|
||||
(alloc_flags & core::MemoryRegion::AllocateDoubleMap ? 1 : 0);
|
||||
|
||||
if (m_region.IsSystem() &&
|
||||
(alloc_flags & core::MemoryRegion::AllocateNonPaged)) {
|
||||
|
||||
@@ -92,7 +92,7 @@ class MemoryRegion : public Checked<0x9C961F19EE175BB3> {
|
||||
AllocateNoFlags = 0,
|
||||
AllocateRestrict = (1 << 0), // Don't map system memory to GPU agents
|
||||
AllocateExecutable = (1 << 1), // Set executable permission
|
||||
AllocateDoubleMap = (1 << 2), // Map twice VA allocation to backing store
|
||||
AllocateDoubleMap = (1 << 2), // Deprecated:Map twice VA allocation to backing store
|
||||
AllocateDirect = (1 << 3), // Bypass fragment cache.
|
||||
AllocateIPC = (1 << 4), // System memory that can be IPC-shared
|
||||
AllocateNonPaged = (1 << 4), // Non-paged system memory (AllocateIPC alias)
|
||||
|
||||
Reference in New Issue
Block a user