librocdxg: Add drm metadata related interface

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
This commit is contained in:
Horatio Zhang authored and Flora Cui committed 2025-12-01 14:29:13 +08:00
1 parent 0761dd0146
commit 6bb933f820
2 files changed
+11

No files matched your search

+9
View File
@@ -100,6 +100,7 @@ HSAKMTAPI int amdgpu_bo_export(amdgpu_bo_handle bo,
*shared_handle = 0;
return 0;
}
HSAKMTAPI int amdgpu_bo_import(amdgpu_device_handle dev,
enum amdgpu_bo_handle_type type,
uint32_t shared_handle,
@@ -167,6 +168,14 @@ HSAKMTAPI int amdgpu_bo_va_op(amdgpu_bo_handle bo,
return 0;
}
HSAKMTAPI int amdgpu_bo_query_info(amdgpu_bo_handle bo, struct amdgpu_bo_info* info) {
return 0;
}
HSAKMTAPI int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, struct amdgpu_bo_metadata* info) {
return 0;
}
HSAKMTAPI int drmCommandWriteRead(int fd, unsigned long drmCommandIndex,
void *data, unsigned long size) {
return 0;
+2
View File
@@ -103,6 +103,8 @@ amdgpu_device_get_fd;
amdgpu_bo_cpu_map;
amdgpu_bo_free;
amdgpu_bo_export;
amdgpu_bo_query_info;
amdgpu_bo_set_metadata;
drmCommandWriteRead;
local: *;