SWDEV-322620 - Virtual Memory Management
Hooked up the start VA hint address to PAL.
Change-Id: I4301d3eaaabcc85faf63fb25291291dcc3e8ebd1
[ROCm/clr commit: 470c4d7335]
このコミットが含まれているのは:
1 親
3db95d8b68
コミット
b2d02fe704
2ファイル変更
+5
-1
検索条件に一致するファイルはありません
@@ -1,3 +1,3 @@
|
||||
# PAL interface versions
|
||||
PAL_MAJOR_VERSION = 734
|
||||
PAL_MAJOR_VERSION = 761
|
||||
GPUOPEN_MAJOR_VERSION = 42
|
||||
@@ -1255,6 +1255,10 @@ bool Resource::create(MemoryType memType, CreateParams* params, bool forceLinear
|
||||
createInfo.flags.busAddressable = true;
|
||||
} else if (memoryType() == VaRange) {
|
||||
createInfo.flags.virtualAlloc = true;
|
||||
if (params->owner_->getSvmPtr() != nullptr) {
|
||||
createInfo.flags.startVaHintFlag = true;
|
||||
createInfo.startVaHint = reinterpret_cast<Pal::gpusize>(params->owner_->getSvmPtr());
|
||||
}
|
||||
}
|
||||
|
||||
memTypeToHeap(&createInfo);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする