libhsakmt: add NodeId at HsaGraphicsResourceInfo.

Return GPU NodeId that exported the DMA buffer from amdgpu graphic driver
at fmm_register_graphics_handle.

Signed-off-by: Xiaogang Chen<Xiaogang.Chen@amd.com>
Change-Id: Iaeccce6e6d0b7e27f10b15ed89d1b5310d03d44b
This commit is contained in:
Xiaogang Chen
2022-10-31 22:43:36 -05:00
committed by Xiaogang Chen
parent 989c6c617c
commit 9bebb276be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -607,7 +607,7 @@ typedef struct _HsaGraphicsResourceInfo {
HSAuint64 SizeInBytes; // Buffer size
const void *Metadata; // Pointer to metadata owned by Thunk
HSAuint32 MetadataSizeInBytes; // Size of metadata
HSAuint32 Reserved; // Reserved for future use, will be set to 0
HSAuint32 NodeId; // GPU exported the buffer
} HsaGraphicsResourceInfo;
typedef enum _HSA_CACHING_TYPE