SWDEV-322620 - Virtual Memory Management

Implement map/unmap for PAL backend
Create commands since PAL uses the IQueue to map/unmap

Change-Id: I97e26a7d28ae5e10774c9ca65307153100945621
This commit is contained in:
Christophe Paquot authored and Christophe Paquot committed 2022-04-22 18:09:26 -04:00
1 vanhempi ddfd919a62
commit 67657d6099
8 files changed
+69 -53

No files matched your search

-9
Näytä tiedosto
@@ -2287,15 +2287,6 @@ void Device::virtualFree(void* addr)
{
}
void Device::virtualMap(void* addr, amd::Memory& mem, size_t size)
{
}
void Device::virtualUnmap(void* addr, size_t size)
{
}
// ================================================================================================
bool Device::SetSvmAttributesInt(const void* dev_ptr, size_t count,
amd::MemoryAdvice advice, bool first_alloc, bool use_cpu) const {