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
2025-11-29 04:33:50 +08:00
committed by Flora Cui
parent 0761dd0146
commit 6bb933f820
2 changed files with 11 additions and 0 deletions
+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;