Revert "Enforce uncached memory on AllocatePCIeRW request"

This reverts commit ed0a1be2c3.

Change-Id: I5a7fe9e99685f589f95dd89eacf04d44e5587f2f
Este commit está contenido en:
David Yat Sin
2023-02-22 16:06:15 +00:00
padre cc48dfdbff
commit 37b5b421b3
@@ -190,7 +190,6 @@ hsa_status_t MemoryRegion::AllocateImpl(size_t& size, AllocateFlags alloc_flags,
// Allocate pseudo fine grain memory
kmt_alloc_flags.ui32.CoarseGrain = (alloc_flags & AllocatePCIeRW ? 0 : kmt_alloc_flags.ui32.CoarseGrain);
kmt_alloc_flags.ui32.Uncached = (alloc_flags & AllocatePCIeRW ? 1 : kmt_alloc_flags.ui32.Uncached);
// Only allow using the suballocator for ordinary VRAM.
if (IsLocalMemory()) {