Add MMIO_REMAP heap type
Add a MMIO_REMAP heap type and expose mmio virtual address through HsaKmtGetNodeMemoryProperties Change-Id: I1e585e6dfbec8fa7c85f1dda7b89b763a8e2c439 Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
This commit is contained in:
@@ -316,6 +316,7 @@ typedef enum _HSA_HEAPTYPE
|
||||
HSA_HEAPTYPE_GPU_LDS = 4, // GPU internal memory (LDS)
|
||||
HSA_HEAPTYPE_GPU_SCRATCH = 5, // GPU special memory (scratch)
|
||||
HSA_HEAPTYPE_DEVICE_SVM = 6, // sys-memory mapped by device page tables
|
||||
HSA_HEAPTYPE_MMIO_REMAP = 7, // remapped mmio, such as hdp flush registers
|
||||
|
||||
HSA_HEAPTYPE_NUMHEAPTYPES,
|
||||
HSA_HEAPTYPE_SIZE = 0xFFFFFFFF
|
||||
|
||||
Reference in New Issue
Block a user