libhsakmt: add RAS support v2

RAS feature enabling bit and errors return are implemented in
existed topology and event mechanism.

v2: change library interface.

Change-Id: I75807c080b5b26e8115240b05b3d7016cb05a31a
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>


[ROCm/ROCR-Runtime commit: 8ee93b3187]
此提交包含在:
Eric Huang
2018-12-04 14:06:03 -05:00
提交者 JinHuiEric Huang
父節點 c0fa8baec2
當前提交 616392b642
共有 3 個檔案被更改,包括 16 行新增4 行删除
+5 -1
查看文件
@@ -285,7 +285,11 @@ struct kfd_hsa_memory_exception_data {
struct kfd_memory_exception_failure failure;
__u64 va;
__u32 gpu_id;
__u32 pad;
__u32 ErrorType; /* 0 = no RAS error,
1 = ECC_SRAM,
2 = Link_SYNFLOOD (poison),
3 = GPU hang (not attributable to a specific cause),
other values reserved */
};
/* hw exception data */