SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled

Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413
Esse commit está contido em:
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2023-01-12 23:34:21 -05:00
1 pai 4d49204fb9
commit 710749c291
1 file changed
+1
+1
Ver Arquivo
@@ -805,6 +805,7 @@ bool Buffer::create(bool alloc_local) {
if (owner()->getSvmPtr() == reinterpret_cast<void*>(amd::Memory::MemoryType
::kArenaMemoryPtr)) {
kind_ = MEMORY_KIND_ARENA;
flags_ |= HostMemoryDirectAccess;
} else {
kind_ = MEMORY_KIND_PTRGIVEN;
}