rocr: Remove deprecated queue doubleMap code
[ROCm/ROCR-Runtime commit: 4bae509296]
This commit is contained in:
zatwierdzone przez
Yat Sin, David
rodzic
e84a855c98
commit
b83b8b4535
@@ -209,8 +209,6 @@ KfdDriver::AllocateMemory(const core::MemoryRegion &mem_region,
|
|||||||
|
|
||||||
kmt_alloc_flags.ui32.ExecuteAccess =
|
kmt_alloc_flags.ui32.ExecuteAccess =
|
||||||
(alloc_flags & core::MemoryRegion::AllocateExecutable ? 1 : 0);
|
(alloc_flags & core::MemoryRegion::AllocateExecutable ? 1 : 0);
|
||||||
kmt_alloc_flags.ui32.AQLQueueMemory =
|
|
||||||
(alloc_flags & core::MemoryRegion::AllocateDoubleMap ? 1 : 0);
|
|
||||||
|
|
||||||
if (m_region.IsSystem() &&
|
if (m_region.IsSystem() &&
|
||||||
(alloc_flags & core::MemoryRegion::AllocateNonPaged)) {
|
(alloc_flags & core::MemoryRegion::AllocateNonPaged)) {
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class MemoryRegion : public Checked<0x9C961F19EE175BB3> {
|
|||||||
AllocateNoFlags = 0,
|
AllocateNoFlags = 0,
|
||||||
AllocateRestrict = (1 << 0), // Don't map system memory to GPU agents
|
AllocateRestrict = (1 << 0), // Don't map system memory to GPU agents
|
||||||
AllocateExecutable = (1 << 1), // Set executable permission
|
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.
|
AllocateDirect = (1 << 3), // Bypass fragment cache.
|
||||||
AllocateIPC = (1 << 4), // System memory that can be IPC-shared
|
AllocateIPC = (1 << 4), // System memory that can be IPC-shared
|
||||||
AllocateNonPaged = (1 << 4), // Non-paged system memory (AllocateIPC alias)
|
AllocateNonPaged = (1 << 4), // Non-paged system memory (AllocateIPC alias)
|
||||||
|
|||||||
Reference in New Issue
Block a user