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]
This commit is contained in:
Eric Huang authored and JinHuiEric Huang committed 2018-12-13 10:17:12 -05:00
1 parent c0fa8baec2
commit 616392b642
3 files changed
+16 -4

No files matched your search

@@ -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 */