[Memory] Preallocate whole physical range for GPU.
Seems like GPU has direct access to whole RAM and can request anything. Removed check for page access as all pages are now available for gpu
This commit is contained in:
@@ -451,6 +451,8 @@ uint32_t xeMmAllocatePhysicalMemoryEx(uint32_t flags, uint32_t region_size,
|
||||
adjusted_alignment, allocation_type, protect, top_down,
|
||||
&base_address)) {
|
||||
// Failed - assume no memory available.
|
||||
XELOGW("MmAllocatePhysicalMemoryEx: Allocation failed: {:08X} Size: {:08X}",
|
||||
base_address, adjusted_size);
|
||||
return 0;
|
||||
}
|
||||
XELOGD("MmAllocatePhysicalMemoryEx = {:08X} Size: {:08X}", base_address,
|
||||
|
||||
Reference in New Issue
Block a user