libhsakmt: update HsaPointerInfo for address-only allocated VRAM.

Signed-off-by: Xiaogang Chen<Xiaogang.Chen@amd.com>
Change-Id: Ib88b34dff772997d2b2e5f3c7e333cef3092ef56


[ROCm/ROCR-Runtime commit: 11ac57d293]
This commit is contained in:
Xiaogang Chen
2022-10-31 22:06:28 -05:00
committed by Xiaogang Chen
parent a7ccb14b9c
commit 038916c727
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -339,6 +339,9 @@ static void analysis_memory_exception(struct kfd_hsa_memory_exception_data *
pr_err("Memory is allocated using hsaKmtAllocMemory\n");
pr_err("CPU address of the memory is %p\n", info.CPUAddress);
break;
case HSA_POINTER_RESERVED_ADDR:
pr_err("Memory is allocated by OnlyAddress mode\n");
break;
default:
pr_err("Invalid memory type %d\n", info.Type);
break;