memory: honor sparse AMM unmaps and restore failed GPU ranges

This commit is contained in:
nmzik committed 2026-10-13 21:33:50 +00:00
1 parent f1577a5a94
commit 259a40abfc
4 files changed
+104 -27

No files matched your search

+1 -1
View File
@@ -1211,7 +1211,7 @@ static int ExecuteCommand(const CommandBufferState::Command& entry) {
const auto& command = *payload;
int result = OK;
if (command.kind == AmmCommandKind::Unmap) {
result = LibKernel::Memory::KernelMunmap(command.va, command.size);
result = LibKernel::Memory::UnmapAmmMemory(command.va, command.size);
} else {
result = ExecuteAmmMapCommand(command);
}